public class DocumentManagement_JAXWS extends Object
Constructor and Description |
---|
DocumentManagement_JAXWS() |
Modifier and Type | Method and Description |
---|---|
void |
addFavorite(long nodeID)
Add a Favorite for the given object.
|
Version |
addMajorVersion(long ID,
Metadata metadata,
Attachment attach)
Add a major version to a node which uses advanced versioning.
|
String |
addMajorVersionContext(long ID,
Metadata metadata)
Store the meta-data for adding a major version to a node which uses advanced versioning in a method context on the server.
|
void |
addNodeRight(long ID,
NodeRight nodeRight)
Adds a right to a node.
|
void |
addToCollection(long collectionID,
CollectionItem[] collectionItems)
Adds items to a collection.
|
Version |
addVersion(long ID,
Metadata metadata,
Attachment attach)
Add a version to a node; if node uses advanced versioning, a minor version will be added.
|
String |
addVersionContext(long ID,
Metadata metadata)
Store the meta-data for adding a version to a node in a method context on the server; if node uses advanced versioning, a minor version will be added.
|
Node |
copyNode(long ID,
long parentID,
String newName,
CopyOptions copyOptions)
Copies a node.
|
Node |
createCategory(long parentID,
String name,
String comment,
Attribute[] attributes,
Metadata metadata)
Create a new category.
|
Node |
createDocument(long parentID,
String name,
String comment,
boolean advancedVersionControl,
Metadata metadata,
Attachment attach)
Create a new document with the contents of the document
|
String |
createDocumentContext(long parentID,
String name,
String comment,
boolean advancedVersionControl,
Metadata metadata)
Store the meta-data for creating a new document in a method context on the server.
|
Node |
createFolder(long parentID,
String name,
String comment,
Metadata metadata)
Create a new folder.
|
Node |
createNode(Node node)
Create a node.
|
Node |
createNodeAndVersion(Node node,
Attachment attach)
Create a (versionable) node with provided content as initial version.
|
String |
createNodeAndVersionContext(Node node)
Store the meta-data for creating a (versionable) node in a method context on the server.
|
CompoundDocRelease |
createRelease(long ID,
boolean major,
String releaseName)
Create a CompoundDoc release.
|
Version |
createRendition(long nodeID,
long versionNum,
String renditionType,
Attachment attach)
Create a rendition of a document version.
|
String |
createRenditionContext(long nodeID,
long versionNum,
String renditionType)
Store the meta-data for creating a rendition of a document version in a method context on the server.
|
Node |
createShortcut(long parentID,
String name,
String comment,
long sourceID,
Metadata metadata)
Creates a shortcut to an object in Content Server.
|
long |
createSimpleDocument(long parentID,
String name,
Attachment attach)
Creates a simple document.
|
String |
createSimpleDocumentContext(long parentID,
String name)
Stores the meta-data for creating a new simple document in a method context on the server.
|
long |
createSimpleFolder(long parentID,
String name)
Creates a simple folder.
|
Node |
createURL(long parentID,
String name,
String comment,
String location,
Metadata metadata)
Create a new URL.
|
void |
deleteNode(long ID)
Delete a node.
|
void |
deleteRelease(long ID,
long major,
long minor)
Delete a release.
|
void |
deleteRendition(long nodeID,
long versionNum,
String renditionType)
Delete a rendition of a document version.
|
void |
deleteVersion(long ID,
long versionNum)
Delete a version.
|
Node[] |
getAllFavorites()
Get all of the user's Favorites.
|
MultilingualMetadata[] |
getAllMultilingualMetadata(long nodeID)
Gets a list of all multilingual metadata for a node.
|
AttributeGroupDefinition |
getAttributeGroupDefinition(String type,
String key)
Get AttributeGroupDefinition for given type and key.
|
AttributeGroup |
getAttributeGroupTemplate(String type,
String key)
Get default AttributeGroup values for Attribute Group of given type and key.
|
AttributeGroupDefinition |
getCategoryDefinition(long categoryID)
Get AttributeGroupDefinition object for category ID.
|
AttributeGroupDefinition[] |
getCategoryDefinitions(long[] categoryIDs)
Get a list of AttributeGroupDefinition objects for the list of category IDs.
|
CategoryInheritance[] |
getCategoryInheritance(long nodeID)
Gets the inheritability of the categories on the specified node.
|
AttributeGroup |
getCategoryTemplate(long categoryID)
Get default AttributeGroup values for category ID.
|
MetadataLanguage[] |
getMetadataLanguages()
Gets the list of enabled metadata languages.
|
MultilingualMetadata[] |
getMultilingualMetadata(long nodeID,
String[] languageCodes)
Gets the multilingual metadata for a node in the specified languages.
|
Node |
getNode(long ID)
Get node object.
|
NodeAuditRecord[] |
getNodeAuditRecords(long ID)
Get the list of audit records for a node.
|
Node |
getNodeByGUID(String guid)
Retrieves a node by its GUID.
|
Node |
getNodeByName(long parentID,
String name)
Get a node by parent ID and name.
|
Node |
getNodeByNickname(String nickname)
Get a node by its nickname.
|
Node |
getNodeByPath(long rootID,
String[] pathElements)
Get a node by root ID and path.
|
String |
getNodeGUID(long nodeID)
Retrieves the GUID for a node.
|
NodeRights |
getNodeRights(long ID)
Get the set of rights for a node.
|
Node[] |
getNodes(long[] IDs)
Get node objects.
|
Node[] |
getNodesByNickname(String[] nicknames)
Get a list of nodes given a list of nicknames.
|
Node[] |
getNodesInContainer(long containerID,
GetNodesInContainerOptions options)
Gets nodes that are in the provided container.
|
Node |
getNodeTemplate(long parentID,
String nodeType)
Gets a template of a node for subsequent creation using CreateNode.
|
String[] |
getNodeTypes()
Gets a list of node types.
|
PagedNodeAuditData |
getPagedNodeAuditData(long ID,
PageHandle pageHandle)
Get the list of audit records for a node, page by page.
|
CompoundDocRelease |
getRelease(long ID,
long major,
long minor)
Get a release.
|
Attachment |
getRenditionContents(long nodeID,
long versionNum,
String renditionType)
Retrieve a rendition's file contents.
|
String |
getRenditionContentsContext(long nodeID,
long versionNum,
String renditionType)
Store the meta-data for getting a rendition's file contents in a method context on the server.
|
Node |
getRootNode(String rootType)
Get a root node by root node type, one of 'EnterpriseWS', 'PersonalWS', 'CategoriesWS', 'ReportsWS', 'System'.
|
String[] |
getRootNodeTypes()
Gets a list of all root node types that are available.
|
Version |
getVersion(long ID,
long versionNum)
Get version object.
|
Version |
getVersionByGUID(String guid)
Retrieves a version by its GUID.
|
Attachment |
getVersionContents(long ID,
long versionNum)
Get version's contents.
|
String |
getVersionContentsContext(long ID,
long versionNum)
Store the meta-data for getting a version's contents in a method context on the server.
|
String |
getVersionGUID(long nodeID,
long versionNumber)
Retrieves the GUID for a specific version of a node.
|
Node[] |
listNodes(long parentID,
boolean partialData)
Get list of child nodes.
|
NodePageResult |
listNodesByPage(long parentID,
NodePageSpecification pageSpec)
Get a page of child nodes.
|
Node[] |
listReferences(long ID)
Get list of () nodes which reference specified node.
|
CompoundDocRelease[] |
listReleases(long ID)
List all releases of compound document node.
|
Version[] |
listRenditions(long nodeID,
long versionNum)
Get a list of renditions for the specified node version.
|
void |
lockRelease(long ID,
long major,
long minor)
Lock a release.
|
void |
lockVersion(long ID,
long versionNum)
Lock a version.
|
void |
moveNode(long ID,
long parentID,
String newName,
MoveOptions moveOptions)
Moves a node to a new destination.
|
Version |
promoteVersion(long ID,
long versionNum,
Metadata metadata)
Promote a version.
|
void |
purgeVersions(long ID,
int numberToKeep)
Purge node versions.
|
void |
rearrangeNodes(long ID,
NodePosition[] positions)
Rearrange the positions of child nodes within a Compound Document.
|
void |
removeFavorite(long nodeID)
Remove the Favorite, if any, for the given object.
|
void |
removeFromCollection(long collectionID,
CollectionItem[] collectionItems)
Removes items from a collection.
|
void |
removeNodeRight(long ID,
NodeRight nodeRight)
Removes a right from a node.
|
void |
renameNode(long ID,
String newName)
Rename node object.
|
void |
repositionNode(long ID,
long position)
Change the position of a node object within a Compound Document.
|
void |
reserveNode(long ID,
Long userID)
Reserve node object.
|
ReportResult |
runReport(long reportID,
DataValue[] inputs)
Runs a LiveReport.
|
void |
setCategoryInheritance(long nodeID,
CategoryInheritance[] categoryInheritanceObjs)
Sets the inheritability of the categories on the specified node.
|
void |
setNodeMetadata(long nodeID,
Metadata metadata)
Sets the metadata for a node.
|
void |
setNodeRights(long ID,
NodeRights rights)
Set the rights for a node.
|
void |
unlockRelease(long ID,
long major,
long minor)
Unlock a release.
|
void |
unlockVersion(long ID,
long versionNum)
Unlock a version.
|
void |
unreserveNode(long ID)
Reserve node object.
|
AttributeGroupDefinition |
updateCategory(long categoryID,
Attribute[] attributes)
Update a Category's attribute definition list (create a new version of the Category).
|
void |
updateMultilingualMetadata(long nodeID,
MultilingualMetadata[] metadata)
Updates a node's multilingual metadata for the languages given.
|
void |
updateNode(Node node)
Update node's properties.
|
void |
updateNodeRight(long ID,
NodeRight nodeRight)
Updates a right for a node.
|
NodeRightUpdateInfo |
updateNodeRights(ChunkedOperationContext context)
A chunked method used to update the rights of a node and optionally its children.
|
ChunkedOperationContext |
updateNodeRightsContext(long nodeID,
RightOperation operation,
NodeRight[] rights,
RightPropagation propagation)
Create the context to be used by UpdateNodeRights() to complete its operation over a series of method calls.
|
void |
updateVersion(Version version)
Update a version (Comment and MimeType are the only modifiable properties).
|
CategoryItemsUpgradeInfo |
upgradeCategoryItems(ChunkedOperationContext context)
A chunked method used to upgrade nodes to the latest version of a category definition.
|
ChunkedOperationContext |
upgradeCategoryItemsContext(long categoryID,
long version,
boolean addVersion)
Used with UpgradeCategoryItems() to upgrade nodes to the latest version of a category definition.
|
public void addFavorite(long nodeID)
nodeID
- ID of the node for the Favorite.public Version addMajorVersion(long ID, Metadata metadata, Attachment attach)
ID
- ID of the node.metadata
- New metadata for the version; null if no changes.fileAtts
- Description of the file uploaded as the initial version content, null if no changesinStream
- Contentspublic String addMajorVersionContext(long ID, Metadata metadata)
ID
- ID of the node.metadata
- New metadata for the version; null if no changes.public void addNodeRight(long ID, NodeRight nodeRight)
ID
- The ID of the node to add a right to.nodeRight
- The node right to add.SoapFaultException
- with fault codes:public void addToCollection(long collectionID, CollectionItem[] collectionItems)
collectionID
- The ID of the collection to add to.collectionItems
- The list of items to add to the collection.SoapFaultException
- with fault codes:public Version addVersion(long ID, Metadata metadata, Attachment attach)
ID
- ID of the nodemetadata
- New metadata for the version; null if no changes.fileAtts
- Description of the file uploaded as the initial version content, null if no changesinStream
- Contentspublic String addVersionContext(long ID, Metadata metadata)
ID
- ID of the nodemetadata
- New metadata for the version; null if no changes.public Node copyNode(long ID, long parentID, String newName, CopyOptions copyOptions)
ID
- the ID of the node to be copied.parentID
- the parent ID of the destination for the new node.newName
- the name for the new node. If null the copied node will inherit the original node's name (including all multilingual names).copyOptions
- the option flags for how the copy operation will be performed. NOTE: values set in CopyOptions for: CopyCurrent, CurrentUserAsOwner, KeepVersionLocks and KeepReservedState will not be respected on the server. The latter two (KeepVersionLocks, KeepReservedState) will both be set to FALSE. This is because the behaviour of CopyNode has to be consistent with that of the normal UI (Content Server web interface).SoapFaultException
- with fault codes:public Node createCategory(long parentID, String name, String comment, Attribute[] attributes, Metadata metadata)
parentID
- ParentID of node in which the new category will be created.name
- Name of the category.comment
- Description of the category.attributes
- The array of attributes, in order, which comprise the category.metadata
- Metadata for the category, or null to inherit parent's metadata.public Node createDocument(long parentID, String name, String comment, boolean advancedVersionControl, Metadata metadata, Attachment attach)
parentID
- ParentID of node in which the new document will be createdname
- Name of the document.comment
- Description of the document.advancedVersionControl
- Indicates Major/Minor versioning for document.metadata
- Metadata for the document (such as Categories, External Attributes, etc.), or null to inherit parent's metadata. NOTE: Use DocMan.GetAttributeGroupTemplate( 'ExternalAtt', 'ExternalAtt') to retrieve an AttributeGroup template with the External Attribute fields.fileAtts
- Description of the file uploaded as the initial version content.inStream
- Contentspublic String createDocumentContext(long parentID, String name, String comment, boolean advancedVersionControl, Metadata metadata)
parentID
- ParentID of node in which the new document will be createdname
- Name of the document.comment
- Description of the document.advancedVersionControl
- Indicates Major/Minor versioning for document.metadata
- Metadata for the document, or null to inherit parent's metadata.public Node createFolder(long parentID, String name, String comment, Metadata metadata)
parentID
- ParentID of node in which the new folder will be created.name
- Name of the folder.comment
- Description of the folder.metadata
- Metadata for the folder, or null to inherit parent's metadata.public Node createNode(Node node)
node
- Node to be created.public Node createNodeAndVersion(Node node, Attachment attach)
node
- Node to be created.fileAtts
- Description of the file uploaded as the initial version content.inStream
- Contentspublic String createNodeAndVersionContext(Node node)
node
- Node to be created.public CompoundDocRelease createRelease(long ID, boolean major, String releaseName)
ID
- ID of the CompoundDoc node from which to make release.major
- Boolean indicating if major release or minor release (aka revision).releaseName
- Name of new release (specify null to use default name).public Version createRendition(long nodeID, long versionNum, String renditionType, Attachment attach)
nodeID
- ID of the document node containing the version to be renditioned.versionNum
- The version number of the version to be renditioned.renditionType
- The identifier of the type of rendition (for example, PDF, EPS, TXT). Must be unique for this version.fileAtts
- Information about the uploaded file.inStream
- The content stream of the file.public String createRenditionContext(long nodeID, long versionNum, String renditionType)
nodeID
- ID of the document node containing the version to be renditioned.versionNum
- The version number of the version to be renditioned.renditionType
- The identifier of the type of rendition (for example, PDF, EPS, TXT). Must be unique for this version.public Node createShortcut(long parentID, String name, String comment, long sourceID, Metadata metadata)
parentID
- The ID of the parent object to create the shortcut in.name
- The name of the shortcut, or null to inherit the source object's name.comment
- The description of the shortcut, or null to inherit the source object's description.sourceID
- The ID of the source object to create the shortcut to.metadata
- The metadata for the shortcut, or null to inherit parent's metadata.public long createSimpleDocument(long parentID, String name, Attachment attach)
parentID
- The ID of the parent object to create the document in.name
- The name of the document.fileAtts
- A description of the file uploaded as the initial version content.inStream
- The document contents.public String createSimpleDocumentContext(long parentID, String name)
parentID
- The ID of the parent object to create the document in.name
- The name of the document.public long createSimpleFolder(long parentID, String name)
parentID
- The ID of the parent object to create the folder in.name
- The name of the folder to create.public Node createURL(long parentID, String name, String comment, String location, Metadata metadata)
parentID
- ParentID of node in which the new URL will be created.name
- Name of the URL.comment
- Description of the URL.location
- Location that the URL points to.metadata
- Metadata for the URL, or null to inherit parent's metadata.public void deleteNode(long ID)
ID
- ID of the node to be deleted.public void deleteRelease(long ID, long major, long minor)
ID
- ID of the compound doc whose release is to be deleted.major
- Major number of the release to delete.minor
- Minor number of the release to delete.public void deleteRendition(long nodeID, long versionNum, String renditionType)
nodeID
- ID of the document node containing the target version.versionNum
- The version number of the target version.renditionType
- The identifier of the type of rendition (for example, PDF, EPS, TXT).public void deleteVersion(long ID, long versionNum)
ID
- ID of the node from which version is to be deleted.versionNum
- Version number of the version to delete.public Node[] getAllFavorites()
public MultilingualMetadata[] getAllMultilingualMetadata(long nodeID)
nodeID
- The ID of the node to get the metadata from.public AttributeGroupDefinition getAttributeGroupDefinition(String type, String key)
type
- Type of the AttributeGroup.key
- Key identifying the AttributeGroup.public AttributeGroup getAttributeGroupTemplate(String type, String key)
type
- Type of the AttributeGroup.key
- Key identifying the AttributeGroup.public AttributeGroupDefinition getCategoryDefinition(long categoryID)
categoryID
- ID of the category node.public AttributeGroupDefinition[] getCategoryDefinitions(long[] categoryIDs)
categoryIDs
- IDs of the category nodes.public CategoryInheritance[] getCategoryInheritance(long nodeID)
nodeID
- Node ID.SoapFaultException
- with fault codes:public AttributeGroup getCategoryTemplate(long categoryID)
categoryID
- ID of the category node.public MetadataLanguage[] getMetadataLanguages()
public MultilingualMetadata[] getMultilingualMetadata(long nodeID, String[] languageCodes)
nodeID
- The ID of the node to get the metadata from.languageCodes
- The language codes for the language of the metadata. If null, uses the current user's preferred language.public Node getNode(long ID)
ID
- ID of the node.public NodeAuditRecord[] getNodeAuditRecords(long ID)
ID
- ID of the node for which audit records will be returned.public Node getNodeByGUID(String guid)
guid
- The GUID of the node.public Node getNodeByName(long parentID, String name)
parentID
- ID of the parent node.name
- Name of the node.public Node getNodeByNickname(String nickname)
nickname
- Nickname of the node.public Node getNodeByPath(long rootID, String[] pathElements)
rootID
- ID of the path root.pathElements
- Full path elements relative to root.public String getNodeGUID(long nodeID)
nodeID
- The ID of the node.public NodeRights getNodeRights(long ID)
ID
- ID of the node to which rights will be returned.public Node[] getNodes(long[] IDs)
IDs
- List of IDs of nodes to retrieve.public Node[] getNodesByNickname(String[] nicknames)
nicknames
- Nicknames of the nodes.public Node[] getNodesInContainer(long containerID, GetNodesInContainerOptions options)
containerID
- The ID of the container.options
- The options to use for getting the nodes.public Node getNodeTemplate(long parentID, String nodeType)
parentID
- ParentID of node in which the new node will be created.nodeType
- Type of node to be created.public String[] getNodeTypes()
public PagedNodeAuditData getPagedNodeAuditData(long ID, PageHandle pageHandle)
ID
- ID of the node for which audit records will be returned.pageHandle
- Handle for pagination - specify null to get first page.public CompoundDocRelease getRelease(long ID, long major, long minor)
ID
- ID of the compound doc of the release to get.major
- Major number of the release to get.minor
- Minor number of the release to get.public Attachment getRenditionContents(long nodeID, long versionNum, String renditionType)
nodeID
- ID of the document node containing the target version.versionNum
- The version number of the target versionrenditionType
- The identifier of the type of rendition being retrieved (for example, PDF, EPS, TXT).outStream
- The output stream to write the contents to.public String getRenditionContentsContext(long nodeID, long versionNum, String renditionType)
nodeID
- ID of the document node containing the target version.versionNum
- The version number of the target version.renditionType
- The identifier of the type of rendition to retrieve (for example, PDF, EPS, TXT).public Node getRootNode(String rootType)
rootType
- Type of root node.public String[] getRootNodeTypes()
public Version getVersion(long ID, long versionNum)
ID
- ID of the node.versionNum
- Version Number of the version.public Version getVersionByGUID(String guid)
guid
- The GUID of the version.public Attachment getVersionContents(long ID, long versionNum)
ID
- ID of the node.versionNum
- Version Number of the version.outStream
- The output stream to write the contents topublic String getVersionContentsContext(long ID, long versionNum)
ID
- ID of the node.versionNum
- Version Number of the version.public String getVersionGUID(long nodeID, long versionNumber)
nodeID
- The ID of the node.versionNumber
- The version number of the node.public Node[] listNodes(long parentID, boolean partialData)
parentID
- ID of the parent node.partialData
- True if node list is to be calculated quickly, with partial data (no Metadata, for example). If false, call will be expensive in time.public NodePageResult listNodesByPage(long parentID, NodePageSpecification pageSpec)
parentID
- ID of the parent node.pageSpec
- Description of page required.public Node[] listReferences(long ID)
ID
- ID of the node.public CompoundDocRelease[] listReleases(long ID)
ID
- ID of the compound doc of the releases to get.public Version[] listRenditions(long nodeID, long versionNum)
nodeID
- ID of the node to which the version belongs.versionNum
- Number of the version to which the rendition belongs.public void lockRelease(long ID, long major, long minor)
ID
- ID of the compound doc whose release is to be locked.major
- Major number of the release to lock.minor
- Minor number of the release to lock.public void lockVersion(long ID, long versionNum)
ID
- ID of the node from which version is to be locked.versionNum
- Version number of the version to lock.public void moveNode(long ID, long parentID, String newName, MoveOptions moveOptions)
ID
- The ID of the node to move.parentID
- The ID of the parent node to move the node to.newName
- The new name of the node. If null or the empty string is given it will keep the same name.moveOptions
- The options for how the move operation will be performed.SoapFaultException
- with fault codes:public Version promoteVersion(long ID, long versionNum, Metadata metadata)
ID
- ID of the node.versionNum
- Version Number of the version.metadata
- New metadata for the version; null if no changes.public void purgeVersions(long ID, int numberToKeep)
ID
- ID of the node.numberToKeep
- Number of versions to keep.public void rearrangeNodes(long ID, NodePosition[] positions)
ID
- ID of the Compound Document node.positions
- Array of position pairs (child ID, position) (use position 0 to designate node as the 'Master Document').public void removeFavorite(long nodeID)
nodeID
- ID of the node whose Favorite will be removed.public void removeFromCollection(long collectionID, CollectionItem[] collectionItems)
collectionID
- The ID of the collection to remove from.collectionItems
- The list of items to remove from the collection.SoapFaultException
- with fault codes:public void removeNodeRight(long ID, NodeRight nodeRight)
ID
- The ID of the node to remove a right from.nodeRight
- The node right to remove.SoapFaultException
- with fault codes:public void renameNode(long ID, String newName)
ID
- ID of the node.newName
- Name to be given to the specified node.public void repositionNode(long ID, long position)
ID
- ID of the node.position
- Ordering number of node (use 0 to designate node as the 'Master Document'.public void reserveNode(long ID, Long userID)
ID
- ID of the node.userID
- ID of user or group reserving the node, null for current user.public ReportResult runReport(long reportID, DataValue[] inputs)
reportID
- The ID of the LiveReport.inputs
- The user input values.SoapFaultException
- with fault codes:public void setCategoryInheritance(long nodeID, CategoryInheritance[] categoryInheritanceObjs)
nodeID
- Node IDcategoryInheritanceObjs
- Category Inheritance ObjectsSoapFaultException
- with fault codes:public void setNodeMetadata(long nodeID, Metadata metadata)
nodeID
- The ID of the node to set the metadata for.metadata
- The metadata to set.SoapFaultException
- with fault codes:public void setNodeRights(long ID, NodeRights rights)
ID
- The ID of the node to set the rights for.rights
- The node rights to set.SoapFaultException
- with fault codes:public void unlockRelease(long ID, long major, long minor)
ID
- ID of the compound doc whose release is to be unlocked.major
- Major number of the release to unlock.minor
- Minor number of the release to unlock.public void unlockVersion(long ID, long versionNum)
ID
- ID of the node from which version is to be unlocked.versionNum
- Version number of the version to unlock.public void unreserveNode(long ID)
ID
- ID of the node.public AttributeGroupDefinition updateCategory(long categoryID, Attribute[] attributes)
categoryID
- ID of the category node.attributes
- The array of attributes, in order, which comprise the category.public void updateMultilingualMetadata(long nodeID, MultilingualMetadata[] metadata)
nodeID
- The ID of the node to update.metadata
- The list of metadata that contains the information for the update.public void updateNode(Node node)
node
- The modified node SDO.public void updateNodeRight(long ID, NodeRight nodeRight)
ID
- The ID of the node to update a right for.nodeRight
- The node right to update.SoapFaultException
- with fault codes:public NodeRightUpdateInfo updateNodeRights(ChunkedOperationContext context)
context
- The ChunkedOperationContext for this operation.public ChunkedOperationContext updateNodeRightsContext(long nodeID, RightOperation operation, NodeRight[] rights, RightPropagation propagation)
nodeID
- The ID of the target node.operation
- One of the following: RightOperation.Add - Add the specified rights to all affected nodes. RightOperation.Delete - Delete the specified rights from all affected nodes. RightOperation.Replace - Replace the set of rights for all affected nodes with the specified rights.rights
- The list of rights to add, delete, or replace.propagation
- Specifies the scope of the changes. One of: RightPropagation.TargetOnly, RightPropagation.TargetAndChildren, or RightPropagation.ChildrenOnlypublic void updateVersion(Version version)
version
- Version to update.public CategoryItemsUpgradeInfo upgradeCategoryItems(ChunkedOperationContext context)
context
- The ChunkedOperationContext for this operation.public ChunkedOperationContext upgradeCategoryItemsContext(long categoryID, long version, boolean addVersion)
categoryID
- The ID of the category whose items to upgrade.version
- The version of the category to upgrade to.addVersion
- Specify whether to apply the upgraded category definition to a new version for each (versionable) node.© Copyright 2017 OpenText Corp. All Rights Reserved.