Package com.microstrategy.web.objects
Class RWOfflineTransactionImpl
- java.lang.Object
-
- com.microstrategy.web.objects.RWOfflineTransactionImpl
-
- All Implemented Interfaces:
RWOfflineTransaction
public class RWOfflineTransactionImpl extends java.lang.Object implements RWOfflineTransaction
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.microstrategy.web.objects.RWOfflineTransaction
RWOfflineTransaction.RunningType
-
-
Constructor Summary
Constructors Constructor Description RWOfflineTransactionImpl(WebObjectsFactory factory)
RWOfflineTransactionImpl(WebObjectsFactory factory, java.lang.String key)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCSIPlainText()
Get CSI plain textRWOfflineTransaction.RunningType
getCurrentType()
Get current running modeWebExpression
getExpression()
java.lang.String
getKey()
int
getManipulationMethod()
Get manipulation method.java.lang.String
getNodeKey()
Get node key valueWebTokenStream
getTokenStream()
Get the token stream for this offline transaction.void
remove(RWManipulation rwManipulator)
void
save(RWManipulation rwManipulator)
Save the offline transaction.void
setCSIPlainText(java.lang.String csiPlainText)
void
setCurrentType(RWOfflineTransaction.RunningType currentType)
void
setExpression(WebExpression expression)
void
setKey(java.lang.String key)
void
setManipulationMethod(int manipulationMethod)
void
setNodeKey(java.lang.String nodeKey)
void
setTokenStream(WebTokenStream tokenStream)
boolean
shouldValidateBeforeSave()
boolean
validate(RWManipulation rwManipulator)
Validate the offline transaction.
-
-
-
Constructor Detail
-
RWOfflineTransactionImpl
public RWOfflineTransactionImpl(WebObjectsFactory factory, java.lang.String key)
-
RWOfflineTransactionImpl
public RWOfflineTransactionImpl(WebObjectsFactory factory)
-
-
Method Detail
-
getKey
public java.lang.String getKey()
- Specified by:
getKey
in interfaceRWOfflineTransaction
-
setKey
public void setKey(java.lang.String key)
-
getExpression
public WebExpression getExpression()
- Specified by:
getExpression
in interfaceRWOfflineTransaction
-
setExpression
public void setExpression(WebExpression expression)
-
getTokenStream
public WebTokenStream getTokenStream()
Description copied from interface:RWOfflineTransaction
Get the token stream for this offline transaction.- Specified by:
getTokenStream
in interfaceRWOfflineTransaction
- Returns:
- token stream
-
setTokenStream
public void setTokenStream(WebTokenStream tokenStream)
-
getCSIPlainText
public java.lang.String getCSIPlainText()
Description copied from interface:RWOfflineTransaction
Get CSI plain text- Specified by:
getCSIPlainText
in interfaceRWOfflineTransaction
- Returns:
- plain text
-
setCSIPlainText
public void setCSIPlainText(java.lang.String csiPlainText)
-
getCurrentType
public RWOfflineTransaction.RunningType getCurrentType()
Description copied from interface:RWOfflineTransaction
Get current running mode- Specified by:
getCurrentType
in interfaceRWOfflineTransaction
- Returns:
- current running type
-
setCurrentType
public void setCurrentType(RWOfflineTransaction.RunningType currentType)
-
getNodeKey
public java.lang.String getNodeKey()
Description copied from interface:RWOfflineTransaction
Get node key value- Specified by:
getNodeKey
in interfaceRWOfflineTransaction
- Returns:
- node key
-
setNodeKey
public void setNodeKey(java.lang.String nodeKey)
-
getManipulationMethod
public int getManipulationMethod()
Description copied from interface:RWOfflineTransaction
Get manipulation method.- Specified by:
getManipulationMethod
in interfaceRWOfflineTransaction
- Returns:
- manipulation method from
EnumDSSXMLRWManipulationMethod
-
setManipulationMethod
public void setManipulationMethod(int manipulationMethod)
-
shouldValidateBeforeSave
public boolean shouldValidateBeforeSave()
-
save
public void save(RWManipulation rwManipulator) throws WebObjectsException
Description copied from interface:RWOfflineTransaction
Save the offline transaction.- Specified by:
save
in interfaceRWOfflineTransaction
- Throws:
WebObjectsException
-
remove
public void remove(RWManipulation rwManipulator) throws WebObjectsException
- Throws:
WebObjectsException
-
validate
public boolean validate(RWManipulation rwManipulator) throws WebObjectsException
Description copied from interface:RWOfflineTransaction
Validate the offline transaction.- Specified by:
validate
in interfaceRWOfflineTransaction
- Returns:
- whether the validation successful.
- Throws:
WebObjectsException
-
-