com.microstrategy.web.objects.WebSourceManipulator |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
addBulkMergeFromFile(String filePath)
Open a delta file and apply its contents to the current project
| ||||||||||
abstract void |
addBulkMergeFromFile(String filePath, boolean useFileRules)
Open a delta file and apply its contents to the current project
| ||||||||||
abstract void |
addCreateUndoFile(String sourceFileName, String undoFileName)
Create an undo file for a package
| ||||||||||
abstract void |
applyDeltaPackage(InputStream deltaPackage, long dataLength)
Applies an first class binary representation on the current session's
project
| ||||||||||
abstract byte[] |
createObjectDeltaPackage(WebObjectInfo[] objects, int conflictDomain, int conflictParts, int conflictResolution)
Returns a binary package for a first class object that can be applied onto
another MicroStrategy Project.
| ||||||||||
abstract byte[] |
createObjectDeltaPackage(String objectID, int type, int conflictDomain, int conflictParts, int conflictResolution)
Returns a binary package for a first class object that can be applied onto
another MicroStrategy Project.
| ||||||||||
abstract byte[] |
createObjectDeltaPackage(WebObjectInfo[] objects, ObjectDeltaFlags[] objDeltaFlags)
Returns a binary package for a first class object that can be applied onto another MicroStrategy Project.
| ||||||||||
abstract byte[] |
createUndoPackageClientToClient(InputStream data, long dataLength)
Create a undo package saved at client side, and the source file is at client side.
| ||||||||||
abstract void |
createUndoPackageClientToServer(InputStream data, long dataLength, String undoFilePath)
Create a undo package saved at server side, and the source file is at client side
| ||||||||||
abstract byte[] |
createUndoPackageServerToClient(String sourceFilePath)
Create a undo package saved at client side, and the source file is at server side.
| ||||||||||
abstract void |
createUndoPackageServerToServer(String sourceFilePath, String undoFilePath)
Create a undo package saved at server side, and the source file is at server side.
| ||||||||||
abstract int |
getACLConflictRule()
Get the value of acl conflict rule
| ||||||||||
abstract int |
getFlag()
Get the value of manipulation flag
| ||||||||||
abstract int |
getInheritACL()
Get the value of inherit acl
| ||||||||||
abstract void |
invoke()
Invoke manipulator to execute tasks defined in addBulkMergeFromFile
| ||||||||||
abstract void |
reset()
Clear task list for manipulator
| ||||||||||
abstract void |
setACLConflictRule(int _aclConflictRule)
Set the acl conflict rule (
EnumDSSXMLConflictResolution )
TQMS 784074, adding ACL options to Web API when adding a package. | ||||||||||
abstract void |
setFlag(int flag)
Set the manipulation flag
| ||||||||||
abstract void |
setInheritACL(int acl)
Set the inherit acl (
EnumDSSXMLSourceManipulatorInheritACL )
TQMS 784074, adding ACL options to Web API when adding a package. | ||||||||||
abstract void |
updateSchema()
Update the schema for the current project
| ||||||||||
abstract void |
updateSchema(int flag)
Update the schema for the current project
|
Open a delta file and apply its contents to the current project
filePath | The file to be read |
---|
Open a delta file and apply its contents to the current project
filePath | The file to be read |
---|---|
useFileRules | Indicates whether we use rules contained in file |
Create an undo file for a package
undoFileName | The name of the generated undo file |
---|
Applies an first class binary representation on the current session's project
deltaPackage | The object's binary representation |
---|---|
dataLength | The length of the package's InputStream |
WebObjectsException |
---|
Returns a binary package for a first class object that can be applied onto another MicroStrategy Project.
objects | An array of WebObjectInfo items to include in the package |
---|---|
conflictDomain | The EnumDSSXMLConflictDomain for conflict resolution |
conflictParts | The EnumDSSXMLObjectFlags to indicate the object flags to be included in the resolution |
conflictResolution | The EnumDSSXMLConflictResolution rule to apply |
IllegalArgumentException | |
---|---|
WebObjectsException |
Returns a binary package for a first class object that can be applied onto another MicroStrategy Project.
objectID | The DSSID of the object to package |
---|---|
type | The EnumDSSXMLObjectTypes type of the object |
conflictDomain | The EnumDSSXMLConflictDomain for conflict resolution |
conflictParts | The EnumDSSXMLObjectFlags to indicate the object flags to be included in the resolution |
conflictResolution | The EnumDSSXMLConflictResolution rule to apply |
IllegalArgumentException | |
---|---|
WebObjectsException |
Returns a binary package for a first class object that can be applied onto another MicroStrategy Project.
objects | An array of WebObjectInfo items to include in the package |
---|---|
objDeltaFlags | An array of ObjectDeltaFlags to define multiple level conflict resolution to apply in the package |
IllegalArgumentException | |
---|---|
WebObjectsException |
Create a undo package saved at client side, and the source file is at client side.
data | The inputStream of source file |
---|---|
dataLength | The length of data |
WebObjectsException |
---|
Create a undo package saved at server side, and the source file is at client side
data | The inputStream of source file |
---|---|
dataLength | The length of data |
undoFilePath | The path of undo package saved at server side. |
WebObjectsException |
---|
Create a undo package saved at client side, and the source file is at server side.
sourceFilePath | The path of source file at server side. |
---|
WebObjectsException |
---|
Create a undo package saved at server side, and the source file is at server side.
sourceFilePath | The path of source file at server side. |
---|---|
undoFilePath | The path of undo package saved at server side. |
WebObjectsException |
---|
Get the value of acl conflict rule
Get the value of manipulation flag
Get the value of inherit acl
Invoke manipulator to execute tasks defined in addBulkMergeFromFile
WebObjectsException | Thrown if an error occurs. |
---|
Clear task list for manipulator
Set the acl conflict rule (EnumDSSXMLConflictResolution
)
TQMS 784074, adding ACL options to Web API when adding a package.
Set the manipulation flag
Set the inherit acl (EnumDSSXMLSourceManipulatorInheritACL
)
TQMS 784074, adding ACL options to Web API when adding a package.
Update the schema for the current project
WebObjectsException | Thrown if an error occurs. |
---|
Update the schema for the current project
flag | Flags which part of the schema should be updated, from EnumDSSSourceManipulationSchema . |
---|
WebObjectsException | Thrown if an error occurs. |
---|