public class DocumentAppSoapStub extends com.collabnet.ce.soap60.webservices.ClientSoapStub implements IDocumentAppSoap
Constructor and Description |
---|
DocumentAppSoapStub(String soapServerUrl) |
Modifier and Type | Method and Description |
---|---|
void |
addDateField(String sessionId,
String projectId,
String fieldName,
boolean isRequired,
boolean isDisabled,
boolean isHiddenOnCreate,
String helpText)
Adds a custom Date field to documents.
|
void |
addMultiSelectField(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.
|
void |
addSeparator(String sessionId,
String projectId,
String separatorType,
String separatorLabel)
Adds a separator to a document root folder.
|
void |
addSingleSelectChildField(String sessionId,
String projectId,
String fieldName,
String[] fieldValues,
String parentFieldId,
com.collabnet.ce.soap60.types.SoapNamedValues parentChildFieldValueMap,
String helpText)
Adds a custom single select field to documents.
|
void |
addSingleSelectField(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.
|
void |
addTextField(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.
|
void |
addUserSelectField(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.
|
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)
Creates a new document with the specified title, description, etc.
|
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)
Creates a new document with the specified title, description, etc.
|
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,
com.collabnet.ce.soap60.types.SoapFieldValues flexFields)
Creates a new document with the specified title, description, etc.
|
DocumentFolderSoapDO |
createDocumentFolder(String sessionId,
String parentId,
String title,
String description)
Creates a new document folder with the specified title, description, etc.
|
DocumentSoapDO |
createDocumentWithUrl(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. for a URL with an association.
|
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)
Creates a new document with the specified title, description, etc. for a URL with an association.
|
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,
com.collabnet.ce.soap60.types.SoapFieldValues flexFields)
Creates a new document with the specified title, description, etc. for a URL with an association.
|
DocumentReviewSoapDO |
createReview(String sessionId,
String documentId,
int version,
String title,
String description,
Date dueDate,
String[] requiredReviewers,
String[] optionalReviewers,
boolean attachDocument)
Creates a document review cycle
|
void |
deleteDocument(String sessionId,
String documentId)
Deletes a document.Locked document(s) cannot be deleted, When a locked document's id is passed to this API, a SystemFault will be thrown.
|
void |
deleteDocumentByVersions(String sessionId,
String documentId,
int[] versionNumbers)
Deletes particular version(s) of a document.Locked document version(s) cannot be deleted, When a locked document's id is passed to this API, a SystemFault will be thrown.
|
void |
deleteDocumentFolder(String sessionId,
String folderId)
Deletes a document folder with the specified id.
|
void |
deleteField(String sessionId,
String fieldId)
Deletes a custom/flex-field.
|
void |
deleteSeparator(String sessionId,
String layoutId)
Deletes a separator of a document root folder layout.
|
DocumentSoapList |
findDocuments(String sessionId,
String queryString,
String projectId,
boolean searchAttachments,
boolean currentVersionsOnly)
Finds a list of documents matching a search string.
|
Document2SoapList |
findDocuments2(String sessionId,
String queryString,
String projectId,
boolean searchAttachments,
boolean currentVersionsOnly)
Finds a list of documents matching a search string.
|
Document3SoapList |
findDocuments3(String sessionId,
String queryString,
String projectId,
boolean searchAttachments,
boolean currentVersionsOnly)
Finds a list of documents matching a search string.
|
DocumentReviewSoapList |
getAssignedDocumentReviewList(String sessionId,
String username)
Lists all document reviews assigned to a user for review.
|
DocumentSoapDO |
getDocumentData(String sessionId,
String documentId,
int documentVersion)
Gets specified document data.
|
Document2SoapDO |
getDocumentData2(String sessionId,
String documentId,
int documentVersion)
Gets specified document data.
|
Document3SoapDO |
getDocumentData3(String sessionId,
String documentId,
int documentVersion)
Gets specified document data.
|
String |
getDocumentFileId(String sessionId,
String documentId,
int documentVersion)
Returns a the file id associated with the document file.
|
DocumentFolderSoapDO |
getDocumentFolderData(String sessionId,
String folderId)
Gets detailed data on a document folder
|
DocumentFolderSoapList |
getDocumentFolderList(String sessionId,
String parentId,
boolean recursive)
Lists document folders.
|
DocumentSoapList |
getDocumentList(String sessionId,
String parentId,
com.collabnet.ce.soap60.types.SoapFilter[] filters)
Lists all documents within a document folder.
|
Document2SoapList |
getDocumentList2(String sessionId,
String parentId,
com.collabnet.ce.soap60.types.SoapFilter[] filters)
Lists all documents within a document folder.
|
Document3SoapList |
getDocumentList3(String sessionId,
String documentFolderId,
com.collabnet.ce.soap60.types.SoapFilter[] filters)
Lists all documents within a document folder.
|
DocumentReviewSoapList |
getDocumentReviewList(String sessionId,
String containerId,
com.collabnet.ce.soap60.types.SoapFilter[] filters)
Lists all document reviews within a project or a document.
|
Document2SoapList |
getDocumentVersions(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.
|
OrderedDocumentFolderFieldSoapList |
getOrderedDocumentFields(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.
|
DocumentSoapDO |
moveDocument(String sessionId,
String documentId,
String targetFolderId)
Moves a document to a specified target folder.
|
Document2SoapDO |
moveDocument2(String sessionId,
String documentId,
String targetFolderId)
Moves a document to a specified target folder.
|
Document3SoapDO |
moveDocument3(String sessionId,
String documentId,
String targetFolderId)
Moves a document to a specified target folder.
|
DocumentFolderSoapDO |
moveDocumentFolder(String sessionId,
String folderId,
String destFolderId)
Moves document folder
|
void |
reorderDocumentFields(String sessionId,
String projectId,
String[] layoutIds)
Sets a new order of the fields and the separators within the given project's document root folder.
|
void |
setDocumentData(String sessionId,
DocumentSoapDO documentData,
String fileId)
Sets specified document data.
|
void |
setDocumentData2(String sessionId,
Document2SoapDO documentData,
String fileId)
Sets specified document data.
|
void |
setDocumentData3(String sessionId,
Document3SoapDO documentData,
String fileId)
Sets specified document data.
|
void |
setDocumentDataWithAssociation(String sessionId,
DocumentSoapDO documentData,
String fileId,
String associationId,
String associationComment)
Sets specified document data with Association.
|
void |
setDocumentDataWithAssociation2(String sessionId,
Document2SoapDO documentData,
String fileId,
String associationId,
String associationComment)
Sets specified document data with association.
|
void |
setDocumentDataWithAssociation3(String sessionId,
Document3SoapDO documentData,
String fileId,
String associationId,
String associationComment)
Sets specified document data with association.
|
void |
setDocumentFolderData(String sessionId,
DocumentFolderSoapDO documentFolderData)
Sets detailed data on a document folder
|
void |
setField(String sessionId,
DocumentFolderFieldSoapDO fieldData)
Sets a custom/flex-field.
|
public DocumentAppSoapStub(String soapServerUrl)
public DocumentFolderSoapList getDocumentFolderList(String sessionId, String parentId, boolean recursive) throws RemoteException
IDocumentAppSoap
getDocumentFolderList
in interface IDocumentAppSoap
sessionId
- SOAP session id.parentId
- Parent document folder id -or- project id for listing root document folder.recursive
- Show subfolders of the folders returned b)When project id is passed with recursive = true, the user obtains all the document folders and descendants for which the user has permission.
c)When a document folder id is passed with recursive = false, the first matching child folders in the tree from the passed folder for which the user has permission are retrieved.(Not the passed folder)
d)When a document folder id is passed with recursive = true, the children folders and descendants which the user has permission are retrieved.(Not the passed folder)
com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the sessionId is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when permission is denied for the specified operation.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object is invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
public void setDocumentFolderData(String sessionId, DocumentFolderSoapDO documentFolderData) throws RemoteException
IDocumentAppSoap
setDocumentFolderData
in interface IDocumentAppSoap
sessionId
- SOAP session id.documentFolderData
- Data to apply.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the sessionId is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when permission is denied for the specified operation.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object id does not exist.com.collabnet.ce.soap60.fault.VersionMismatchFault
- when the specified object has changed in SourceForge.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
public DocumentFolderSoapDO getDocumentFolderData(String sessionId, String folderId) throws RemoteException
IDocumentAppSoap
getDocumentFolderData
in interface IDocumentAppSoap
sessionId
- SOAP session id.folderId
- Folder id to get detailed data for.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the sessionId is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when permission is denied for the specified operation.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object id does not exist.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- when an argument is invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
public DocumentReviewSoapList getAssignedDocumentReviewList(String sessionId, String username) throws RemoteException
IDocumentAppSoap
getAssignedDocumentReviewList
in interface IDocumentAppSoap
sessionId
- SOAP session id.username
- User to whom reviews are assigned for review (required or optional).com.collabnet.ce.soap60.fault.InvalidSessionFault
- when sessionId is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified user does not exist.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when permission is denied.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
public DocumentReviewSoapList getDocumentReviewList(String sessionId, String containerId, com.collabnet.ce.soap60.types.SoapFilter[] filters) throws RemoteException
IDocumentAppSoap
getDocumentReviewList
in interface IDocumentAppSoap
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.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when sessionId is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the document does not exist.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when permission is denied.com.collabnet.ce.soap60.fault.InvalidFilterFault
- when the specified filters are invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
public DocumentReviewSoapDO createReview(String sessionId, String documentId, int version, String title, String description, Date dueDate, String[] requiredReviewers, String[] optionalReviewers, boolean attachDocument) throws RemoteException
IDocumentAppSoap
createReview
in interface IDocumentAppSoap
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 notcom.collabnet.ce.soap60.fault.InvalidSessionFault
- when sessionId is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when there is no document corresponding to the document Idcom.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privilegescom.collabnet.ce.soap60.fault.IllegalArgumentFault
- for incorrect arguments. This can happen if the required reviewers array is empty (or) if the username in either required or optional reviewers is not valid (or) a user was specified a both a required reviewer and an optional reviewer (or) The dueDate was a date in the past.com.collabnet.ce.soap60.fault.ObjectAlreadyExistsFault
- if the review already exists on this documentcom.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
public DocumentSoapList getDocumentList(String sessionId, String parentId, com.collabnet.ce.soap60.types.SoapFilter[] filters) throws RemoteException
IDocumentAppSoap
filters
for future use. Must be null or empty for now.getDocumentList
in interface IDocumentAppSoap
sessionId
- SOAP session id.parentId
- Document folder id (obtained from getDocumentFolderList).filters
- not supported.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the sessionId is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when permission is denied for the specified operation.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object is invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.com.collabnet.ce.soap60.fault.InvalidFilterFault
- when an invalid filter is specified.RemoteException
public Document2SoapList getDocumentList2(String sessionId, String parentId, com.collabnet.ce.soap60.types.SoapFilter[] filters) throws RemoteException
IDocumentAppSoap
filters
for future use. Must be null or empty for now.getDocumentList2
in interface IDocumentAppSoap
sessionId
- SOAP session id.parentId
- Document folder id (obtained from getDocumentFolderList).filters
- not supported.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the sessionId is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when permission is denied for the specified operation.com.collabnet.ce.soap60.fault.InvalidFilterFault
- when an invalid filter is specified.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
public Document3SoapList getDocumentList3(String sessionId, String documentFolderId, com.collabnet.ce.soap60.types.SoapFilter[] filters) throws RemoteException
IDocumentAppSoap
filters
for future use. Must be null or empty for now.getDocumentList3
in interface IDocumentAppSoap
sessionId
- SOAP session id.documentFolderId
- Document folder id (obtained from getDocumentFolderList).filters
- not supported.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the sessionId is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when permission is denied for the specified operation.com.collabnet.ce.soap60.fault.InvalidFilterFault
- when an invalid filter is specified.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
public DocumentSoapList findDocuments(String sessionId, String queryString, String projectId, boolean searchAttachments, boolean currentVersionsOnly) throws RemoteException
IDocumentAppSoap
findDocuments
in interface IDocumentAppSoap
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.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified project id is invalid.com.collabnet.ce.soap60.fault.SearchQuerySyntaxFault
- when the specified search query string is syntactically invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system level error occurs.RemoteException
public Document2SoapList findDocuments2(String sessionId, String queryString, String projectId, boolean searchAttachments, boolean currentVersionsOnly) throws RemoteException
IDocumentAppSoap
findDocuments2
in interface IDocumentAppSoap
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.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified project id is invalid.com.collabnet.ce.soap60.fault.SearchQuerySyntaxFault
- when the specified search query string is syntactically invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system level error occurs.RemoteException
public Document3SoapList findDocuments3(String sessionId, String queryString, String projectId, boolean searchAttachments, boolean currentVersionsOnly) throws RemoteException
IDocumentAppSoap
findDocuments3
in interface IDocumentAppSoap
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.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified project id is invalid.com.collabnet.ce.soap60.fault.SearchQuerySyntaxFault
- when the specified search query string is syntactically invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system level error occurs.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- when the specified query string is invalid.RemoteException
public DocumentFolderSoapDO createDocumentFolder(String sessionId, String parentId, String title, String description) throws RemoteException
IDocumentAppSoap
createDocumentFolder
in interface IDocumentAppSoap
sessionId
- SOAP session id.parentId
- Folder id in which to create this folder.title
- Document folder title.description
- Document folder description.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the sessionId is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when permission is denied for the specified operation.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when a specified object is invalid.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- when one or more of the parameters are invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.com.collabnet.ce.soap60.fault.ObjectAlreadyExistsFault
- when the document folder specified already exists.RemoteException
public DocumentFolderSoapDO moveDocumentFolder(String sessionId, String folderId, String destFolderId) throws RemoteException
IDocumentAppSoap
moveDocumentFolder
in interface IDocumentAppSoap
sessionId
- SOAP session id.folderId
- ID of folder to move.destFolderId
- ID of destination foldercom.collabnet.ce.soap60.fault.InvalidSessionFault
- sessionId is invalidcom.collabnet.ce.soap60.fault.PermissionDeniedFault
- permission is denied for the specified operationcom.collabnet.ce.soap60.fault.NoSuchObjectFault
- specified object is invalidcom.collabnet.ce.soap60.fault.SystemFault
- unexpected system errorRemoteException
public void deleteDocumentFolder(String sessionId, String folderId) throws RemoteException
IDocumentAppSoap
deleteDocumentFolder
in interface IDocumentAppSoap
sessionId
- SOAP session id.folderId
- Folder id to delete.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the sessionId is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when permission is denied for the specified operation.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object is invalidcom.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- when one or more of the parameters are invalid.com.collabnet.ce.soap60.fault.InvalidOperationFault
- when attempted to delete top-level document folder.RemoteException
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
IDocumentAppSoap
createDocument
in interface IDocumentAppSoap
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 associated, can be set to null if the site is not configured to have association mandatory. The association is set only if the configuration is turned on.associationDesc
- The title of the object associatedcom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the sessionId is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when permission is denied for the specified operation.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object is invalid.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- when one or more of the parameters are invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.com.collabnet.ce.soap60.fault.InvalidAssociationFault
- when an invalid association object is passed.RemoteException
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
IDocumentAppSoap
createDocument2
in interface IDocumentAppSoap
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? Note: createDownloadRestricted and allowForceUnlock can be set to true, only if createLocked is true.
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 null if the site is not configured to have association mandatory. The association is set only if the configuration is turned on.associationDesc
- The title of the object associatedcom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the sessionId is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when permission is denied for the specified operation.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object is invalid.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- when one or more of the parameters are invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.com.collabnet.ce.soap60.fault.InvalidAssociationFault
- when an invalid association object is passed.RemoteException
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, com.collabnet.ce.soap60.types.SoapFieldValues flexFields) throws RemoteException
IDocumentAppSoap
createDocument3
in interface IDocumentAppSoap
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? Note: createDownloadRestricted and allowForceUnlock can be set to true, only if createLocked is true.
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 null if the site is not configured to have association mandatory. The association is set only if the configuration is turned on.associationDesc
- The title of the object associatedflexFields
- Flex field valuescom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the sessionId is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when permission is denied for the specified operation.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object is invalid.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- when one or more of the parameters are invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.com.collabnet.ce.soap60.fault.InvalidAssociationFault
- when an invalid association object is passed.com.collabnet.ce.soap60.fault.WorkflowViolationFault
- when the workflow is violated.RemoteException
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
IDocumentAppSoap
createDocumentWithUrl
in interface IDocumentAppSoap
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 associated, can be set to null if the site is not configured to have association mandatory. The association is set only if the configuration is turned on.associationDesc
- association commentcom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the sessionId is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when permission is denied for the specified operation.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object is invalid.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- when one or more of the parameters are invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.com.collabnet.ce.soap60.fault.InvalidDocumentContentFault
- Only one of fileKey or fileUrl should be set. This failedcom.collabnet.ce.soap60.fault.InvalidAssociationFault
- when an invalid association object is passed.RemoteException
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
IDocumentAppSoap
createDocumentWithUrl2
in interface IDocumentAppSoap
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? Note: createDownloadRestricted and allowForceUnlock can be set to true, only if createLocked is true.
fileUrl
- the file URL of the documentassociationId
- id of the object to be associated, can be set to null if the site is not configured to have association mandatory. The association is set only if the configuration is turned on.associationDesc
- association commentcom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the sessionId is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when permission is denied for the specified operation.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object is invalid.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- when one or more of the parameters are invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.com.collabnet.ce.soap60.fault.InvalidDocumentContentFault
- Only one of fileKey or fileUrl should be set. This failedcom.collabnet.ce.soap60.fault.InvalidAssociationFault
- when an invalid association object is passed.RemoteException
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, com.collabnet.ce.soap60.types.SoapFieldValues flexFields) throws RemoteException
IDocumentAppSoap
createDocumentWithUrl3
in interface IDocumentAppSoap
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? Note: createDownloadRestricted and allowForceUnlock can be set to true, only if createLocked is true.
fileUrl
- the file URL of the documentassociationId
- id of the object to be associated, can be set to null if the site is not configured to have association mandatory. The association is set only if the configuration is turned on.associationDesc
- association commentflexFields
- Flex field valuescom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the sessionId is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when permission is denied for the specified operation.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object is invalid.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- when one or more of the parameters are invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.com.collabnet.ce.soap60.fault.InvalidDocumentContentFault
- Only one of fileKey or fileUrl should be set. This failedcom.collabnet.ce.soap60.fault.InvalidAssociationFault
- when an invalid association object is passed.com.collabnet.ce.soap60.fault.WorkflowViolationFault
- when the workflow is violated.RemoteException
public DocumentSoapDO moveDocument(String sessionId, String documentId, String targetFolderId) throws RemoteException
IDocumentAppSoap
moveDocument
in interface IDocumentAppSoap
sessionId
- User session id.documentId
- ID of document to move.targetFolderId
- Target folder ID.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the sessionId is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when permission is denied for the specified operation.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object is invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
public Document2SoapDO moveDocument2(String sessionId, String documentId, String targetFolderId) throws RemoteException
IDocumentAppSoap
moveDocument2
in interface IDocumentAppSoap
sessionId
- User session id.documentId
- ID of document to move.targetFolderId
- Target folder ID.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the sessionId is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when permission is denied for the specified operation.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
public Document3SoapDO moveDocument3(String sessionId, String documentId, String targetFolderId) throws RemoteException
IDocumentAppSoap
moveDocument3
in interface IDocumentAppSoap
sessionId
- User session id.documentId
- ID of document to move.targetFolderId
- Target folder ID.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the sessionId is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when permission is denied for the specified operation.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- when one or more of the parameters are invalid.RemoteException
public void deleteDocument(String sessionId, String documentId) throws RemoteException
IDocumentAppSoap
deleteDocument
in interface IDocumentAppSoap
sessionId
- User session id.documentId
- Document id.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the sessionId is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when permission is denied for the specified operation.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object is invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
public DocumentSoapDO getDocumentData(String sessionId, String documentId, int documentVersion) throws RemoteException
IDocumentAppSoap
getDocumentData
in interface IDocumentAppSoap
sessionId
- User session id.documentId
- Document id.documentVersion
- Document version number (specify zero for current version).com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the sessionId is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when permission is denied for the specified operation.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object is invalid.com.collabnet.ce.soap60.fault.NoSuchVersionFault
- when the specified version is invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
public Document2SoapDO getDocumentData2(String sessionId, String documentId, int documentVersion) throws RemoteException
IDocumentAppSoap
getDocumentData2
in interface IDocumentAppSoap
sessionId
- User session id.documentId
- Document id.documentVersion
- Document version number (specify zero for current version).com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the sessionId is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object is invalid.com.collabnet.ce.soap60.fault.NoSuchVersionFault
- when the specified version is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when permission is denied for the specified operation.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
public Document3SoapDO getDocumentData3(String sessionId, String documentId, int documentVersion) throws RemoteException
IDocumentAppSoap
getDocumentData3
in interface IDocumentAppSoap
sessionId
- User session id.documentId
- Document id.documentVersion
- Document version number (specify zero for current version).com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the sessionId is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object is invalid.com.collabnet.ce.soap60.fault.NoSuchVersionFault
- when the specified version is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when permission is denied for the specified operation.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
public void setDocumentData(String sessionId, DocumentSoapDO documentData, String fileId) throws RemoteException
IDocumentAppSoap
setDocumentData
in interface IDocumentAppSoap
sessionId
- User session id.documentData
- Document data object.fileId
- Uploaded file id (through FileStorageApp or SimpleFileStorageApp service).com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the sessionId is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when permission is denied for the specified operation.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- when document data information is invalid.com.collabnet.ce.soap60.fault.VersionMismatchFault
- when document data is stale.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.com.collabnet.ce.soap60.fault.InvalidDocumentContentFault
- Only one of fileKey or fileUrl should be set. This failedRemoteException
public void setDocumentData2(String sessionId, Document2SoapDO documentData, String fileId) throws RemoteException
IDocumentAppSoap
setDocumentData2
in interface IDocumentAppSoap
sessionId
- User session id.documentData
- Document data object.fileId
- Uploaded file id (through FileStorageApp or SimpleFileStorageApp service).com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the sessionId is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when permission is denied for the specified operation.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- when document data information is invalid.com.collabnet.ce.soap60.fault.VersionMismatchFault
- when document data is stale.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.com.collabnet.ce.soap60.fault.InvalidDocumentContentFault
- Only one of fileKey or fileUrl should be set. This failedRemoteException
public void setDocumentData3(String sessionId, Document3SoapDO documentData, String fileId) throws RemoteException
IDocumentAppSoap
setDocumentData3
in interface IDocumentAppSoap
sessionId
- User session id.documentData
- Document data object.fileId
- Uploaded file id (through FileStorageApp or SimpleFileStorageApp service).com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the sessionId is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when permission is denied for the specified operation.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- when document data information is invalid.com.collabnet.ce.soap60.fault.VersionMismatchFault
- when document data is stale.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.com.collabnet.ce.soap60.fault.InvalidDocumentContentFault
- Only one of fileKey or fileUrl should be set. This failedcom.collabnet.ce.soap60.fault.WorkflowViolationFault
- when the workflow is violatedRemoteException
public void setDocumentDataWithAssociation(String sessionId, DocumentSoapDO documentData, String fileId, String associationId, String associationComment) throws RemoteException
IDocumentAppSoap
setDocumentDataWithAssociation
in interface IDocumentAppSoap
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 associationcom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the sessionId is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when permission is denied for the specified operation.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- when document data information is invalid.com.collabnet.ce.soap60.fault.VersionMismatchFault
- when document data is stale.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.com.collabnet.ce.soap60.fault.InvalidDocumentContentFault
- Only one of fileKey or fileUrl should be set. This failedcom.collabnet.ce.soap60.fault.InvalidAssociationFault
- when an invalid association object is passed.RemoteException
public void setDocumentDataWithAssociation2(String sessionId, Document2SoapDO documentData, String fileId, String associationId, String associationComment) throws RemoteException
IDocumentAppSoap
setDocumentDataWithAssociation2
in interface IDocumentAppSoap
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 associationcom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the sessionId is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when permission is denied for the specified operation.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- when document data information is invalid.com.collabnet.ce.soap60.fault.VersionMismatchFault
- when document data is stale.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.com.collabnet.ce.soap60.fault.InvalidDocumentContentFault
- Only one of fileKey or fileUrl should be set. This failedcom.collabnet.ce.soap60.fault.InvalidAssociationFault
- when an invalid association object is passed.RemoteException
public void setDocumentDataWithAssociation3(String sessionId, Document3SoapDO documentData, String fileId, String associationId, String associationComment) throws RemoteException
IDocumentAppSoap
setDocumentDataWithAssociation3
in interface IDocumentAppSoap
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 associationcom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the sessionId is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when permission is denied for the specified operation.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- when document data information is invalid.com.collabnet.ce.soap60.fault.VersionMismatchFault
- when document data is stale.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.com.collabnet.ce.soap60.fault.InvalidDocumentContentFault
- Only one of fileKey or fileUrl should be set. This failedcom.collabnet.ce.soap60.fault.InvalidAssociationFault
- when an invalid association object is passed.com.collabnet.ce.soap60.fault.WorkflowViolationFault
- when the workflow is violatedRemoteException
public String getDocumentFileId(String sessionId, String documentId, int documentVersion) throws RemoteException
IDocumentAppSoap
getDocumentFileId
in interface IDocumentAppSoap
sessionId
- User session id.documentId
- document id.documentVersion
- document version number (specify zero for current version).com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the sessionId is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when permission is denied for the specified operation.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object is invalid.com.collabnet.ce.soap60.fault.NoSuchVersionFault
- when the specified version is invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
public Document2SoapList getDocumentVersions(String sessionId, String documentId, boolean includeDeletedVersions) throws RemoteException
IDocumentAppSoap
getDocumentVersions
in interface IDocumentAppSoap
sessionId
- SOAP session id.documentId
- Document id.includeDeletedVersions
- Flag to indicate if the deleted versions of the document are to be fetched.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the sessionId is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when permission is denied for the specified operation.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object is invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.com.collabnet.ce.soap60.fault.InvalidFilterFault
- when an invalid filter is specified.RemoteException
public void deleteDocumentByVersions(String sessionId, String documentId, int[] versionNumbers) throws RemoteException
IDocumentAppSoap
Note: Deleted document version(s) cannot be recovered, as they will be permanently deleted from the system.
deleteDocumentByVersions
in interface IDocumentAppSoap
sessionId
- User session id.documentId
- Document id.versionNumbers
- Versions of the document to be deletedcom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the sessionId is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified document Id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when permission is denied for the specified operation.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- for incorrect arguments. This can happen if the versionNumbers array is empty (or) if any of the versionNumbers is not valid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.com.collabnet.ce.soap60.fault.SearchQuerySyntaxFault
- when the specified search query string is syntactically invalid.com.collabnet.ce.soap60.fault.CannotDeleteDocumentVersionFault
- when the user tries to delete the active version of the document.RemoteException
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
IDocumentAppSoap
addTextField
in interface IDocumentAppSoap
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 patterncom.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object id or fieldData is invalidcom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges.com.collabnet.ce.soap60.fault.VersionMismatchFault
- if the object has been updated since this fieldDO was fetchedcom.collabnet.ce.soap60.fault.IllegalArgumentFault
- if the arguments are incorrectly specifiedcom.collabnet.ce.soap60.fault.InvalidOperationFault
- if the operation is not allowedcom.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
public void addSingleSelectChildField(String sessionId, String projectId, String fieldName, String[] fieldValues, String parentFieldId, com.collabnet.ce.soap60.types.SoapNamedValues parentChildFieldValueMap, String helpText) throws RemoteException
IDocumentAppSoap
addSingleSelectChildField
in interface IDocumentAppSoap
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 fieldcom.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object id or fieldData is invalidcom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges.com.collabnet.ce.soap60.fault.VersionMismatchFault
- if the object has been updated since this fieldDO was fetchedcom.collabnet.ce.soap60.fault.IllegalArgumentFault
- if the arguments are incorrectly specifiedcom.collabnet.ce.soap60.fault.InvalidOperationFault
- if the operation is not allowedcom.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
public void addSingleSelectField(String sessionId, String projectId, String fieldName, boolean isRequired, boolean isDisabled, boolean isHiddenOnCreate, String[] fieldValues, String defaultValue, String helpText) throws RemoteException
IDocumentAppSoap
addSingleSelectField
in interface IDocumentAppSoap
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 fieldcom.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object id or fieldData is invalidcom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges.com.collabnet.ce.soap60.fault.VersionMismatchFault
- if the object has been updated since this fieldDO was fetchedcom.collabnet.ce.soap60.fault.IllegalArgumentFault
- if the arguments are incorrectly specifiedcom.collabnet.ce.soap60.fault.InvalidOperationFault
- if the operation is not allowedcom.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
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
IDocumentAppSoap
addMultiSelectField
in interface IDocumentAppSoap
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 fieldcom.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object id or fieldData is invalidcom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges.com.collabnet.ce.soap60.fault.VersionMismatchFault
- if the object has been updated since this fieldDO was fetchedcom.collabnet.ce.soap60.fault.IllegalArgumentFault
- if the arguments are incorrectly specifiedcom.collabnet.ce.soap60.fault.InvalidOperationFault
- if the operation is not allowedcom.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
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
IDocumentAppSoap
addUserSelectField
in interface IDocumentAppSoap
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 fieldcom.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object id or fieldData is invalidcom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges.com.collabnet.ce.soap60.fault.VersionMismatchFault
- if the object has been updated since this fieldDO was fetchedcom.collabnet.ce.soap60.fault.IllegalArgumentFault
- if the arguments are incorrectly specifiedcom.collabnet.ce.soap60.fault.InvalidOperationFault
- if the operation is not allowedcom.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
DocumentFolderFieldSoapDO.FIELD_USER_FILTER_PROJECT_MEMBER
,
DocumentFolderFieldSoapDO.FIELD_USER_FILTER_ALL
public void addDateField(String sessionId, String projectId, String fieldName, boolean isRequired, boolean isDisabled, boolean isHiddenOnCreate, String helpText) throws RemoteException
IDocumentAppSoap
addDateField
in interface IDocumentAppSoap
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 fieldcom.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object id or fieldData is invalidcom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges.com.collabnet.ce.soap60.fault.VersionMismatchFault
- if the object has been updated since this fieldDO was fetchedcom.collabnet.ce.soap60.fault.IllegalArgumentFault
- if the arguments are incorrectly specifiedcom.collabnet.ce.soap60.fault.InvalidOperationFault
- if the operation is not allowedcom.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
public DocumentFolderFieldSoapDO[] getFields(String sessionId, String projectId) throws RemoteException
IDocumentAppSoap
getFields
in interface IDocumentAppSoap
sessionId
- User session id.projectId
- The project for which to return the document fields information.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object id is invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
public void setField(String sessionId, DocumentFolderFieldSoapDO fieldData) throws RemoteException
IDocumentAppSoap
setField
in interface IDocumentAppSoap
sessionId
- User session id.fieldData
- the custom/flex-field to associate with a specific foldercom.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object id or fieldData is invalidcom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges.com.collabnet.ce.soap60.fault.VersionMismatchFault
- if the object has been updated since this fieldDO was fetchedcom.collabnet.ce.soap60.fault.IllegalArgumentFault
- if the arguments are incorrectly specified. See FaultSummary for detail for the following: - DUPLICATE_FIELD_VALUE - ILLEGAL_FIELD_VALUE - INVALID_FIELD_VALUE - INVALID_DEFAULT_VALUE - INVALID_FIELD_OPTIONS_REQUIRED_DISABLED - INVALID_FIELD_VALUE_LENGTH - REQUIRED_FIELD_MISSING - INVALID_FIELD_PATTERNcom.collabnet.ce.soap60.fault.InvalidOperationFault
- if the operation is not allowed. See FaultSummary for detail for the following: - INVALID_OPTION_DISABLE_RESERVED_FIELD - INVALID_OPTION_DISABLE_IN_USE_FIELDcom.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.com.collabnet.ce.soap60.fault.DependencyViolationFault
- if changing a status violates document dependencyRemoteException
FaultSummary
public void deleteField(String sessionId, String fieldId) throws RemoteException
IDocumentAppSoap
deleteField
in interface IDocumentAppSoap
sessionId
- User session id.fieldId
- the id of the field to deletecom.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object id or fieldData is invalidcom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges.com.collabnet.ce.soap60.fault.InvalidOperationFault
- if the operation is not allowed.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
public void addSeparator(String sessionId, String projectId, String separatorType, String separatorLabel) throws RemoteException
IDocumentAppSoap
addSeparator
in interface IDocumentAppSoap
sessionId
- User session id.projectId
- The project in which to add the separator to.separatorType
- the type of the separator, either OrderedDocumentFolderFieldSoapRow.ROW_SEPARATOR, OrderedDocumentFolderFieldSoapRow.COLUMN_SEPARATOR or OrderedDocumentFolderFieldSoapRow .SECTION_SEPARATOR.separatorLabel
- the label of the separatorcom.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object id is invalidcom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- if the arguments are incorrectly specifiedcom.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.com.collabnet.ce.soap60.fault.ObjectAlreadyExistsFault
- if a separator with the same id existsRemoteException
public void deleteSeparator(String sessionId, String layoutId) throws RemoteException
IDocumentAppSoap
deleteSeparator
in interface IDocumentAppSoap
sessionId
- User session id.layoutId
- the layout id of the separator. To get the layout id, use getOrderedDocumentFolderFields().com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object id is invalidcom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- if the arguments are incorrectly specifiedcom.collabnet.ce.soap60.fault.InvalidOperationFault
- if the operation is not allowedcom.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
public OrderedDocumentFolderFieldSoapList getOrderedDocumentFields(String sessionId, String projectId) throws RemoteException
IDocumentAppSoap
getOrderedDocumentFields
in interface IDocumentAppSoap
sessionId
- User session id.projectId
- The project for which to return the document fields information.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
public void reorderDocumentFields(String sessionId, String projectId, String[] layoutIds) throws RemoteException
IDocumentAppSoap
reorderDocumentFields
in interface IDocumentAppSoap
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(). Layout id is different from field id and some system fields and separators do not have field id but only layout id.com.collabnet.ce.soap60.fault.InvalidSessionFault
- When the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- When any of the specified object id is invalid.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- If invalid argument value is passed.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- When the user has insufficient privileges.com.collabnet.ce.soap60.fault.SystemFault
- When an unexpected system level error occurs.RemoteException
Copyright © 2017 CollabNet. All Rights Reserved.