Class DocumentAppSoapStub
- java.lang.Object
-
- com.collabnet.ce.soap60.webservices.ClientSoapStub
-
- com.collabnet.ce.soap60.webservices.docman.DocumentAppSoapStub
-
- All Implemented Interfaces:
IDocumentAppSoap
public class DocumentAppSoapStub extends ClientSoapStub implements IDocumentAppSoap
-
-
Field Summary
-
Fields inherited from class com.collabnet.ce.soap60.webservices.ClientSoapStub
DEFAULT_CLIENT_TIME_OUT
-
-
Constructor Summary
Constructors Constructor Description DocumentAppSoapStub(String soapServerUrl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddDateField(String sessionId, String projectId, String fieldName, boolean isRequired, boolean isDisabled, boolean isHiddenOnCreate, String helpText)Adds a custom Date field to documents.voidaddMultiSelectField(String sessionId, String projectId, String fieldName, int displayLines, boolean isRequired, boolean isDisabled, boolean isHiddenOnCreate, String[] fieldValues, String[] defaultValues, String helpText)Adds a custom multi select field to documents.voidaddSeparator(String sessionId, String projectId, String separatorType, String separatorLabel)Adds a separator to a document root folder.voidaddSingleSelectChildField(String sessionId, String projectId, String fieldName, String[] fieldValues, String parentFieldId, SoapNamedValues parentChildFieldValueMap, String helpText)Adds a custom single select field to documents.voidaddSingleSelectField(String sessionId, String projectId, String fieldName, boolean isRequired, boolean isDisabled, boolean isHiddenOnCreate, String[] fieldValues, String defaultValue, String helpText)Adds a custom single select field to documents.voidaddTextField(String sessionId, String projectId, String fieldName, int displayColumns, int displayLines, boolean isRequired, boolean isDisabled, boolean isHiddenOnCreate, String defaultValue, String helpText, String pattern)Adds a custom text field to documents.voidaddUserSelectField(String sessionId, String projectId, String fieldName, int displayLines, boolean isRequired, boolean isDisabled, boolean isHiddenOnCreate, String[] defaultValues, String userFilter, String helpText)Adds a custom User selection field to documents.DocumentSoapDOcreateDocument(String sessionId, String parentId, String title, String description, String versionComment, String status, boolean createLocked, String fileName, String mimeType, String fileId, String associationId, String associationDesc)Creates a new document with the specified title, description, etc.Document2SoapDOcreateDocument2(String sessionId, String parentId, String title, String description, String versionComment, String status, boolean createLocked, boolean createDownloadRestricted, boolean allowForceUnlock, String fileName, String mimeType, String fileId, String associationId, String associationDesc)Creates a new document with the specified title, description, etc.Document3SoapDOcreateDocument3(String sessionId, String parentId, String title, String description, String versionComment, String status, boolean createLocked, boolean createDownloadRestricted, boolean allowForceUnlock, String fileName, String mimeType, String fileId, String associationId, String associationDesc, SoapFieldValues flexFields)Creates a new document with the specified title, description, etc.DocumentFolderSoapDOcreateDocumentFolder(String sessionId, String parentId, String title, String description)Creates a new document folder with the specified title, description, etc.DocumentSoapDOcreateDocumentWithUrl(String sessionId, String parentId, String title, String description, String versionComment, String status, boolean createLocked, String fileUrl, String associationId, String associationDesc)Creates a new document with the specified title, description, etc.Document2SoapDOcreateDocumentWithUrl2(String sessionId, String parentId, String title, String description, String versionComment, String status, boolean createLocked, boolean createDownloadRestricted, boolean allowForceUnlock, String fileUrl, String associationId, String associationDesc)Creates a new document with the specified title, description, etc.Document3SoapDOcreateDocumentWithUrl3(String sessionId, String parentId, String title, String description, String versionComment, String status, boolean createLocked, boolean createDownloadRestricted, boolean allowForceUnlock, String fileUrl, String associationId, String associationDesc, SoapFieldValues flexFields)Creates a new document with the specified title, description, etc.DocumentReviewSoapDOcreateReview(String sessionId, String documentId, int version, String title, String description, Date dueDate, String[] requiredReviewers, String[] optionalReviewers, boolean attachDocument)Creates a document review cyclevoiddeleteDocument(String sessionId, String documentId)Deletes a document.Locked document(s) cannot be deletedvoiddeleteDocumentByVersions(String sessionId, String documentId, int[] versionNumbers)Deletes particular version(s) of a document.Locked document version(s) cannot be deletedvoiddeleteDocumentFolder(String sessionId, String folderId)Deletes a document folder with the specified id.voiddeleteField(String sessionId, String fieldId)Deletes a custom/flex-field.voiddeleteSeparator(String sessionId, String layoutId)Deletes a separator of a document root folder layout.DocumentSoapListfindDocuments(String sessionId, String queryString, String projectId, boolean searchAttachments, boolean currentVersionsOnly)Finds a list of documents matching a search string.Document2SoapListfindDocuments2(String sessionId, String queryString, String projectId, boolean searchAttachments, boolean currentVersionsOnly)Finds a list of documents matching a search string.Document3SoapListfindDocuments3(String sessionId, String queryString, String projectId, boolean searchAttachments, boolean currentVersionsOnly)Finds a list of documents matching a search string.DocumentReviewSoapListgetAssignedDocumentReviewList(String sessionId, String username)Lists all document reviews assigned to a user for review.DocumentSoapDOgetDocumentData(String sessionId, String documentId, int documentVersion)Gets specified document data.Document2SoapDOgetDocumentData2(String sessionId, String documentId, int documentVersion)Gets specified document data.Document3SoapDOgetDocumentData3(String sessionId, String documentId, int documentVersion)Gets specified document data.StringgetDocumentFileId(String sessionId, String documentId, int documentVersion)Returns a the file id associated with the document file.DocumentFolderSoapDOgetDocumentFolderData(String sessionId, String folderId)Gets detailed data on a document folderDocumentFolderSoapListgetDocumentFolderList(String sessionId, String parentId, boolean recursive)Lists document folders.DocumentSoapListgetDocumentList(String sessionId, String parentId, SoapFilter[] filters)Lists all documents within a document folder.Document2SoapListgetDocumentList2(String sessionId, String parentId, SoapFilter[] filters)Lists all documents within a document folder.Document3SoapListgetDocumentList3(String sessionId, String documentFolderId, SoapFilter[] filters)Lists all documents within a document folder.DocumentReviewSoapListgetDocumentReviewList(String sessionId, String containerId, SoapFilter[] filters)Lists all document reviews within a project or a document.Document2SoapListgetDocumentVersions(String sessionId, String documentId, boolean includeDeletedVersions)Lists all the versions of a document.DocumentFolderFieldSoapDO[]getFields(String sessionId, String projectId)Returns the custom/flex-fields associated with the given project's document root folder.OrderedDocumentFolderFieldSoapListgetOrderedDocumentFields(String sessionId, String projectId)Returns all the custom/flex-fields and the separators associated with the given project's document root folder with layout information.DocumentSoapDOmoveDocument(String sessionId, String documentId, String targetFolderId)Moves a document to a specified target folder.Document2SoapDOmoveDocument2(String sessionId, String documentId, String targetFolderId)Moves a document to a specified target folder.Document3SoapDOmoveDocument3(String sessionId, String documentId, String targetFolderId)Moves a document to a specified target folder.DocumentFolderSoapDOmoveDocumentFolder(String sessionId, String folderId, String destFolderId)Moves document foldervoidreorderDocumentFields(String sessionId, String projectId, String[] layoutIds)Sets a new order of the fields and the separators within the given project's document root folder.voidsetDocumentData(String sessionId, DocumentSoapDO documentData, String fileId)Sets specified document data.voidsetDocumentData2(String sessionId, Document2SoapDO documentData, String fileId)Sets specified document data.voidsetDocumentData3(String sessionId, Document3SoapDO documentData, String fileId)Sets specified document data.voidsetDocumentDataWithAssociation(String sessionId, DocumentSoapDO documentData, String fileId, String associationId, String associationComment)Sets specified document data with Association.voidsetDocumentDataWithAssociation2(String sessionId, Document2SoapDO documentData, String fileId, String associationId, String associationComment)Sets specified document data with association.voidsetDocumentDataWithAssociation3(String sessionId, Document3SoapDO documentData, String fileId, String associationId, String associationComment)Sets specified document data with association.voidsetDocumentFolderData(String sessionId, DocumentFolderSoapDO documentFolderData)Sets detailed data on a document foldervoidsetField(String sessionId, DocumentFolderFieldSoapDO fieldData)Sets a custom/flex-field.-
Methods inherited from class com.collabnet.ce.soap60.webservices.ClientSoapStub
getServiceCall, getSoapServer, getTimeout, setTimeout, soapParam
-
-
-
-
Constructor Detail
-
DocumentAppSoapStub
public DocumentAppSoapStub(String soapServerUrl)
-
-
Method Detail
-
getDocumentFolderList
public DocumentFolderSoapList getDocumentFolderList(String sessionId, String parentId, boolean recursive) throws RemoteException
Description copied from interface:IDocumentAppSoapLists document folders.- Specified by:
getDocumentFolderListin interfaceIDocumentAppSoap- Parameters:
sessionId- SOAP session id.parentId- Parent document folder id -or- project id for listing root document folder.recursive- Show subfolders of the folders returned- Returns:
- Document folder list.
- Throws:
InvalidSessionFault- when the sessionId is invalid.PermissionDeniedFault- when permission is denied for the specified operation.NoSuchObjectFault- when the specified object is invalid.SystemFault- when an unexpected system error occurs.RemoteException
-
setDocumentFolderData
public void setDocumentFolderData(String sessionId, DocumentFolderSoapDO documentFolderData) throws RemoteException
Description copied from interface:IDocumentAppSoapSets detailed data on a document folder- Specified by:
setDocumentFolderDatain interfaceIDocumentAppSoap- Parameters:
sessionId- SOAP session id.documentFolderData- Data to apply.- Throws:
InvalidSessionFault- when the sessionId is invalid.PermissionDeniedFault- when permission is denied for the specified operation.NoSuchObjectFault- when the specified object id does not exist.VersionMismatchFault- when the specified object has changed in SourceForge.SystemFault- when an unexpected system error occurs.RemoteException
-
getDocumentFolderData
public DocumentFolderSoapDO getDocumentFolderData(String sessionId, String folderId) throws RemoteException
Description copied from interface:IDocumentAppSoapGets detailed data on a document folder- Specified by:
getDocumentFolderDatain interfaceIDocumentAppSoap- Parameters:
sessionId- SOAP session id.folderId- Folder id to get detailed data for.- Returns:
- Document Folder data object.
- Throws:
InvalidSessionFault- when the sessionId is invalid.PermissionDeniedFault- when permission is denied for the specified operation.NoSuchObjectFault- when the specified object id does not exist.IllegalArgumentFault- when an argument is invalid.SystemFault- when an unexpected system error occurs.RemoteException
-
getAssignedDocumentReviewList
public DocumentReviewSoapList getAssignedDocumentReviewList(String sessionId, String username) throws RemoteException
Description copied from interface:IDocumentAppSoapLists all document reviews assigned to a user for review.- Specified by:
getAssignedDocumentReviewListin interfaceIDocumentAppSoap- Parameters:
sessionId- SOAP session id.username- User to whom reviews are assigned for review (required or optional).- Returns:
- Document review list.
- Throws:
InvalidSessionFault- when sessionId is invalid.NoSuchObjectFault- when the specified user does not exist.PermissionDeniedFault- when permission is denied.SystemFault- when an unexpected system error occurs.RemoteException
-
getDocumentReviewList
public DocumentReviewSoapList getDocumentReviewList(String sessionId, String containerId, SoapFilter[] filters) throws RemoteException
Description copied from interface:IDocumentAppSoapLists all document reviews within a project or a document.- Specified by:
getDocumentReviewListin interfaceIDocumentAppSoap- Parameters:
sessionId- SOAP session id.containerId- null (for reviews across projects) or document ID (for reviews associated with document).filters- Filters to apply for listing the reviews.- Returns:
- Document review list.
- Throws:
InvalidSessionFault- when sessionId is invalid.NoSuchObjectFault- when the document does not exist.PermissionDeniedFault- when permission is denied.InvalidFilterFault- when the specified filters are invalid.SystemFault- when an unexpected system error occurs.RemoteException
-
createReview
public DocumentReviewSoapDO createReview(String sessionId, String documentId, int version, String title, String description, Date dueDate, String[] requiredReviewers, String[] optionalReviewers, boolean attachDocument) throws RemoteException
Description copied from interface:IDocumentAppSoapCreates a document review cycle- Specified by:
createReviewin interfaceIDocumentAppSoap- Parameters:
sessionId- SOAP session id.documentId- the id of the document for which the review is to be created.version- the version of the documenttitle- The title of the reviewdescription- The description of the reviewdueDate- The due date of the reviewrequiredReviewers- an array of usernames of required reviewersoptionalReviewers- an array of usernames of optional reviewersattachDocument- whether to attach the document to the email or not- Returns:
- The data object of the review
- Throws:
InvalidSessionFault- when sessionId is invalid.NoSuchObjectFault- when there is no document corresponding to the document IdPermissionDeniedFault- when the user has insufficient privilegesIllegalArgumentFault- for incorrect arguments.ObjectAlreadyExistsFault- if the review already exists on this documentSystemFault- when an unexpected system error occurs.RemoteException
-
getDocumentList
public DocumentSoapList getDocumentList(String sessionId, String parentId, SoapFilter[] filters) throws RemoteException
Description copied from interface:IDocumentAppSoapLists all documents within a document folder.- Specified by:
getDocumentListin interfaceIDocumentAppSoap- Parameters:
sessionId- SOAP session id.parentId- Document folder id (obtained from getDocumentFolderList).filters- not supported.- Returns:
- Document list.
- Throws:
InvalidSessionFault- when the sessionId is invalid.PermissionDeniedFault- when permission is denied for the specified operation.NoSuchObjectFault- when the specified object is invalid.SystemFault- when an unexpected system error occurs.InvalidFilterFault- when an invalid filter is specified.RemoteException
-
getDocumentList2
public Document2SoapList getDocumentList2(String sessionId, String parentId, SoapFilter[] filters) throws RemoteException
Description copied from interface:IDocumentAppSoapLists all documents within a document folder.- Specified by:
getDocumentList2in interfaceIDocumentAppSoap- Parameters:
sessionId- SOAP session id.parentId- Document folder id (obtained from getDocumentFolderList).filters- not supported.- Returns:
- Document list.
- Throws:
InvalidSessionFault- when the sessionId is invalid.NoSuchObjectFault- when the specified object is invalid.PermissionDeniedFault- when permission is denied for the specified operation.InvalidFilterFault- when an invalid filter is specified.SystemFault- when an unexpected system error occurs.RemoteException
-
getDocumentList3
public Document3SoapList getDocumentList3(String sessionId, String documentFolderId, SoapFilter[] filters) throws RemoteException
Description copied from interface:IDocumentAppSoapLists all documents within a document folder.- Specified by:
getDocumentList3in interfaceIDocumentAppSoap- Parameters:
sessionId- SOAP session id.documentFolderId- Document folder id (obtained from getDocumentFolderList).filters- not supported.- Returns:
- Document list.
- Throws:
InvalidSessionFault- when the sessionId is invalid.NoSuchObjectFault- when the specified object is invalid.PermissionDeniedFault- when permission is denied for the specified operation.InvalidFilterFault- when an invalid filter is specified.SystemFault- when an unexpected system error occurs.RemoteException
-
findDocuments
public DocumentSoapList findDocuments(String sessionId, String queryString, String projectId, boolean searchAttachments, boolean currentVersionsOnly) throws RemoteException
Description copied from interface:IDocumentAppSoapFinds a list of documents matching a search string.- Specified by:
findDocumentsin interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.queryString- Query string.projectId- The project in which to find documents. (if null, search all projects)searchAttachments- Whether to search attachments.currentVersionsOnly- Whether to search only current versions of documents.- Returns:
- List of documents matching search criteria.
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified project id is invalid.SearchQuerySyntaxFault- when the specified search query string is syntactically invalid.SystemFault- when an unexpected system level error occurs.RemoteException
-
findDocuments2
public Document2SoapList findDocuments2(String sessionId, String queryString, String projectId, boolean searchAttachments, boolean currentVersionsOnly) throws RemoteException
Description copied from interface:IDocumentAppSoapFinds a list of documents matching a search string.- Specified by:
findDocuments2in interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.queryString- Query string.projectId- The project in which to find documents. (if null, search all projects)searchAttachments- Whether to search attachments.currentVersionsOnly- Whether to search only current versions of documents.- Returns:
- List of documents matching search criteria.
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified project id is invalid.SearchQuerySyntaxFault- when the specified search query string is syntactically invalid.SystemFault- when an unexpected system level error occurs.RemoteException
-
findDocuments3
public Document3SoapList findDocuments3(String sessionId, String queryString, String projectId, boolean searchAttachments, boolean currentVersionsOnly) throws RemoteException
Description copied from interface:IDocumentAppSoapFinds a list of documents matching a search string.- Specified by:
findDocuments3in interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.queryString- Query string.projectId- The project in which to find documents. (if null, search all projects)searchAttachments- Whether to search attachments.currentVersionsOnly- Whether to search only current versions of documents.- Returns:
- List of documents matching search criteria.
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified project id is invalid.SearchQuerySyntaxFault- when the specified search query string is syntactically invalid.SystemFault- when an unexpected system level error occurs.IllegalArgumentFault- when the specified query string is invalid.RemoteException
-
createDocumentFolder
public DocumentFolderSoapDO createDocumentFolder(String sessionId, String parentId, String title, String description) throws RemoteException
Description copied from interface:IDocumentAppSoapCreates a new document folder with the specified title, description, etc.- Specified by:
createDocumentFolderin interfaceIDocumentAppSoap- Parameters:
sessionId- SOAP session id.parentId- Folder id in which to create this folder.title- Document folder title.description- Document folder description.- Returns:
- Document Folder data object.
- Throws:
InvalidSessionFault- when the sessionId is invalid.PermissionDeniedFault- when permission is denied for the specified operation.NoSuchObjectFault- when a specified object is invalid.IllegalArgumentFault- when one or more of the parameters are invalid.SystemFault- when an unexpected system error occurs.ObjectAlreadyExistsFault- when the document folder specified already exists.RemoteException
-
moveDocumentFolder
public DocumentFolderSoapDO moveDocumentFolder(String sessionId, String folderId, String destFolderId) throws RemoteException
Description copied from interface:IDocumentAppSoapMoves document folder- Specified by:
moveDocumentFolderin interfaceIDocumentAppSoap- Parameters:
sessionId- SOAP session id.folderId- ID of folder to move.destFolderId- ID of destination folder- Returns:
- new document folder
- Throws:
InvalidSessionFault- sessionId is invalidPermissionDeniedFault- permission is denied for the specified operationNoSuchObjectFault- specified object is invalidSystemFault- unexpected system errorRemoteException
-
deleteDocumentFolder
public void deleteDocumentFolder(String sessionId, String folderId) throws RemoteException
Description copied from interface:IDocumentAppSoapDeletes a document folder with the specified id.- Specified by:
deleteDocumentFolderin interfaceIDocumentAppSoap- Parameters:
sessionId- SOAP session id.folderId- Folder id to delete.- Throws:
InvalidSessionFault- when the sessionId is invalid.PermissionDeniedFault- when permission is denied for the specified operation.NoSuchObjectFault- when the specified object is invalidSystemFault- when an unexpected system error occurs.IllegalArgumentFault- when one or more of the parameters are invalid.InvalidOperationFault- when attempted to delete top-level document folder.RemoteException
-
createDocument
public DocumentSoapDO createDocument(String sessionId, String parentId, String title, String description, String versionComment, String status, boolean createLocked, String fileName, String mimeType, String fileId, String associationId, String associationDesc) throws RemoteException
Description copied from interface:IDocumentAppSoapCreates a new document with the specified title, description, etc.- Specified by:
createDocumentin interfaceIDocumentAppSoap- Parameters:
sessionId- SOAP session id.parentId- Document folder id in which to create a document.title- Document title.description- Document description.versionComment- Document version comment.status- Document status.createLocked- Is document locked on create?fileName- Name of the file.mimeType- File mime type.fileId- Uploaded file id (through FileStorageApp or SimpleFileStorageApp service).associationId- The id of the object associatedassociationDesc- The title of the object associated- Returns:
- Document data object.
- Throws:
InvalidSessionFault- when the sessionId is invalid.PermissionDeniedFault- when permission is denied for the specified operation.NoSuchObjectFault- when the specified object is invalid.IllegalArgumentFault- when one or more of the parameters are invalid.SystemFault- when an unexpected system error occurs.InvalidAssociationFault- when an invalid association object is passed.RemoteException
-
createDocument2
public Document2SoapDO createDocument2(String sessionId, String parentId, String title, String description, String versionComment, String status, boolean createLocked, boolean createDownloadRestricted, boolean allowForceUnlock, String fileName, String mimeType, String fileId, String associationId, String associationDesc) throws RemoteException
Description copied from interface:IDocumentAppSoapCreates a new document with the specified title, description, etc.- Specified by:
createDocument2in interfaceIDocumentAppSoap- Parameters:
sessionId- SOAP session id.parentId- Document folder id in which to create a document.title- Document title.description- Document description.versionComment- Document version comment.status- Document status.createLocked- Is document locked on create?createDownloadRestricted- Is document download restricted on create?allowForceUnlock- Is document admin allowed to edit/download locked document?fileName- Name of the file.mimeType- File mime type.fileId- Uploaded file id (through FileStorageApp or SimpleFileStorageApp service).associationId- The id of the object associated, can be set to nullassociationDesc- The title of the object associated- Returns:
- Document data object.
- Throws:
InvalidSessionFault- when the sessionId is invalid.PermissionDeniedFault- when permission is denied for the specified operation.NoSuchObjectFault- when the specified object is invalid.IllegalArgumentFault- when one or more of the parameters are invalid.SystemFault- when an unexpected system error occurs.InvalidAssociationFault- when an invalid association object is passed.RemoteException
-
createDocument3
public Document3SoapDO createDocument3(String sessionId, String parentId, String title, String description, String versionComment, String status, boolean createLocked, boolean createDownloadRestricted, boolean allowForceUnlock, String fileName, String mimeType, String fileId, String associationId, String associationDesc, SoapFieldValues flexFields) throws RemoteException
Description copied from interface:IDocumentAppSoapCreates a new document with the specified title, description, etc.- Specified by:
createDocument3in interfaceIDocumentAppSoap- Parameters:
sessionId- SOAP session id.parentId- Document folder id in which to create a document.title- Document title.description- Document description.versionComment- Document version comment.status- Document status.createLocked- Is document locked on create?createDownloadRestricted- Is document download restricted on create?allowForceUnlock- Is document admin allowed to edit/download locked document?fileName- Name of the file.mimeType- File mime type.fileId- Uploaded file id (through FileStorageApp or SimpleFileStorageApp service).associationId- The id of the object associated, can be set to nullassociationDesc- The title of the object associatedflexFields- Flex field values- Returns:
- Document data object.
- Throws:
InvalidSessionFault- when the sessionId is invalid.PermissionDeniedFault- when permission is denied for the specified operation.NoSuchObjectFault- when the specified object is invalid.IllegalArgumentFault- when one or more of the parameters are invalid.SystemFault- when an unexpected system error occurs.InvalidAssociationFault- when an invalid association object is passed.WorkflowViolationFault- when the workflow is violated.RemoteException
-
createDocumentWithUrl
public DocumentSoapDO createDocumentWithUrl(String sessionId, String parentId, String title, String description, String versionComment, String status, boolean createLocked, String fileUrl, String associationId, String associationDesc) throws RemoteException
Description copied from interface:IDocumentAppSoapCreates a new document with the specified title, description, etc.- Specified by:
createDocumentWithUrlin interfaceIDocumentAppSoap- Parameters:
sessionId- SOAP session id.parentId- Document folder id in which to create a document.title- Document title.description- Document description.versionComment- Document version comment.status- Document status.createLocked- Is document locked on create?fileUrl- the file URL of the documentassociationId- id of the object to be associatedassociationDesc- association comment- Returns:
- Document data object.
- Throws:
InvalidSessionFault- when the sessionId is invalid.PermissionDeniedFault- when permission is denied for the specified operation.NoSuchObjectFault- when the specified object is invalid.IllegalArgumentFault- when one or more of the parameters are invalid.SystemFault- when an unexpected system error occurs.InvalidDocumentContentFault- Only one of fileKey or fileUrl should be set. This failedInvalidAssociationFault- when an invalid association object is passed.RemoteException
-
createDocumentWithUrl2
public Document2SoapDO createDocumentWithUrl2(String sessionId, String parentId, String title, String description, String versionComment, String status, boolean createLocked, boolean createDownloadRestricted, boolean allowForceUnlock, String fileUrl, String associationId, String associationDesc) throws RemoteException
Description copied from interface:IDocumentAppSoapCreates a new document with the specified title, description, etc.- Specified by:
createDocumentWithUrl2in interfaceIDocumentAppSoap- Parameters:
sessionId- SOAP session id.parentId- Document folder id in which to create a document.title- Document title.description- Document description.versionComment- Document version comment.status- Document status.createLocked- Is document locked on create?createDownloadRestricted- Is document download restricted on create?allowForceUnlock- Is document admin allowed to edit/download locked document?fileUrl- the file URL of the documentassociationId- id of the object to be associatedassociationDesc- association comment- Returns:
- Document data object.
- Throws:
InvalidSessionFault- when the sessionId is invalid.PermissionDeniedFault- when permission is denied for the specified operation.NoSuchObjectFault- when the specified object is invalid.IllegalArgumentFault- when one or more of the parameters are invalid.SystemFault- when an unexpected system error occurs.InvalidDocumentContentFault- Only one of fileKey or fileUrl should be set. This failedInvalidAssociationFault- when an invalid association object is passed.RemoteException
-
createDocumentWithUrl3
public Document3SoapDO createDocumentWithUrl3(String sessionId, String parentId, String title, String description, String versionComment, String status, boolean createLocked, boolean createDownloadRestricted, boolean allowForceUnlock, String fileUrl, String associationId, String associationDesc, SoapFieldValues flexFields) throws RemoteException
Description copied from interface:IDocumentAppSoapCreates a new document with the specified title, description, etc.- Specified by:
createDocumentWithUrl3in interfaceIDocumentAppSoap- Parameters:
sessionId- SOAP session id.parentId- Document folder id in which to create a document.title- Document title.description- Document description.versionComment- Document version comment.status- Document status.createLocked- Is document locked on create?createDownloadRestricted- Is document download restricted on create?allowForceUnlock- Is document admin allowed to edit/download locked document?fileUrl- the file URL of the documentassociationId- id of the object to be associatedassociationDesc- association commentflexFields- Flex field values- Returns:
- Document data object.
- Throws:
InvalidSessionFault- when the sessionId is invalid.PermissionDeniedFault- when permission is denied for the specified operation.NoSuchObjectFault- when the specified object is invalid.IllegalArgumentFault- when one or more of the parameters are invalid.SystemFault- when an unexpected system error occurs.InvalidDocumentContentFault- Only one of fileKey or fileUrl should be set. This failedInvalidAssociationFault- when an invalid association object is passed.WorkflowViolationFault- when the workflow is violated.RemoteException
-
moveDocument
public DocumentSoapDO moveDocument(String sessionId, String documentId, String targetFolderId) throws RemoteException
Description copied from interface:IDocumentAppSoapMoves a document to a specified target folder.- Specified by:
moveDocumentin interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.documentId- ID of document to move.targetFolderId- Target folder ID.- Returns:
- New document object.
- Throws:
InvalidSessionFault- when the sessionId is invalid.PermissionDeniedFault- when permission is denied for the specified operation.NoSuchObjectFault- when the specified object is invalid.SystemFault- when an unexpected system error occurs.RemoteException
-
moveDocument2
public Document2SoapDO moveDocument2(String sessionId, String documentId, String targetFolderId) throws RemoteException
Description copied from interface:IDocumentAppSoapMoves a document to a specified target folder.- Specified by:
moveDocument2in interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.documentId- ID of document to move.targetFolderId- Target folder ID.- Returns:
- New document object.
- Throws:
InvalidSessionFault- when the sessionId is invalid.NoSuchObjectFault- when the specified object is invalid.PermissionDeniedFault- when permission is denied for the specified operation.SystemFault- when an unexpected system error occurs.RemoteException
-
moveDocument3
public Document3SoapDO moveDocument3(String sessionId, String documentId, String targetFolderId) throws RemoteException
Description copied from interface:IDocumentAppSoapMoves a document to a specified target folder.- Specified by:
moveDocument3in interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.documentId- ID of document to move.targetFolderId- Target folder ID.- Returns:
- New document object.
- Throws:
InvalidSessionFault- when the sessionId is invalid.NoSuchObjectFault- when the specified object is invalid.PermissionDeniedFault- when permission is denied for the specified operation.SystemFault- when an unexpected system error occurs.IllegalArgumentFault- when one or more of the parameters are invalid.RemoteException
-
deleteDocument
public void deleteDocument(String sessionId, String documentId) throws RemoteException
Description copied from interface:IDocumentAppSoapDeletes a document.Locked document(s) cannot be deleted- Specified by:
deleteDocumentin interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.documentId- Document id.- Throws:
InvalidSessionFault- when the sessionId is invalid.PermissionDeniedFault- when permission is denied for the specified operation.NoSuchObjectFault- when the specified object is invalid.SystemFault- when an unexpected system error occurs.RemoteException
-
getDocumentData
public DocumentSoapDO getDocumentData(String sessionId, String documentId, int documentVersion) throws RemoteException
Description copied from interface:IDocumentAppSoapGets specified document data.- Specified by:
getDocumentDatain interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.documentId- Document id.documentVersion- Document version number (specify zero for current version).- Returns:
- Document data object.
- Throws:
InvalidSessionFault- when the sessionId is invalid.PermissionDeniedFault- when permission is denied for the specified operation.NoSuchObjectFault- when the specified object is invalid.NoSuchVersionFault- when the specified version is invalid.SystemFault- when an unexpected system error occurs.RemoteException
-
getDocumentData2
public Document2SoapDO getDocumentData2(String sessionId, String documentId, int documentVersion) throws RemoteException
Description copied from interface:IDocumentAppSoapGets specified document data.- Specified by:
getDocumentData2in interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.documentId- Document id.documentVersion- Document version number (specify zero for current version).- Returns:
- Document data object.
- Throws:
InvalidSessionFault- when the sessionId is invalid.NoSuchObjectFault- when the specified object is invalid.NoSuchVersionFault- when the specified version is invalid.PermissionDeniedFault- when permission is denied for the specified operation.SystemFault- when an unexpected system error occurs.RemoteException
-
getDocumentData3
public Document3SoapDO getDocumentData3(String sessionId, String documentId, int documentVersion) throws RemoteException
Description copied from interface:IDocumentAppSoapGets specified document data.- Specified by:
getDocumentData3in interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.documentId- Document id.documentVersion- Document version number (specify zero for current version).- Returns:
- Document data object.
- Throws:
InvalidSessionFault- when the sessionId is invalid.NoSuchObjectFault- when the specified object is invalid.NoSuchVersionFault- when the specified version is invalid.PermissionDeniedFault- when permission is denied for the specified operation.SystemFault- when an unexpected system error occurs.RemoteException
-
setDocumentData
public void setDocumentData(String sessionId, DocumentSoapDO documentData, String fileId) throws RemoteException
Description copied from interface:IDocumentAppSoapSets specified document data. To update a document, documentData.getCurrentVersion needs to be set to 0.- Specified by:
setDocumentDatain interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.documentData- Document data object.fileId- Uploaded file id (through FileStorageApp or SimpleFileStorageApp service).- Throws:
InvalidSessionFault- when the sessionId is invalid.NoSuchObjectFault- when the specified object is invalid.PermissionDeniedFault- when permission is denied for the specified operation.IllegalArgumentFault- when document data information is invalid.VersionMismatchFault- when document data is stale.SystemFault- when an unexpected system error occurs.InvalidDocumentContentFault- Only one of fileKey or fileUrl should be set. This failedRemoteException
-
setDocumentData2
public void setDocumentData2(String sessionId, Document2SoapDO documentData, String fileId) throws RemoteException
Description copied from interface:IDocumentAppSoapSets specified document data. To update a document, documentData.getCurrentVersion needs to be set to 0.- Specified by:
setDocumentData2in interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.documentData- Document data object.fileId- Uploaded file id (through FileStorageApp or SimpleFileStorageApp service).- Throws:
InvalidSessionFault- when the sessionId is invalid.NoSuchObjectFault- when the specified object is invalid.PermissionDeniedFault- when permission is denied for the specified operation.IllegalArgumentFault- when document data information is invalid.VersionMismatchFault- when document data is stale.SystemFault- when an unexpected system error occurs.InvalidDocumentContentFault- Only one of fileKey or fileUrl should be set. This failedRemoteException
-
setDocumentData3
public void setDocumentData3(String sessionId, Document3SoapDO documentData, String fileId) throws RemoteException
Description copied from interface:IDocumentAppSoapSets specified document data. To update a document, documentData.getCurrentVersion needs to be set to 0.- Specified by:
setDocumentData3in interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.documentData- Document data object.fileId- Uploaded file id (through FileStorageApp or SimpleFileStorageApp service).- Throws:
InvalidSessionFault- when the sessionId is invalid.NoSuchObjectFault- when the specified object is invalid.PermissionDeniedFault- when permission is denied for the specified operation.IllegalArgumentFault- when document data information is invalid.VersionMismatchFault- when document data is stale.SystemFault- when an unexpected system error occurs.InvalidDocumentContentFault- Only one of fileKey or fileUrl should be set. This failedWorkflowViolationFault- when the workflow is violatedRemoteException
-
setDocumentDataWithAssociation
public void setDocumentDataWithAssociation(String sessionId, DocumentSoapDO documentData, String fileId, String associationId, String associationComment) throws RemoteException
Description copied from interface:IDocumentAppSoapSets specified document data with Association.- Specified by:
setDocumentDataWithAssociationin interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.documentData- Document data object.fileId- Uploaded file id (through FileStorageApp or SimpleFileStorageApp service).associationId- The id of the associationassociationComment- Comment for the association- Throws:
InvalidSessionFault- when the sessionId is invalid.NoSuchObjectFault- when the specified object is invalid.PermissionDeniedFault- when permission is denied for the specified operation.IllegalArgumentFault- when document data information is invalid.VersionMismatchFault- when document data is stale.SystemFault- when an unexpected system error occurs.InvalidDocumentContentFault- Only one of fileKey or fileUrl should be set. This failedInvalidAssociationFault- when an invalid association object is passed.RemoteException
-
setDocumentDataWithAssociation2
public void setDocumentDataWithAssociation2(String sessionId, Document2SoapDO documentData, String fileId, String associationId, String associationComment) throws RemoteException
Description copied from interface:IDocumentAppSoapSets specified document data with association.- Specified by:
setDocumentDataWithAssociation2in interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.documentData- Document data object.fileId- Uploaded file id (through FileStorageApp or SimpleFileStorageApp service).associationId- The id of the associationassociationComment- Comment for the association- Throws:
InvalidSessionFault- when the sessionId is invalid.NoSuchObjectFault- when the specified object is invalid.PermissionDeniedFault- when permission is denied for the specified operation.IllegalArgumentFault- when document data information is invalid.VersionMismatchFault- when document data is stale.SystemFault- when an unexpected system error occurs.InvalidDocumentContentFault- Only one of fileKey or fileUrl should be set. This failedInvalidAssociationFault- when an invalid association object is passed.RemoteException
-
setDocumentDataWithAssociation3
public void setDocumentDataWithAssociation3(String sessionId, Document3SoapDO documentData, String fileId, String associationId, String associationComment) throws RemoteException
Description copied from interface:IDocumentAppSoapSets specified document data with association.- Specified by:
setDocumentDataWithAssociation3in interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.documentData- Document data object.fileId- Uploaded file id (through FileStorageApp or SimpleFileStorageApp service).associationId- The id of the associationassociationComment- Comment for the association- Throws:
InvalidSessionFault- when the sessionId is invalid.NoSuchObjectFault- when the specified object is invalid.PermissionDeniedFault- when permission is denied for the specified operation.IllegalArgumentFault- when document data information is invalid.VersionMismatchFault- when document data is stale.SystemFault- when an unexpected system error occurs.InvalidDocumentContentFault- Only one of fileKey or fileUrl should be set. This failedInvalidAssociationFault- when an invalid association object is passed.WorkflowViolationFault- when the workflow is violatedRemoteException
-
getDocumentFileId
public String getDocumentFileId(String sessionId, String documentId, int documentVersion) throws RemoteException
Description copied from interface:IDocumentAppSoapReturns a the file id associated with the document file.- Specified by:
getDocumentFileIdin interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.documentId- document id.documentVersion- document version number (specify zero for current version).- Returns:
- File storage id (for download using FileStorageService or SimpleFileStorageService).
- Throws:
InvalidSessionFault- when the sessionId is invalid.PermissionDeniedFault- when permission is denied for the specified operation.NoSuchObjectFault- when the specified object is invalid.NoSuchVersionFault- when the specified version is invalid.SystemFault- when an unexpected system error occurs.RemoteException
-
getDocumentVersions
public Document2SoapList getDocumentVersions(String sessionId, String documentId, boolean includeDeletedVersions) throws RemoteException
Description copied from interface:IDocumentAppSoapLists all the versions of a document.- Specified by:
getDocumentVersionsin interfaceIDocumentAppSoap- Parameters:
sessionId- SOAP session id.documentId- Document id.includeDeletedVersions- Flag to indicate if the deleted versions of the document are to be fetched.- Returns:
- Document list.
- Throws:
InvalidSessionFault- when the sessionId is invalid.PermissionDeniedFault- when permission is denied for the specified operation.NoSuchObjectFault- when the specified object is invalid.SystemFault- when an unexpected system error occurs.InvalidFilterFault- when an invalid filter is specified.RemoteException
-
deleteDocumentByVersions
public void deleteDocumentByVersions(String sessionId, String documentId, int[] versionNumbers) throws RemoteException
Description copied from interface:IDocumentAppSoapDeletes particular version(s) of a document.Locked document version(s) cannot be deleted- Specified by:
deleteDocumentByVersionsin interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.documentId- Document id.versionNumbers- Versions of the document to be deleted- Throws:
InvalidSessionFault- when the sessionId is invalid.NoSuchObjectFault- when the specified document Id is invalid.PermissionDeniedFault- when permission is denied for the specified operation.IllegalArgumentFault- for incorrect arguments.SystemFault- when an unexpected system error occurs.SearchQuerySyntaxFault- when the specified search query string is syntactically invalid.CannotDeleteDocumentVersionFault- when the user tries to delete the active version of the document.RemoteException
-
addTextField
public void addTextField(String sessionId, String projectId, String fieldName, int displayColumns, int displayLines, boolean isRequired, boolean isDisabled, boolean isHiddenOnCreate, String defaultValue, String helpText, String pattern) throws RemoteException
Description copied from interface:IDocumentAppSoapAdds a custom text field to documents.- Specified by:
addTextFieldin interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.projectId- The project in which to add the field to.fieldName- the name of the fielddisplayColumns- the width of the display areadisplayLines- the height of the display areaisRequired- if the field is requiredisDisabled- if the field is disabledisHiddenOnCreate- if the field is hidden when first createddefaultValue- default valuehelpText- The help text for the fieldpattern- The field validation pattern- Throws:
NoSuchObjectFault- when the specified object id or fieldData is invalidInvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.VersionMismatchFault- if the object has been updated since this fieldDO was fetchedIllegalArgumentFault- if the arguments are incorrectly specifiedInvalidOperationFault- if the operation is not allowedSystemFault- when an unexpected system error occurs.RemoteException
-
addSingleSelectChildField
public void addSingleSelectChildField(String sessionId, String projectId, String fieldName, String[] fieldValues, String parentFieldId, SoapNamedValues parentChildFieldValueMap, String helpText) throws RemoteException
Description copied from interface:IDocumentAppSoapAdds a custom single select field to documents.- Specified by:
addSingleSelectChildFieldin interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.projectId- The project in which to add the field to.fieldName- the name of the fieldfieldValues- Array of valid field valuesparentFieldId- The id of the parent fieldparentChildFieldValueMap- soapNamedValues which keeps mapping between parent field values and child valueshelpText- the help text for the field- Throws:
NoSuchObjectFault- when the specified object id or fieldData is invalidInvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.VersionMismatchFault- if the object has been updated since this fieldDO was fetchedIllegalArgumentFault- if the arguments are incorrectly specifiedInvalidOperationFault- if the operation is not allowedSystemFault- when an unexpected system error occurs.RemoteException
-
addSingleSelectField
public void addSingleSelectField(String sessionId, String projectId, String fieldName, boolean isRequired, boolean isDisabled, boolean isHiddenOnCreate, String[] fieldValues, String defaultValue, String helpText) throws RemoteException
Description copied from interface:IDocumentAppSoapAdds a custom single select field to documents.- Specified by:
addSingleSelectFieldin interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.projectId- The project in which to add the field to.fieldName- the name of the fieldisRequired- if the field is requiredisDisabled- if the field is disabledisHiddenOnCreate- if the field is hidden when first createdfieldValues- Array of valid field valuesdefaultValue- default valuehelpText- the help text for the field- Throws:
NoSuchObjectFault- when the specified object id or fieldData is invalidInvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.VersionMismatchFault- if the object has been updated since this fieldDO was fetchedIllegalArgumentFault- if the arguments are incorrectly specifiedInvalidOperationFault- if the operation is not allowedSystemFault- when an unexpected system error occurs.RemoteException
-
addMultiSelectField
public void addMultiSelectField(String sessionId, String projectId, String fieldName, int displayLines, boolean isRequired, boolean isDisabled, boolean isHiddenOnCreate, String[] fieldValues, String[] defaultValues, String helpText) throws RemoteException
Description copied from interface:IDocumentAppSoapAdds a custom multi select field to documents.- Specified by:
addMultiSelectFieldin interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.projectId- The project in which to add the field to.fieldName- the name of the fielddisplayLines- the height of the display areaisRequired- if the field is requiredisDisabled- if the field is disabledisHiddenOnCreate- if the field is hidden when first createdfieldValues- possible valuesdefaultValues- default valueshelpText- the help text for the field- Throws:
NoSuchObjectFault- when the specified object id or fieldData is invalidInvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.VersionMismatchFault- if the object has been updated since this fieldDO was fetchedIllegalArgumentFault- if the arguments are incorrectly specifiedInvalidOperationFault- if the operation is not allowedSystemFault- when an unexpected system error occurs.RemoteException
-
addUserSelectField
public void addUserSelectField(String sessionId, String projectId, String fieldName, int displayLines, boolean isRequired, boolean isDisabled, boolean isHiddenOnCreate, String[] defaultValues, String userFilter, String helpText) throws RemoteException
Description copied from interface:IDocumentAppSoapAdds a custom User selection field to documents.- Specified by:
addUserSelectFieldin interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.projectId- The project in which to add the field to.fieldName- the name of the fielddisplayLines- the height of the display areaisRequired- if the field is requiredisDisabled- if the field is disabledisHiddenOnCreate- if the field is hidden when first createddefaultValues- default values for this field. Must be valid usernamesuserFilter- is the filterhelpText- The help text of the field- Throws:
NoSuchObjectFault- when the specified object id or fieldData is invalidInvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.VersionMismatchFault- if the object has been updated since this fieldDO was fetchedIllegalArgumentFault- if the arguments are incorrectly specifiedInvalidOperationFault- if the operation is not allowedSystemFault- when an unexpected system error occurs.RemoteException- See Also:
DocumentFolderFieldSoapDO.FIELD_USER_FILTER_PROJECT_MEMBER,DocumentFolderFieldSoapDO.FIELD_USER_FILTER_ALL
-
addDateField
public void addDateField(String sessionId, String projectId, String fieldName, boolean isRequired, boolean isDisabled, boolean isHiddenOnCreate, String helpText) throws RemoteException
Description copied from interface:IDocumentAppSoapAdds a custom Date field to documents.- Specified by:
addDateFieldin interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.projectId- The project in which to add the field to.fieldName- the name of the fieldisRequired- if the field is requiredisDisabled- if the field is disabledisHiddenOnCreate- if the field is hidden when first createdhelpText- the help text of the field- Throws:
NoSuchObjectFault- when the specified object id or fieldData is invalidInvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.VersionMismatchFault- if the object has been updated since this fieldDO was fetchedIllegalArgumentFault- if the arguments are incorrectly specifiedInvalidOperationFault- if the operation is not allowedSystemFault- when an unexpected system error occurs.RemoteException
-
getFields
public DocumentFolderFieldSoapDO[] getFields(String sessionId, String projectId) throws RemoteException
Description copied from interface:IDocumentAppSoapReturns the custom/flex-fields associated with the given project's document root folder.- Specified by:
getFieldsin interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.projectId- The project for which to return the document fields information.- Returns:
- Array of all field values.
- Throws:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.NoSuchObjectFault- when the specified object id is invalid.SystemFault- when an unexpected system error occurs.RemoteException
-
setField
public void setField(String sessionId, DocumentFolderFieldSoapDO fieldData) throws RemoteException
Description copied from interface:IDocumentAppSoapSets a custom/flex-field.- Specified by:
setFieldin interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.fieldData- the custom/flex-field to associate with a specific folder- Throws:
NoSuchObjectFault- when the specified object id or fieldData is invalidInvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.VersionMismatchFault- if the object has been updated since this fieldDO was fetchedIllegalArgumentFault- if the arguments are incorrectly specified.InvalidOperationFault- if the operation is not allowed.SystemFault- when an unexpected system error occurs.DependencyViolationFault- if changing a status violates document dependencyRemoteException- See Also:
FaultSummary
-
deleteField
public void deleteField(String sessionId, String fieldId) throws RemoteException
Description copied from interface:IDocumentAppSoapDeletes a custom/flex-field.- Specified by:
deleteFieldin interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.fieldId- the id of the field to delete- Throws:
NoSuchObjectFault- when the specified object id or fieldData is invalidInvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.InvalidOperationFault- if the operation is not allowed.SystemFault- when an unexpected system error occurs.RemoteException
-
addSeparator
public void addSeparator(String sessionId, String projectId, String separatorType, String separatorLabel) throws RemoteException
Description copied from interface:IDocumentAppSoapAdds a separator to a document root folder.- Specified by:
addSeparatorin interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.projectId- The project in which to add the separator to.separatorType- the type of the separatorseparatorLabel- the label of the separator- Throws:
NoSuchObjectFault- when the specified object id is invalidInvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.IllegalArgumentFault- if the arguments are incorrectly specifiedSystemFault- when an unexpected system error occurs.ObjectAlreadyExistsFault- if a separator with the same id existsRemoteException
-
deleteSeparator
public void deleteSeparator(String sessionId, String layoutId) throws RemoteException
Description copied from interface:IDocumentAppSoapDeletes a separator of a document root folder layout.- Specified by:
deleteSeparatorin interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.layoutId- the layout id of the separator. To get the layout id, use getOrderedDocumentFolderFields().- Throws:
NoSuchObjectFault- when the specified object id is invalidInvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.IllegalArgumentFault- if the arguments are incorrectly specifiedInvalidOperationFault- if the operation is not allowedSystemFault- when an unexpected system error occurs.RemoteException
-
getOrderedDocumentFields
public OrderedDocumentFolderFieldSoapList getOrderedDocumentFields(String sessionId, String projectId) throws RemoteException
Description copied from interface:IDocumentAppSoapReturns all the custom/flex-fields and the separators associated with the given project's document root folder with layout information.- Specified by:
getOrderedDocumentFieldsin interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.projectId- The project for which to return the document fields information.- Returns:
- Array of all fields and separators.
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified object id is invalid.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.RemoteException
-
reorderDocumentFields
public void reorderDocumentFields(String sessionId, String projectId, String[] layoutIds) throws RemoteException
Description copied from interface:IDocumentAppSoapSets a new order of the fields and the separators within the given project's document root folder.- Specified by:
reorderDocumentFieldsin interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.projectId- The project in which all the document fields and the separators belong to.layoutIds- An array of layout ids which can be obtained by getOrderedDocumentFields().- Throws:
InvalidSessionFault- When the specified session id is invalid.NoSuchObjectFault- When any of the specified object id is invalid.IllegalArgumentFault- If invalid argument value is passed.PermissionDeniedFault- When the user has insufficient privileges.SystemFault- When an unexpected system level error occurs.RemoteException
-
-