Class DocumentAppSoapMockStub
java.lang.Object
com.collabnet.ce.soap60.webservices.ClientSoapStub
com.collabnet.ce.soap60.webservices.ClientSoapMockStub
com.collabnet.ce.soap60.webservices.docman.DocumentAppSoapMockStub
- All Implemented Interfaces:
IDocumentAppSoap
-
Field Summary
Fields inherited from class com.collabnet.ce.soap60.webservices.ClientSoapMockStub
DATE_WILDCARD, GUIDKEY_WILDCARD, INTEGER_WILDCARD, LONG_WILDCARD, STRING_WILDCARD
Fields inherited from class com.collabnet.ce.soap60.webservices.ClientSoapStub
DEFAULT_CLIENT_TIME_OUT
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addDateField
(String sessionId, String projectId, String fieldName, boolean isRequired, boolean isDisabled, boolean isHiddenOnCreate, String helpText) Simulate a call to addDateFieldvoid
addField
(String sessionId, String projectId, String fieldName, com.vasoftware.sf.server.services.field.FieldDisplayType fieldType, int displayColumns, int displayRows, boolean isRequired, boolean isDisabled, boolean isHiddenOnCreate, String[] fieldValues, String[] defaultFieldValues, String helpText, String pattern) Simulate a call to addFieldvoid
addMultiSelectField
(String sessionId, String projectId, String fieldName, int displayLines, boolean isRequired, boolean isDisabled, boolean isHiddenOnCreate, String[] fieldValues, String[] defaultValues, String helpText) Simulate a call to addMultiSelectFieldvoid
addSeparator
(String sessionId, String projectId, String separatorType, String separatorLabel) Simulate a call to addSeparatorvoid
addSingleSelectChildField
(String sessionId, String projectId, String fieldName, String[] fieldValues, String parentFieldId, SoapNamedValues parentChildFieldValueMap, String helpText) Simulate a call to addSingleSelectChildFieldvoid
addSingleSelectField
(String sessionId, String projectId, String fieldName, boolean isRequired, boolean isDisabled, boolean isHiddenOnCreate, String[] fieldValues, String defaultValue, String helpText) Simulate a call to addSingleSelectFieldvoid
addTextField
(String sessionId, String projectId, String fieldName, int displayColumns, int displayLines, boolean isRequired, boolean isDisabled, boolean isHiddenOnCreate, String defaultValue, String helpText, String pattern) Simulate a call to addTextFieldvoid
addUserSelectField
(String sessionId, String projectId, String fieldName, int displayLines, boolean isRequired, boolean isDisabled, boolean isHiddenOnCreate, String[] defaultValues, String userFilter, String helpText) Simulate a call to addUserSelectFieldboolean
checkPermissionForView
(com.vasoftware.sf.server.types.UserSessionKey sessionKey, String username, com.vasoftware.sf.server.types.ObjectKey targetKey) Simulate a call to checkPermissionForViewcom.vasoftware.sf.server.services.docman.DocumentDO
createDocument
(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) Simulate a call to createDocumentcreateDocument
(String sessionId, String parentId, String title, String description, String versionComment, String status, boolean createLocked, String fileName, String mimeType, String fileId, String associationId, String associationDesc) Deprecated.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) Deprecated.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) Simulate a call to createDocument3createDocumentFolder
(String sessionId, String parentId, String title, String description) Simulate a call to createDocumentFoldercom.vasoftware.sf.server.services.docman.DocumentDO
createDocumentWithUrl
(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) Simulate a call to createDocumentWithUrlcreateDocumentWithUrl
(String sessionId, String parentId, String title, String description, String versionComment, String status, boolean createLocked, String fileUrl, String associationId, String associationDesc) Deprecated.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) Deprecated.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) Simulate a call to createDocumentWithUrl3createReview
(String sessionId, String documentId, int version, String title, String description, Date dueDate, String[] requiredReviewers, String[] optionalReviewers, boolean attachDocument) Simulate a call to createReviewvoid
deleteDocument
(String sessionId, String documentId) Simulate a call to deleteDocumentvoid
deleteDocumentByVersions
(String sessionId, String documentId, int[] versionNumbers) Simulate a call to deleteDocumentByVersionsvoid
deleteDocumentFolder
(String sessionId, String folderId) Simulate a call to deleteDocumentFoldervoid
deleteField
(String sessionId, String fieldId) Simulate a call to deleteFieldvoid
deleteSeparator
(String sessionId, String layoutId) Simulate a call to deleteSeparatorfindDocuments
(String sessionId, String queryString, String projectId, boolean searchAttachments, boolean currentVersionsOnly) Deprecated.findDocuments2
(String sessionId, String queryString, String projectId, boolean searchAttachments, boolean currentVersionsOnly) Simulate a call to findDocuments2findDocuments3
(String sessionId, String queryString, String projectId, boolean searchAttachments, boolean currentVersionsOnly) Simulate a call to findDocuments3com.vasoftware.sf.server.services.docman.DocumentList
findDocumentsList
(String sessionId, String queryString, String projectId, boolean searchAttachments, boolean currentVersionsOnly) Simulate a call to findDocumentsListcom.vasoftware.sf.server.services.docman.DocumentList
findDocumentsList2
(String sessionId, String queryString, String projectId, boolean searchAttachments, boolean currentVersionsOnly) Simulate a call to findDocumentsList2getAssignedDocumentReviewList
(String sessionId, String username) Simulate a call to getAssignedDocumentReviewListcom.vasoftware.sf.server.services.docman.DocumentDO
getDocumentData
(String documentId, int documentVersion, String sessionId) Simulate a call to getDocumentDatagetDocumentData
(String sessionId, String documentId, int documentVersion) Deprecated.getDocumentData2
(String sessionId, String documentId, int documentVersion) Deprecated.getDocumentData3
(String sessionId, String documentId, int documentVersion) Simulate a call to getDocumentData3getDocumentFileId
(String sessionId, String documentId, int documentVersion) Simulate a call to getDocumentFileIdgetDocumentFolderData
(String sessionId, String folderId) Simulate a call to getDocumentFolderDatagetDocumentFolderList
(String sessionId, String parentId, boolean recursive) Simulate a call to getDocumentFolderListgetDocumentList
(String sessionId, String parentId, SoapFilter[] filters) Deprecated.getDocumentList2
(String sessionId, String parentId, SoapFilter[] filters) Simulate a call to getDocumentList2getDocumentList3
(String sessionId, String documentFolderId, SoapFilter[] filters) Simulate a call to getDocumentList3getDocumentReviewList
(String sessionId, String containerId, SoapFilter[] filters) Simulate a call to getDocumentReviewListgetDocumentVersions
(String sessionId, String documentId, boolean includeDeletedVersions) Simulate a call to getDocumentVersionsSimulate a call to getFieldsgetOrderedDocumentFields
(String sessionId, String projectId) Simulate a call to getOrderedDocumentFieldsgetValidStatus
(String projectPath, String soapStatus, String rmiStatus, com.vasoftware.sf.server.types.UserSessionKey sessionKey) Simulate a call to getValidStatusgetVersionStatus
(String projectPath, String status, com.vasoftware.sf.server.types.UserSessionKey sessionKey) Simulate a call to getVersionStatusboolean
isLockedDocument
(com.vasoftware.sf.server.types.ItemPath documentPath, String loggedInUser) Simulate a call to isLockedDocumentcom.vasoftware.sf.server.services.docman.DocumentList
listDocuments
(String sessionId, String parentId, SoapFilter[] filters) Simulate a call to listDocumentscom.vasoftware.sf.server.services.docman.DocumentDetailArrangedList
listDocumentsDetailed
(String sessionId, String documentFolderId, SoapFilter[] filters) Simulate a call to listDocumentsDetailedcom.vasoftware.sf.server.services.docman.DocumentDO
moveDoc
(String sessionId, com.vasoftware.sf.server.types.ItemPath documentPath, com.vasoftware.sf.server.types.FolderPath targetFolderPath, String loggedInUser) Simulate a call to moveDocmoveDocument
(String sessionId, String documentId, String targetFolderId) Deprecated.moveDocument2
(String sessionId, String documentId, String targetFolderId) Deprecated.moveDocument3
(String sessionId, String documentId, String targetFolderId) Simulate a call to moveDocument3moveDocumentFolder
(String sessionId, String folderId, String destFolderId) Simulate a call to moveDocumentFoldervoid
prepareAddDateField
(String sessionId, String projectId, String fieldName, boolean isRequired, boolean isDisabled, boolean isHiddenOnCreate, String helpText) Prepare a simulated response to addDateFieldvoid
prepareAddDateField
(String sessionId, String projectId, String fieldName, boolean isRequired, boolean isDisabled, boolean isHiddenOnCreate, String helpText, Exception exception) Prepare a simulated response to addDateFieldvoid
prepareAddField
(String sessionId, String projectId, String fieldName, com.vasoftware.sf.server.services.field.FieldDisplayType fieldType, int displayColumns, int displayRows, boolean isRequired, boolean isDisabled, boolean isHiddenOnCreate, String[] fieldValues, String[] defaultFieldValues, String helpText, String pattern) Prepare a simulated response to addFieldvoid
prepareAddField
(String sessionId, String projectId, String fieldName, com.vasoftware.sf.server.services.field.FieldDisplayType fieldType, int displayColumns, int displayRows, boolean isRequired, boolean isDisabled, boolean isHiddenOnCreate, String[] fieldValues, String[] defaultFieldValues, String helpText, String pattern, Exception exception) Prepare a simulated response to addFieldvoid
prepareAddMultiSelectField
(String sessionId, String projectId, String fieldName, int displayLines, boolean isRequired, boolean isDisabled, boolean isHiddenOnCreate, String[] fieldValues, String[] defaultValues, String helpText) Prepare a simulated response to addMultiSelectFieldvoid
prepareAddMultiSelectField
(String sessionId, String projectId, String fieldName, int displayLines, boolean isRequired, boolean isDisabled, boolean isHiddenOnCreate, String[] fieldValues, String[] defaultValues, String helpText, Exception exception) Prepare a simulated response to addMultiSelectFieldvoid
prepareAddSeparator
(String sessionId, String projectId, String separatorType, String separatorLabel) Prepare a simulated response to addSeparatorvoid
prepareAddSeparator
(String sessionId, String projectId, String separatorType, String separatorLabel, Exception exception) Prepare a simulated response to addSeparatorvoid
prepareAddSingleSelectChildField
(String sessionId, String projectId, String fieldName, String[] fieldValues, String parentFieldId, SoapNamedValues parentChildFieldValueMap, String helpText) Prepare a simulated response to addSingleSelectChildFieldvoid
prepareAddSingleSelectChildField
(String sessionId, String projectId, String fieldName, String[] fieldValues, String parentFieldId, SoapNamedValues parentChildFieldValueMap, String helpText, Exception exception) Prepare a simulated response to addSingleSelectChildFieldvoid
prepareAddSingleSelectField
(String sessionId, String projectId, String fieldName, boolean isRequired, boolean isDisabled, boolean isHiddenOnCreate, String[] fieldValues, String defaultValue, String helpText) Prepare a simulated response to addSingleSelectFieldvoid
prepareAddSingleSelectField
(String sessionId, String projectId, String fieldName, boolean isRequired, boolean isDisabled, boolean isHiddenOnCreate, String[] fieldValues, String defaultValue, String helpText, Exception exception) Prepare a simulated response to addSingleSelectFieldvoid
prepareAddTextField
(String sessionId, String projectId, String fieldName, int displayColumns, int displayLines, boolean isRequired, boolean isDisabled, boolean isHiddenOnCreate, String defaultValue, String helpText, String pattern) Prepare a simulated response to addTextFieldvoid
prepareAddTextField
(String sessionId, String projectId, String fieldName, int displayColumns, int displayLines, boolean isRequired, boolean isDisabled, boolean isHiddenOnCreate, String defaultValue, String helpText, String pattern, Exception exception) Prepare a simulated response to addTextFieldvoid
prepareAddUserSelectField
(String sessionId, String projectId, String fieldName, int displayLines, boolean isRequired, boolean isDisabled, boolean isHiddenOnCreate, String[] defaultValues, String userFilter, String helpText) Prepare a simulated response to addUserSelectFieldvoid
prepareAddUserSelectField
(String sessionId, String projectId, String fieldName, int displayLines, boolean isRequired, boolean isDisabled, boolean isHiddenOnCreate, String[] defaultValues, String userFilter, String helpText, Exception exception) Prepare a simulated response to addUserSelectFieldvoid
prepareCheckPermissionForView
(com.vasoftware.sf.server.types.UserSessionKey sessionKey, String username, com.vasoftware.sf.server.types.ObjectKey targetKey, Object returnValue) Prepare a simulated response to checkPermissionForViewvoid
prepareCreateDocument
(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, Object returnValue) Prepare a simulated response to createDocumentvoid
prepareCreateDocument
(String sessionId, String parentId, String title, String description, String versionComment, String status, boolean createLocked, String fileName, String mimeType, String fileId, String associationId, String associationDesc, Object returnValue) Prepare a simulated response to createDocumentvoid
prepareCreateDocument2
(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, Object returnValue) Prepare a simulated response to createDocument2void
prepareCreateDocument3
(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, Object returnValue) Prepare a simulated response to createDocument3void
prepareCreateDocumentFolder
(String sessionId, String parentId, String title, String description, Object returnValue) Prepare a simulated response to createDocumentFoldervoid
prepareCreateDocumentWithUrl
(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, Object returnValue) Prepare a simulated response to createDocumentWithUrlvoid
prepareCreateDocumentWithUrl
(String sessionId, String parentId, String title, String description, String versionComment, String status, boolean createLocked, String fileUrl, String associationId, String associationDesc, Object returnValue) Prepare a simulated response to createDocumentWithUrlvoid
prepareCreateDocumentWithUrl2
(String sessionId, String parentId, String title, String description, String versionComment, String status, boolean createLocked, boolean createDownloadRestricted, boolean allowForceUnlock, String fileUrl, String associationId, String associationDesc, Object returnValue) Prepare a simulated response to createDocumentWithUrl2void
prepareCreateDocumentWithUrl3
(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, Object returnValue) Prepare a simulated response to createDocumentWithUrl3void
prepareCreateReview
(String sessionId, String documentId, int version, String title, String description, Date dueDate, String[] requiredReviewers, String[] optionalReviewers, boolean attachDocument, Object returnValue) Prepare a simulated response to createReviewvoid
prepareDeleteDocument
(String sessionId, String documentId) Prepare a simulated response to deleteDocumentvoid
prepareDeleteDocument
(String sessionId, String documentId, Exception exception) Prepare a simulated response to deleteDocumentvoid
prepareDeleteDocumentByVersions
(String sessionId, String documentId, int[] versionNumbers) Prepare a simulated response to deleteDocumentByVersionsvoid
prepareDeleteDocumentByVersions
(String sessionId, String documentId, int[] versionNumbers, Exception exception) Prepare a simulated response to deleteDocumentByVersionsvoid
prepareDeleteDocumentFolder
(String sessionId, String folderId) Prepare a simulated response to deleteDocumentFoldervoid
prepareDeleteDocumentFolder
(String sessionId, String folderId, Exception exception) Prepare a simulated response to deleteDocumentFoldervoid
prepareDeleteField
(String sessionId, String fieldId) Prepare a simulated response to deleteFieldvoid
prepareDeleteField
(String sessionId, String fieldId, Exception exception) Prepare a simulated response to deleteFieldvoid
prepareDeleteSeparator
(String sessionId, String layoutId) Prepare a simulated response to deleteSeparatorvoid
prepareDeleteSeparator
(String sessionId, String layoutId, Exception exception) Prepare a simulated response to deleteSeparatorvoid
prepareFindDocuments
(String sessionId, String queryString, String projectId, boolean searchAttachments, boolean currentVersionsOnly, Object returnValue) Prepare a simulated response to findDocumentsvoid
prepareFindDocuments2
(String sessionId, String queryString, String projectId, boolean searchAttachments, boolean currentVersionsOnly, Object returnValue) Prepare a simulated response to findDocuments2void
prepareFindDocuments3
(String sessionId, String queryString, String projectId, boolean searchAttachments, boolean currentVersionsOnly, Object returnValue) Prepare a simulated response to findDocuments3void
prepareFindDocumentsList
(String sessionId, String queryString, String projectId, boolean searchAttachments, boolean currentVersionsOnly, Object returnValue) Prepare a simulated response to findDocumentsListvoid
prepareFindDocumentsList2
(String sessionId, String queryString, String projectId, boolean searchAttachments, boolean currentVersionsOnly, Object returnValue) Prepare a simulated response to findDocumentsList2void
prepareGetAssignedDocumentReviewList
(String sessionId, String username, Object returnValue) Prepare a simulated response to getAssignedDocumentReviewListvoid
prepareGetDocumentData
(String documentId, int documentVersion, String sessionId, Object returnValue) Prepare a simulated response to getDocumentDatavoid
prepareGetDocumentData
(String sessionId, String documentId, int documentVersion, Object returnValue) Prepare a simulated response to getDocumentDatavoid
prepareGetDocumentData2
(String sessionId, String documentId, int documentVersion, Object returnValue) Prepare a simulated response to getDocumentData2void
prepareGetDocumentData3
(String sessionId, String documentId, int documentVersion, Object returnValue) Prepare a simulated response to getDocumentData3void
prepareGetDocumentFileId
(String sessionId, String documentId, int documentVersion, Object returnValue) Prepare a simulated response to getDocumentFileIdvoid
prepareGetDocumentFolderData
(String sessionId, String folderId, Object returnValue) Prepare a simulated response to getDocumentFolderDatavoid
prepareGetDocumentFolderList
(String sessionId, String parentId, boolean recursive, Object returnValue) Prepare a simulated response to getDocumentFolderListvoid
prepareGetDocumentList
(String sessionId, String parentId, SoapFilter[] filters, Object returnValue) Prepare a simulated response to getDocumentListvoid
prepareGetDocumentList2
(String sessionId, String parentId, SoapFilter[] filters, Object returnValue) Prepare a simulated response to getDocumentList2void
prepareGetDocumentList3
(String sessionId, String documentFolderId, SoapFilter[] filters, Object returnValue) Prepare a simulated response to getDocumentList3void
prepareGetDocumentReviewList
(String sessionId, String containerId, SoapFilter[] filters, Object returnValue) Prepare a simulated response to getDocumentReviewListvoid
prepareGetDocumentVersions
(String sessionId, String documentId, boolean includeDeletedVersions, Object returnValue) Prepare a simulated response to getDocumentVersionsvoid
prepareGetFields
(String sessionId, String projectId, Object returnValue) Prepare a simulated response to getFieldsvoid
prepareGetOrderedDocumentFields
(String sessionId, String projectId, Object returnValue) Prepare a simulated response to getOrderedDocumentFieldsvoid
prepareGetValidStatus
(String projectPath, String soapStatus, String rmiStatus, com.vasoftware.sf.server.types.UserSessionKey sessionKey, Object returnValue) Prepare a simulated response to getValidStatusvoid
prepareGetVersionStatus
(String projectPath, String status, com.vasoftware.sf.server.types.UserSessionKey sessionKey, Object returnValue) Prepare a simulated response to getVersionStatusvoid
prepareIsLockedDocument
(com.vasoftware.sf.server.types.ItemPath documentPath, String loggedInUser, Object returnValue) Prepare a simulated response to isLockedDocumentvoid
prepareListDocuments
(String sessionId, String parentId, SoapFilter[] filters, Object returnValue) Prepare a simulated response to listDocumentsvoid
prepareListDocumentsDetailed
(String sessionId, String documentFolderId, SoapFilter[] filters, Object returnValue) Prepare a simulated response to listDocumentsDetailedvoid
prepareMoveDoc
(String sessionId, com.vasoftware.sf.server.types.ItemPath documentPath, com.vasoftware.sf.server.types.FolderPath targetFolderPath, String loggedInUser, Object returnValue) Prepare a simulated response to moveDocvoid
prepareMoveDocument
(String sessionId, String documentId, String targetFolderId, Object returnValue) Prepare a simulated response to moveDocumentvoid
prepareMoveDocument2
(String sessionId, String documentId, String targetFolderId, Object returnValue) Prepare a simulated response to moveDocument2void
prepareMoveDocument3
(String sessionId, String documentId, String targetFolderId, Object returnValue) Prepare a simulated response to moveDocument3void
prepareMoveDocumentFolder
(String sessionId, String folderId, String destFolderId, Object returnValue) Prepare a simulated response to moveDocumentFoldervoid
prepareReorderDocumentFields
(String sessionId, String projectId, String[] layoutIds) Prepare a simulated response to reorderDocumentFieldsvoid
prepareReorderDocumentFields
(String sessionId, String projectId, String[] layoutIds, Exception exception) Prepare a simulated response to reorderDocumentFieldsvoid
prepareSetDocumentData
(com.vasoftware.sf.server.services.docman.DocumentDO documentDO, String fileId, String loggedInUser, Set tagIds) Prepare a simulated response to setDocumentDatavoid
prepareSetDocumentData
(com.vasoftware.sf.server.services.docman.DocumentDO documentDO, String fileId, String loggedInUser, Set tagIds, Exception exception) Prepare a simulated response to setDocumentDatavoid
prepareSetDocumentData
(String sessionId, DocumentSoapDO documentData, String fileId) Prepare a simulated response to setDocumentDatavoid
prepareSetDocumentData
(String sessionId, DocumentSoapDO documentData, String fileId, Exception exception) Prepare a simulated response to setDocumentDatavoid
prepareSetDocumentData2
(String sessionId, Document2SoapDO documentData, String fileId) Prepare a simulated response to setDocumentData2void
prepareSetDocumentData2
(String sessionId, Document2SoapDO documentData, String fileId, Exception exception) Prepare a simulated response to setDocumentData2void
prepareSetDocumentData3
(String sessionId, Document3SoapDO documentData, String fileId) Prepare a simulated response to setDocumentData3void
prepareSetDocumentData3
(String sessionId, Document3SoapDO documentData, String fileId, Exception exception) Prepare a simulated response to setDocumentData3void
prepareSetDocumentDataWithAssociation
(com.vasoftware.sf.server.services.docman.DocumentDO documentDO, String fileId, String associationId, String associationComment, String loggedInUser, Set tagIds) Prepare a simulated response to setDocumentDataWithAssociationvoid
prepareSetDocumentDataWithAssociation
(com.vasoftware.sf.server.services.docman.DocumentDO documentDO, String fileId, String associationId, String associationComment, String loggedInUser, Set tagIds, Exception exception) Prepare a simulated response to setDocumentDataWithAssociationvoid
prepareSetDocumentDataWithAssociation
(String sessionId, DocumentSoapDO documentData, String fileId, String associationId, String associationComment) Prepare a simulated response to setDocumentDataWithAssociationvoid
prepareSetDocumentDataWithAssociation
(String sessionId, DocumentSoapDO documentData, String fileId, String associationId, String associationComment, Exception exception) Prepare a simulated response to setDocumentDataWithAssociationvoid
prepareSetDocumentDataWithAssociation2
(String sessionId, Document2SoapDO documentData, String fileId, String associationId, String associationComment) Prepare a simulated response to setDocumentDataWithAssociation2void
prepareSetDocumentDataWithAssociation2
(String sessionId, Document2SoapDO documentData, String fileId, String associationId, String associationComment, Exception exception) Prepare a simulated response to setDocumentDataWithAssociation2void
prepareSetDocumentDataWithAssociation3
(String sessionId, Document3SoapDO documentData, String fileId, String associationId, String associationComment) Prepare a simulated response to setDocumentDataWithAssociation3void
prepareSetDocumentDataWithAssociation3
(String sessionId, Document3SoapDO documentData, String fileId, String associationId, String associationComment, Exception exception) Prepare a simulated response to setDocumentDataWithAssociation3void
prepareSetDocumentFolderData
(String sessionId, DocumentFolderSoapDO documentFolderData) Prepare a simulated response to setDocumentFolderDatavoid
prepareSetDocumentFolderData
(String sessionId, DocumentFolderSoapDO documentFolderData, Exception exception) Prepare a simulated response to setDocumentFolderDatavoid
prepareSetField
(String sessionId, DocumentFolderFieldSoapDO fieldData) Prepare a simulated response to setFieldvoid
prepareSetField
(String sessionId, DocumentFolderFieldSoapDO fieldData, Exception exception) Prepare a simulated response to setFieldvoid
prepareValidateCreateDocument
(String title, String description, String status, String fileName, String mimeType, String fileId) Prepare a simulated response to validateCreateDocumentvoid
prepareValidateCreateDocument
(String title, String description, String status, String fileName, String mimeType, String fileId, Exception exception) Prepare a simulated response to validateCreateDocumentvoid
prepareValidateCreateDocumentWithUrl
(String title, String description, String status, String fileUrl) Prepare a simulated response to validateCreateDocumentWithUrlvoid
prepareValidateCreateDocumentWithUrl
(String title, String description, String status, String fileUrl, Exception exception) Prepare a simulated response to validateCreateDocumentWithUrlvoid
prepareValidateLockAttributes
(boolean createLocked, boolean createDownloadRestricted, boolean allowForceUnlock) Prepare a simulated response to validateLockAttributesvoid
prepareValidateLockAttributes
(boolean createLocked, boolean createDownloadRestricted, boolean allowForceUnlock, Exception exception) Prepare a simulated response to validateLockAttributesvoid
prepareValidateVersions
(com.vasoftware.sf.server.types.ItemPath documentPath, int[] versionNumbers, String loggedInUser, Object returnValue) Prepare a simulated response to validateVersionsvoid
prepareVerifyAndGetFields
(String projectId, String loggedInUser, Object returnValue) Prepare a simulated response to verifyAndGetFieldsvoid
reorderDocumentFields
(String sessionId, String projectId, String[] layoutIds) Simulate a call to reorderDocumentFieldsvoid
setDocumentData
(com.vasoftware.sf.server.services.docman.DocumentDO documentDO, String fileId, String loggedInUser, Set tagIds) Simulate a call to setDocumentDatavoid
setDocumentData
(String sessionId, DocumentSoapDO documentData, String fileId) Deprecated.void
setDocumentData2
(String sessionId, Document2SoapDO documentData, String fileId) Deprecated.void
setDocumentData3
(String sessionId, Document3SoapDO documentData, String fileId) Simulate a call to setDocumentData3void
setDocumentDataWithAssociation
(com.vasoftware.sf.server.services.docman.DocumentDO documentDO, String fileId, String associationId, String associationComment, String loggedInUser, Set tagIds) Simulate a call to setDocumentDataWithAssociationvoid
setDocumentDataWithAssociation
(String sessionId, DocumentSoapDO documentData, String fileId, String associationId, String associationComment) Deprecated.void
setDocumentDataWithAssociation2
(String sessionId, Document2SoapDO documentData, String fileId, String associationId, String associationComment) Deprecated.void
setDocumentDataWithAssociation3
(String sessionId, Document3SoapDO documentData, String fileId, String associationId, String associationComment) Simulate a call to setDocumentDataWithAssociation3void
setDocumentFolderData
(String sessionId, DocumentFolderSoapDO documentFolderData) Simulate a call to setDocumentFolderDatavoid
setField
(String sessionId, DocumentFolderFieldSoapDO fieldData) Simulate a call to setFieldvoid
validateCreateDocument
(String title, String description, String status, String fileName, String mimeType, String fileId) Simulate a call to validateCreateDocumentvoid
validateCreateDocumentWithUrl
(String title, String description, String status, String fileUrl) Simulate a call to validateCreateDocumentWithUrlvoid
validateLockAttributes
(boolean createLocked, boolean createDownloadRestricted, boolean allowForceUnlock) Simulate a call to validateLockAttributesvalidateVersions
(com.vasoftware.sf.server.types.ItemPath documentPath, int[] versionNumbers, String loggedInUser) Simulate a call to validateVersionscom.vasoftware.sf.server.services.field.FieldDO[]
verifyAndGetFields
(String projectId, String loggedInUser) Simulate a call to verifyAndGetFieldsMethods inherited from class com.collabnet.ce.soap60.webservices.ClientSoapMockStub
addSimulatedResult, addSimulatedResult, addSimulatedResult, getCallCount, getCallParameters, getUnusedCalls, simulateCall
Methods inherited from class com.collabnet.ce.soap60.webservices.ClientSoapStub
getServiceCall, getSoapServer, getTimeout, setTimeout, soapParam
-
Constructor Details
-
DocumentAppSoapMockStub
-
-
Method Details
-
prepareGetDocumentFolderList
public void prepareGetDocumentFolderList(String sessionId, String parentId, boolean recursive, Object returnValue) Prepare a simulated response to getDocumentFolderList -
getDocumentFolderList
public DocumentFolderSoapList getDocumentFolderList(String sessionId, String parentId, boolean recursive) throws RemoteException Simulate a call to getDocumentFolderList- Specified by:
getDocumentFolderList
in 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
- See Also:
-
prepareSetDocumentFolderData
Prepare a simulated response to setDocumentFolderData -
prepareSetDocumentFolderData
public void prepareSetDocumentFolderData(String sessionId, DocumentFolderSoapDO documentFolderData, Exception exception) Prepare a simulated response to setDocumentFolderData -
setDocumentFolderData
public void setDocumentFolderData(String sessionId, DocumentFolderSoapDO documentFolderData) throws RemoteException Simulate a call to setDocumentFolderData- Specified by:
setDocumentFolderData
in 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
- See Also:
-
prepareGetDocumentFolderData
Prepare a simulated response to getDocumentFolderData -
getDocumentFolderData
public DocumentFolderSoapDO getDocumentFolderData(String sessionId, String folderId) throws RemoteException Simulate a call to getDocumentFolderData- Specified by:
getDocumentFolderData
in 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
- See Also:
-
prepareGetAssignedDocumentReviewList
public void prepareGetAssignedDocumentReviewList(String sessionId, String username, Object returnValue) Prepare a simulated response to getAssignedDocumentReviewList -
getAssignedDocumentReviewList
public DocumentReviewSoapList getAssignedDocumentReviewList(String sessionId, String username) throws RemoteException Simulate a call to getAssignedDocumentReviewList- Specified by:
getAssignedDocumentReviewList
in 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
- See Also:
-
prepareGetDocumentReviewList
public void prepareGetDocumentReviewList(String sessionId, String containerId, SoapFilter[] filters, Object returnValue) Prepare a simulated response to getDocumentReviewList -
getDocumentReviewList
public DocumentReviewSoapList getDocumentReviewList(String sessionId, String containerId, SoapFilter[] filters) throws RemoteException Simulate a call to getDocumentReviewList- Specified by:
getDocumentReviewList
in 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
- See Also:
-
prepareCreateReview
public void prepareCreateReview(String sessionId, String documentId, int version, String title, String description, Date dueDate, String[] requiredReviewers, String[] optionalReviewers, boolean attachDocument, Object returnValue) Prepare a simulated response to createReview -
createReview
public DocumentReviewSoapDO createReview(String sessionId, String documentId, int version, String title, String description, Date dueDate, String[] requiredReviewers, String[] optionalReviewers, boolean attachDocument) throws RemoteException Simulate a call to createReview- Specified by:
createReview
in 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
- See Also:
-
prepareGetDocumentList
public void prepareGetDocumentList(String sessionId, String parentId, SoapFilter[] filters, Object returnValue) Prepare a simulated response to getDocumentList -
getDocumentList
@Deprecated public DocumentSoapList getDocumentList(String sessionId, String parentId, SoapFilter[] filters) throws RemoteException Deprecated.Simulate a call to getDocumentList- Specified by:
getDocumentList
in 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
- See Also:
-
prepareGetDocumentList2
public void prepareGetDocumentList2(String sessionId, String parentId, SoapFilter[] filters, Object returnValue) Prepare a simulated response to getDocumentList2 -
getDocumentList2
public Document2SoapList getDocumentList2(String sessionId, String parentId, SoapFilter[] filters) throws RemoteException Simulate a call to getDocumentList2- Specified by:
getDocumentList2
in 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
- See Also:
-
prepareGetDocumentList3
public void prepareGetDocumentList3(String sessionId, String documentFolderId, SoapFilter[] filters, Object returnValue) Prepare a simulated response to getDocumentList3 -
getDocumentList3
public Document3SoapList getDocumentList3(String sessionId, String documentFolderId, SoapFilter[] filters) throws RemoteException Simulate a call to getDocumentList3- Specified by:
getDocumentList3
in 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
- See Also:
-
prepareListDocumentsDetailed
public void prepareListDocumentsDetailed(String sessionId, String documentFolderId, SoapFilter[] filters, Object returnValue) Prepare a simulated response to listDocumentsDetailed- See Also:
-
DocumentAppSoap.listDocumentsDetailed(java.lang.String, java.lang.String, com.collabnet.ce.soap60.types.SoapFilter[])
-
listDocumentsDetailed
public com.vasoftware.sf.server.services.docman.DocumentDetailArrangedList listDocumentsDetailed(String sessionId, String documentFolderId, SoapFilter[] filters) throws RemoteException Simulate a call to listDocumentsDetailed- Throws:
RemoteException
- See Also:
-
DocumentAppSoap.listDocumentsDetailed(java.lang.String, java.lang.String, com.collabnet.ce.soap60.types.SoapFilter[])
-
prepareListDocuments
public void prepareListDocuments(String sessionId, String parentId, SoapFilter[] filters, Object returnValue) Prepare a simulated response to listDocuments- See Also:
-
DocumentAppSoap.listDocuments(java.lang.String, java.lang.String, com.collabnet.ce.soap60.types.SoapFilter[])
-
listDocuments
public com.vasoftware.sf.server.services.docman.DocumentList listDocuments(String sessionId, String parentId, SoapFilter[] filters) throws RemoteException Simulate a call to listDocuments- Throws:
RemoteException
- See Also:
-
DocumentAppSoap.listDocuments(java.lang.String, java.lang.String, com.collabnet.ce.soap60.types.SoapFilter[])
-
prepareFindDocuments
public void prepareFindDocuments(String sessionId, String queryString, String projectId, boolean searchAttachments, boolean currentVersionsOnly, Object returnValue) Prepare a simulated response to findDocuments -
findDocuments
@Deprecated public DocumentSoapList findDocuments(String sessionId, String queryString, String projectId, boolean searchAttachments, boolean currentVersionsOnly) throws RemoteException Deprecated.Simulate a call to findDocuments- Specified by:
findDocuments
in 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
- See Also:
-
prepareFindDocuments2
public void prepareFindDocuments2(String sessionId, String queryString, String projectId, boolean searchAttachments, boolean currentVersionsOnly, Object returnValue) Prepare a simulated response to findDocuments2 -
findDocuments2
public Document2SoapList findDocuments2(String sessionId, String queryString, String projectId, boolean searchAttachments, boolean currentVersionsOnly) throws RemoteException Simulate a call to findDocuments2- Specified by:
findDocuments2
in 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
- See Also:
-
prepareFindDocumentsList
public void prepareFindDocumentsList(String sessionId, String queryString, String projectId, boolean searchAttachments, boolean currentVersionsOnly, Object returnValue) Prepare a simulated response to findDocumentsList- See Also:
-
DocumentAppSoap.findDocumentsList(java.lang.String, java.lang.String, java.lang.String, boolean, boolean)
-
findDocumentsList
public com.vasoftware.sf.server.services.docman.DocumentList findDocumentsList(String sessionId, String queryString, String projectId, boolean searchAttachments, boolean currentVersionsOnly) throws RemoteException Simulate a call to findDocumentsList- Throws:
RemoteException
- See Also:
-
DocumentAppSoap.findDocumentsList(java.lang.String, java.lang.String, java.lang.String, boolean, boolean)
-
prepareFindDocuments3
public void prepareFindDocuments3(String sessionId, String queryString, String projectId, boolean searchAttachments, boolean currentVersionsOnly, Object returnValue) Prepare a simulated response to findDocuments3 -
findDocuments3
public Document3SoapList findDocuments3(String sessionId, String queryString, String projectId, boolean searchAttachments, boolean currentVersionsOnly) throws RemoteException Simulate a call to findDocuments3- Specified by:
findDocuments3
in 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
- See Also:
-
prepareFindDocumentsList2
public void prepareFindDocumentsList2(String sessionId, String queryString, String projectId, boolean searchAttachments, boolean currentVersionsOnly, Object returnValue) Prepare a simulated response to findDocumentsList2- See Also:
-
DocumentAppSoap.findDocumentsList2(java.lang.String, java.lang.String, java.lang.String, boolean, boolean)
-
findDocumentsList2
public com.vasoftware.sf.server.services.docman.DocumentList findDocumentsList2(String sessionId, String queryString, String projectId, boolean searchAttachments, boolean currentVersionsOnly) throws RemoteException Simulate a call to findDocumentsList2- Throws:
RemoteException
- See Also:
-
DocumentAppSoap.findDocumentsList2(java.lang.String, java.lang.String, java.lang.String, boolean, boolean)
-
prepareCreateDocumentFolder
public void prepareCreateDocumentFolder(String sessionId, String parentId, String title, String description, Object returnValue) Prepare a simulated response to createDocumentFolder -
createDocumentFolder
public DocumentFolderSoapDO createDocumentFolder(String sessionId, String parentId, String title, String description) throws RemoteException Simulate a call to createDocumentFolder- Specified by:
createDocumentFolder
in 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
- See Also:
-
prepareMoveDocumentFolder
public void prepareMoveDocumentFolder(String sessionId, String folderId, String destFolderId, Object returnValue) Prepare a simulated response to moveDocumentFolder -
moveDocumentFolder
public DocumentFolderSoapDO moveDocumentFolder(String sessionId, String folderId, String destFolderId) throws RemoteException Simulate a call to moveDocumentFolder- Specified by:
moveDocumentFolder
in 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
- See Also:
-
prepareDeleteDocumentFolder
Prepare a simulated response to deleteDocumentFolder -
prepareDeleteDocumentFolder
Prepare a simulated response to deleteDocumentFolder -
deleteDocumentFolder
Simulate a call to deleteDocumentFolder- Specified by:
deleteDocumentFolder
in 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
- See Also:
-
prepareCreateDocument
public void prepareCreateDocument(String sessionId, String parentId, String title, String description, String versionComment, String status, boolean createLocked, String fileName, String mimeType, String fileId, String associationId, String associationDesc, Object returnValue) Prepare a simulated response to createDocument -
createDocument
@Deprecated 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 Deprecated.Simulate a call to createDocument- Specified by:
createDocument
in 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
- See Also:
-
prepareCreateDocument2
public void prepareCreateDocument2(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, Object returnValue) Prepare a simulated response to createDocument2 -
createDocument2
@Deprecated 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 Deprecated.Simulate a call to createDocument2- Specified by:
createDocument2
in 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
- See Also:
-
prepareCreateDocument3
public void prepareCreateDocument3(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, Object returnValue) Prepare a simulated response to createDocument3 -
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 Simulate a call to createDocument3- Specified by:
createDocument3
in 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
- See Also:
-
prepareCreateDocument
public void prepareCreateDocument(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, Object returnValue) Prepare a simulated response to createDocument -
createDocument
public com.vasoftware.sf.server.services.docman.DocumentDO createDocument(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 Simulate a call to createDocument -
prepareCreateDocumentWithUrl
public void prepareCreateDocumentWithUrl(String sessionId, String parentId, String title, String description, String versionComment, String status, boolean createLocked, String fileUrl, String associationId, String associationDesc, Object returnValue) Prepare a simulated response to createDocumentWithUrl -
createDocumentWithUrl
@Deprecated 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 Deprecated.Simulate a call to createDocumentWithUrl- Specified by:
createDocumentWithUrl
in 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
- See Also:
-
prepareCreateDocumentWithUrl2
public void prepareCreateDocumentWithUrl2(String sessionId, String parentId, String title, String description, String versionComment, String status, boolean createLocked, boolean createDownloadRestricted, boolean allowForceUnlock, String fileUrl, String associationId, String associationDesc, Object returnValue) Prepare a simulated response to createDocumentWithUrl2 -
createDocumentWithUrl2
@Deprecated 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 Deprecated.Simulate a call to createDocumentWithUrl2- Specified by:
createDocumentWithUrl2
in 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
- See Also:
-
prepareCreateDocumentWithUrl3
public void prepareCreateDocumentWithUrl3(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, Object returnValue) Prepare a simulated response to createDocumentWithUrl3 -
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 Simulate a call to createDocumentWithUrl3- Specified by:
createDocumentWithUrl3
in 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
- See Also:
-
prepareCreateDocumentWithUrl
public void prepareCreateDocumentWithUrl(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, Object returnValue) Prepare a simulated response to createDocumentWithUrl -
createDocumentWithUrl
public com.vasoftware.sf.server.services.docman.DocumentDO createDocumentWithUrl(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 Simulate a call to createDocumentWithUrl -
prepareGetVersionStatus
public void prepareGetVersionStatus(String projectPath, String status, com.vasoftware.sf.server.types.UserSessionKey sessionKey, Object returnValue) Prepare a simulated response to getVersionStatus- See Also:
-
DocumentAppSoap.getVersionStatus(java.lang.String, java.lang.String, com.vasoftware.sf.server.types.UserSessionKey)
-
getVersionStatus
public String getVersionStatus(String projectPath, String status, com.vasoftware.sf.server.types.UserSessionKey sessionKey) throws RemoteException Simulate a call to getVersionStatus- Throws:
RemoteException
- See Also:
-
DocumentAppSoap.getVersionStatus(java.lang.String, java.lang.String, com.vasoftware.sf.server.types.UserSessionKey)
-
prepareGetValidStatus
public void prepareGetValidStatus(String projectPath, String soapStatus, String rmiStatus, com.vasoftware.sf.server.types.UserSessionKey sessionKey, Object returnValue) Prepare a simulated response to getValidStatus- See Also:
-
DocumentAppSoap.getValidStatus(java.lang.String, java.lang.String, java.lang.String, com.vasoftware.sf.server.types.UserSessionKey)
-
getValidStatus
public String getValidStatus(String projectPath, String soapStatus, String rmiStatus, com.vasoftware.sf.server.types.UserSessionKey sessionKey) throws RemoteException Simulate a call to getValidStatus- Throws:
RemoteException
- See Also:
-
DocumentAppSoap.getValidStatus(java.lang.String, java.lang.String, java.lang.String, com.vasoftware.sf.server.types.UserSessionKey)
-
prepareMoveDocument
public void prepareMoveDocument(String sessionId, String documentId, String targetFolderId, Object returnValue) Prepare a simulated response to moveDocument -
moveDocument
@Deprecated public DocumentSoapDO moveDocument(String sessionId, String documentId, String targetFolderId) throws RemoteException Deprecated.Simulate a call to moveDocument- Specified by:
moveDocument
in 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
- See Also:
-
prepareMoveDocument2
public void prepareMoveDocument2(String sessionId, String documentId, String targetFolderId, Object returnValue) Prepare a simulated response to moveDocument2 -
moveDocument2
@Deprecated public Document2SoapDO moveDocument2(String sessionId, String documentId, String targetFolderId) throws RemoteException Deprecated.Simulate a call to moveDocument2- Specified by:
moveDocument2
in 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
- See Also:
-
prepareMoveDocument3
public void prepareMoveDocument3(String sessionId, String documentId, String targetFolderId, Object returnValue) Prepare a simulated response to moveDocument3 -
moveDocument3
public Document3SoapDO moveDocument3(String sessionId, String documentId, String targetFolderId) throws RemoteException Simulate a call to moveDocument3- Specified by:
moveDocument3
in 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
- See Also:
-
prepareMoveDoc
public void prepareMoveDoc(String sessionId, com.vasoftware.sf.server.types.ItemPath documentPath, com.vasoftware.sf.server.types.FolderPath targetFolderPath, String loggedInUser, Object returnValue) Prepare a simulated response to moveDoc- See Also:
-
DocumentAppSoap.moveDoc(java.lang.String, com.vasoftware.sf.server.types.ItemPath, com.vasoftware.sf.server.types.FolderPath, java.lang.String)
-
moveDoc
public com.vasoftware.sf.server.services.docman.DocumentDO moveDoc(String sessionId, com.vasoftware.sf.server.types.ItemPath documentPath, com.vasoftware.sf.server.types.FolderPath targetFolderPath, String loggedInUser) throws RemoteException Simulate a call to moveDoc- Throws:
RemoteException
- See Also:
-
DocumentAppSoap.moveDoc(java.lang.String, com.vasoftware.sf.server.types.ItemPath, com.vasoftware.sf.server.types.FolderPath, java.lang.String)
-
prepareDeleteDocument
Prepare a simulated response to deleteDocument -
prepareDeleteDocument
Prepare a simulated response to deleteDocument -
deleteDocument
Simulate a call to deleteDocument- Specified by:
deleteDocument
in 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
- See Also:
-
prepareGetDocumentData
public void prepareGetDocumentData(String sessionId, String documentId, int documentVersion, Object returnValue) Prepare a simulated response to getDocumentData -
getDocumentData
@Deprecated public DocumentSoapDO getDocumentData(String sessionId, String documentId, int documentVersion) throws RemoteException Deprecated.Simulate a call to getDocumentData- Specified by:
getDocumentData
in 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
- See Also:
-
prepareGetDocumentData2
public void prepareGetDocumentData2(String sessionId, String documentId, int documentVersion, Object returnValue) Prepare a simulated response to getDocumentData2 -
getDocumentData2
@Deprecated public Document2SoapDO getDocumentData2(String sessionId, String documentId, int documentVersion) throws RemoteException Deprecated.Simulate a call to getDocumentData2- Specified by:
getDocumentData2
in 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
- See Also:
-
prepareGetDocumentData3
public void prepareGetDocumentData3(String sessionId, String documentId, int documentVersion, Object returnValue) Prepare a simulated response to getDocumentData3 -
getDocumentData3
public Document3SoapDO getDocumentData3(String sessionId, String documentId, int documentVersion) throws RemoteException Simulate a call to getDocumentData3- Specified by:
getDocumentData3
in 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
- See Also:
-
prepareSetDocumentData
Prepare a simulated response to setDocumentData -
prepareSetDocumentData
public void prepareSetDocumentData(String sessionId, DocumentSoapDO documentData, String fileId, Exception exception) Prepare a simulated response to setDocumentData -
setDocumentData
@Deprecated public void setDocumentData(String sessionId, DocumentSoapDO documentData, String fileId) throws RemoteException Deprecated.Simulate a call to setDocumentData- Specified by:
setDocumentData
in 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
- See Also:
-
prepareSetDocumentData2
Prepare a simulated response to setDocumentData2 -
prepareSetDocumentData2
public void prepareSetDocumentData2(String sessionId, Document2SoapDO documentData, String fileId, Exception exception) Prepare a simulated response to setDocumentData2 -
setDocumentData2
@Deprecated public void setDocumentData2(String sessionId, Document2SoapDO documentData, String fileId) throws RemoteException Deprecated.Simulate a call to setDocumentData2- Specified by:
setDocumentData2
in 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
- See Also:
-
prepareSetDocumentData3
Prepare a simulated response to setDocumentData3 -
prepareSetDocumentData3
public void prepareSetDocumentData3(String sessionId, Document3SoapDO documentData, String fileId, Exception exception) Prepare a simulated response to setDocumentData3 -
setDocumentData3
public void setDocumentData3(String sessionId, Document3SoapDO documentData, String fileId) throws RemoteException Simulate a call to setDocumentData3- Specified by:
setDocumentData3
in 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
- See Also:
-
prepareSetDocumentData
public void prepareSetDocumentData(com.vasoftware.sf.server.services.docman.DocumentDO documentDO, String fileId, String loggedInUser, Set tagIds) Prepare a simulated response to setDocumentData -
prepareSetDocumentData
public void prepareSetDocumentData(com.vasoftware.sf.server.services.docman.DocumentDO documentDO, String fileId, String loggedInUser, Set tagIds, Exception exception) Prepare a simulated response to setDocumentData -
setDocumentData
public void setDocumentData(com.vasoftware.sf.server.services.docman.DocumentDO documentDO, String fileId, String loggedInUser, Set tagIds) throws RemoteException Simulate a call to setDocumentData -
prepareSetDocumentDataWithAssociation
public void prepareSetDocumentDataWithAssociation(String sessionId, DocumentSoapDO documentData, String fileId, String associationId, String associationComment) Prepare a simulated response to setDocumentDataWithAssociation -
prepareSetDocumentDataWithAssociation
public void prepareSetDocumentDataWithAssociation(String sessionId, DocumentSoapDO documentData, String fileId, String associationId, String associationComment, Exception exception) Prepare a simulated response to setDocumentDataWithAssociation -
setDocumentDataWithAssociation
@Deprecated public void setDocumentDataWithAssociation(String sessionId, DocumentSoapDO documentData, String fileId, String associationId, String associationComment) throws RemoteException Deprecated.Simulate a call to setDocumentDataWithAssociation- Specified by:
setDocumentDataWithAssociation
in 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
- See Also:
-
prepareSetDocumentDataWithAssociation2
public void prepareSetDocumentDataWithAssociation2(String sessionId, Document2SoapDO documentData, String fileId, String associationId, String associationComment) Prepare a simulated response to setDocumentDataWithAssociation2 -
prepareSetDocumentDataWithAssociation2
public void prepareSetDocumentDataWithAssociation2(String sessionId, Document2SoapDO documentData, String fileId, String associationId, String associationComment, Exception exception) Prepare a simulated response to setDocumentDataWithAssociation2 -
setDocumentDataWithAssociation2
@Deprecated public void setDocumentDataWithAssociation2(String sessionId, Document2SoapDO documentData, String fileId, String associationId, String associationComment) throws RemoteException Deprecated.Simulate a call to setDocumentDataWithAssociation2- Specified by:
setDocumentDataWithAssociation2
in 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
- See Also:
-
prepareSetDocumentDataWithAssociation3
public void prepareSetDocumentDataWithAssociation3(String sessionId, Document3SoapDO documentData, String fileId, String associationId, String associationComment) Prepare a simulated response to setDocumentDataWithAssociation3 -
prepareSetDocumentDataWithAssociation3
public void prepareSetDocumentDataWithAssociation3(String sessionId, Document3SoapDO documentData, String fileId, String associationId, String associationComment, Exception exception) Prepare a simulated response to setDocumentDataWithAssociation3 -
setDocumentDataWithAssociation3
public void setDocumentDataWithAssociation3(String sessionId, Document3SoapDO documentData, String fileId, String associationId, String associationComment) throws RemoteException Simulate a call to setDocumentDataWithAssociation3- Specified by:
setDocumentDataWithAssociation3
in 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
- See Also:
-
prepareSetDocumentDataWithAssociation
public void prepareSetDocumentDataWithAssociation(com.vasoftware.sf.server.services.docman.DocumentDO documentDO, String fileId, String associationId, String associationComment, String loggedInUser, Set tagIds) Prepare a simulated response to setDocumentDataWithAssociation -
prepareSetDocumentDataWithAssociation
public void prepareSetDocumentDataWithAssociation(com.vasoftware.sf.server.services.docman.DocumentDO documentDO, String fileId, String associationId, String associationComment, String loggedInUser, Set tagIds, Exception exception) Prepare a simulated response to setDocumentDataWithAssociation -
setDocumentDataWithAssociation
public void setDocumentDataWithAssociation(com.vasoftware.sf.server.services.docman.DocumentDO documentDO, String fileId, String associationId, String associationComment, String loggedInUser, Set tagIds) throws RemoteException Simulate a call to setDocumentDataWithAssociation -
prepareGetDocumentFileId
public void prepareGetDocumentFileId(String sessionId, String documentId, int documentVersion, Object returnValue) Prepare a simulated response to getDocumentFileId -
getDocumentFileId
public String getDocumentFileId(String sessionId, String documentId, int documentVersion) throws RemoteException Simulate a call to getDocumentFileId- Specified by:
getDocumentFileId
in 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
- See Also:
-
prepareIsLockedDocument
public void prepareIsLockedDocument(com.vasoftware.sf.server.types.ItemPath documentPath, String loggedInUser, Object returnValue) Prepare a simulated response to isLockedDocument- See Also:
-
DocumentAppSoap.isLockedDocument(com.vasoftware.sf.server.types.ItemPath, java.lang.String)
-
isLockedDocument
public boolean isLockedDocument(com.vasoftware.sf.server.types.ItemPath documentPath, String loggedInUser) throws RemoteException Simulate a call to isLockedDocument- Throws:
RemoteException
- See Also:
-
DocumentAppSoap.isLockedDocument(com.vasoftware.sf.server.types.ItemPath, java.lang.String)
-
prepareGetDocumentVersions
public void prepareGetDocumentVersions(String sessionId, String documentId, boolean includeDeletedVersions, Object returnValue) Prepare a simulated response to getDocumentVersions -
getDocumentVersions
public Document2SoapList getDocumentVersions(String sessionId, String documentId, boolean includeDeletedVersions) throws RemoteException Simulate a call to getDocumentVersions- Specified by:
getDocumentVersions
in 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
- See Also:
-
prepareDeleteDocumentByVersions
public void prepareDeleteDocumentByVersions(String sessionId, String documentId, int[] versionNumbers) Prepare a simulated response to deleteDocumentByVersions -
prepareDeleteDocumentByVersions
public void prepareDeleteDocumentByVersions(String sessionId, String documentId, int[] versionNumbers, Exception exception) Prepare a simulated response to deleteDocumentByVersions -
deleteDocumentByVersions
public void deleteDocumentByVersions(String sessionId, String documentId, int[] versionNumbers) throws RemoteException Simulate a call to deleteDocumentByVersions- Specified by:
deleteDocumentByVersions
in 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
- See Also:
-
prepareAddTextField
public void prepareAddTextField(String sessionId, String projectId, String fieldName, int displayColumns, int displayLines, boolean isRequired, boolean isDisabled, boolean isHiddenOnCreate, String defaultValue, String helpText, String pattern) Prepare a simulated response to addTextField -
prepareAddTextField
public void prepareAddTextField(String sessionId, String projectId, String fieldName, int displayColumns, int displayLines, boolean isRequired, boolean isDisabled, boolean isHiddenOnCreate, String defaultValue, String helpText, String pattern, Exception exception) Prepare a simulated response to addTextField -
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 Simulate a call to addTextField- Specified by:
addTextField
in 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
- See Also:
-
prepareAddSingleSelectChildField
public void prepareAddSingleSelectChildField(String sessionId, String projectId, String fieldName, String[] fieldValues, String parentFieldId, SoapNamedValues parentChildFieldValueMap, String helpText) Prepare a simulated response to addSingleSelectChildField -
prepareAddSingleSelectChildField
public void prepareAddSingleSelectChildField(String sessionId, String projectId, String fieldName, String[] fieldValues, String parentFieldId, SoapNamedValues parentChildFieldValueMap, String helpText, Exception exception) Prepare a simulated response to addSingleSelectChildField -
addSingleSelectChildField
public void addSingleSelectChildField(String sessionId, String projectId, String fieldName, String[] fieldValues, String parentFieldId, SoapNamedValues parentChildFieldValueMap, String helpText) throws RemoteException Simulate a call to addSingleSelectChildField- Specified by:
addSingleSelectChildField
in 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
- See Also:
-
prepareAddSingleSelectField
public void prepareAddSingleSelectField(String sessionId, String projectId, String fieldName, boolean isRequired, boolean isDisabled, boolean isHiddenOnCreate, String[] fieldValues, String defaultValue, String helpText) Prepare a simulated response to addSingleSelectField -
prepareAddSingleSelectField
public void prepareAddSingleSelectField(String sessionId, String projectId, String fieldName, boolean isRequired, boolean isDisabled, boolean isHiddenOnCreate, String[] fieldValues, String defaultValue, String helpText, Exception exception) Prepare a simulated response to addSingleSelectField -
addSingleSelectField
public void addSingleSelectField(String sessionId, String projectId, String fieldName, boolean isRequired, boolean isDisabled, boolean isHiddenOnCreate, String[] fieldValues, String defaultValue, String helpText) throws RemoteException Simulate a call to addSingleSelectField- Specified by:
addSingleSelectField
in 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
- See Also:
-
prepareAddMultiSelectField
public void prepareAddMultiSelectField(String sessionId, String projectId, String fieldName, int displayLines, boolean isRequired, boolean isDisabled, boolean isHiddenOnCreate, String[] fieldValues, String[] defaultValues, String helpText) Prepare a simulated response to addMultiSelectField -
prepareAddMultiSelectField
public void prepareAddMultiSelectField(String sessionId, String projectId, String fieldName, int displayLines, boolean isRequired, boolean isDisabled, boolean isHiddenOnCreate, String[] fieldValues, String[] defaultValues, String helpText, Exception exception) Prepare a simulated response to addMultiSelectField -
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 Simulate a call to addMultiSelectField- Specified by:
addMultiSelectField
in 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
- See Also:
-
prepareAddUserSelectField
public void prepareAddUserSelectField(String sessionId, String projectId, String fieldName, int displayLines, boolean isRequired, boolean isDisabled, boolean isHiddenOnCreate, String[] defaultValues, String userFilter, String helpText) Prepare a simulated response to addUserSelectField -
prepareAddUserSelectField
public void prepareAddUserSelectField(String sessionId, String projectId, String fieldName, int displayLines, boolean isRequired, boolean isDisabled, boolean isHiddenOnCreate, String[] defaultValues, String userFilter, String helpText, Exception exception) Prepare a simulated response to addUserSelectField -
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 Simulate a call to addUserSelectField- Specified by:
addUserSelectField
in 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:
-
prepareAddDateField
public void prepareAddDateField(String sessionId, String projectId, String fieldName, boolean isRequired, boolean isDisabled, boolean isHiddenOnCreate, String helpText) Prepare a simulated response to addDateField -
prepareAddDateField
public void prepareAddDateField(String sessionId, String projectId, String fieldName, boolean isRequired, boolean isDisabled, boolean isHiddenOnCreate, String helpText, Exception exception) Prepare a simulated response to addDateField -
addDateField
public void addDateField(String sessionId, String projectId, String fieldName, boolean isRequired, boolean isDisabled, boolean isHiddenOnCreate, String helpText) throws RemoteException Simulate a call to addDateField- Specified by:
addDateField
in 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
- See Also:
-
prepareAddField
public void prepareAddField(String sessionId, String projectId, String fieldName, com.vasoftware.sf.server.services.field.FieldDisplayType fieldType, int displayColumns, int displayRows, boolean isRequired, boolean isDisabled, boolean isHiddenOnCreate, String[] fieldValues, String[] defaultFieldValues, String helpText, String pattern) Prepare a simulated response to addField- See Also:
-
DocumentAppSoap.addField(java.lang.String, java.lang.String, java.lang.String, com.vasoftware.sf.server.services.field.FieldDisplayType, int, int, boolean, boolean, boolean, java.lang.String[], java.lang.String[], java.lang.String, java.lang.String)
-
prepareAddField
public void prepareAddField(String sessionId, String projectId, String fieldName, com.vasoftware.sf.server.services.field.FieldDisplayType fieldType, int displayColumns, int displayRows, boolean isRequired, boolean isDisabled, boolean isHiddenOnCreate, String[] fieldValues, String[] defaultFieldValues, String helpText, String pattern, Exception exception) Prepare a simulated response to addField- See Also:
-
DocumentAppSoap.addField(java.lang.String, java.lang.String, java.lang.String, com.vasoftware.sf.server.services.field.FieldDisplayType, int, int, boolean, boolean, boolean, java.lang.String[], java.lang.String[], java.lang.String, java.lang.String)
-
addField
public void addField(String sessionId, String projectId, String fieldName, com.vasoftware.sf.server.services.field.FieldDisplayType fieldType, int displayColumns, int displayRows, boolean isRequired, boolean isDisabled, boolean isHiddenOnCreate, String[] fieldValues, String[] defaultFieldValues, String helpText, String pattern) throws RemoteException Simulate a call to addField- Throws:
RemoteException
- See Also:
-
DocumentAppSoap.addField(java.lang.String, java.lang.String, java.lang.String, com.vasoftware.sf.server.services.field.FieldDisplayType, int, int, boolean, boolean, boolean, java.lang.String[], java.lang.String[], java.lang.String, java.lang.String)
-
prepareGetFields
Prepare a simulated response to getFields -
getFields
public DocumentFolderFieldSoapDO[] getFields(String sessionId, String projectId) throws RemoteException Simulate a call to getFields- Specified by:
getFields
in 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
- See Also:
-
prepareVerifyAndGetFields
Prepare a simulated response to verifyAndGetFields- See Also:
-
DocumentAppSoap.verifyAndGetFields(java.lang.String, java.lang.String)
-
verifyAndGetFields
public com.vasoftware.sf.server.services.field.FieldDO[] verifyAndGetFields(String projectId, String loggedInUser) throws RemoteException Simulate a call to verifyAndGetFields- Throws:
RemoteException
- See Also:
-
DocumentAppSoap.verifyAndGetFields(java.lang.String, java.lang.String)
-
prepareSetField
Prepare a simulated response to setField -
prepareSetField
public void prepareSetField(String sessionId, DocumentFolderFieldSoapDO fieldData, Exception exception) Prepare a simulated response to setField -
setField
Simulate a call to setField- Specified by:
setField
in 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:
-
prepareDeleteField
Prepare a simulated response to deleteField -
prepareDeleteField
Prepare a simulated response to deleteField -
deleteField
Simulate a call to deleteField- Specified by:
deleteField
in 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
- See Also:
-
prepareAddSeparator
public void prepareAddSeparator(String sessionId, String projectId, String separatorType, String separatorLabel) Prepare a simulated response to addSeparator -
prepareAddSeparator
public void prepareAddSeparator(String sessionId, String projectId, String separatorType, String separatorLabel, Exception exception) Prepare a simulated response to addSeparator -
addSeparator
public void addSeparator(String sessionId, String projectId, String separatorType, String separatorLabel) throws RemoteException Simulate a call to addSeparator- Specified by:
addSeparator
in 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
- See Also:
-
prepareDeleteSeparator
Prepare a simulated response to deleteSeparator -
prepareDeleteSeparator
Prepare a simulated response to deleteSeparator -
deleteSeparator
Simulate a call to deleteSeparator- Specified by:
deleteSeparator
in 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
- See Also:
-
prepareGetOrderedDocumentFields
Prepare a simulated response to getOrderedDocumentFields -
getOrderedDocumentFields
public OrderedDocumentFolderFieldSoapList getOrderedDocumentFields(String sessionId, String projectId) throws RemoteException Simulate a call to getOrderedDocumentFields- Specified by:
getOrderedDocumentFields
in 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
- See Also:
-
prepareReorderDocumentFields
Prepare a simulated response to reorderDocumentFields -
prepareReorderDocumentFields
public void prepareReorderDocumentFields(String sessionId, String projectId, String[] layoutIds, Exception exception) Prepare a simulated response to reorderDocumentFields -
reorderDocumentFields
public void reorderDocumentFields(String sessionId, String projectId, String[] layoutIds) throws RemoteException Simulate a call to reorderDocumentFields- Specified by:
reorderDocumentFields
in 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
- See Also:
-
prepareValidateVersions
public void prepareValidateVersions(com.vasoftware.sf.server.types.ItemPath documentPath, int[] versionNumbers, String loggedInUser, Object returnValue) Prepare a simulated response to validateVersions- See Also:
-
DocumentAppSoap.validateVersions(com.vasoftware.sf.server.types.ItemPath, int[], java.lang.String)
-
validateVersions
public List validateVersions(com.vasoftware.sf.server.types.ItemPath documentPath, int[] versionNumbers, String loggedInUser) throws RemoteException Simulate a call to validateVersions- Throws:
RemoteException
- See Also:
-
DocumentAppSoap.validateVersions(com.vasoftware.sf.server.types.ItemPath, int[], java.lang.String)
-
prepareCheckPermissionForView
public void prepareCheckPermissionForView(com.vasoftware.sf.server.types.UserSessionKey sessionKey, String username, com.vasoftware.sf.server.types.ObjectKey targetKey, Object returnValue) Prepare a simulated response to checkPermissionForView- See Also:
-
DocumentAppSoap.checkPermissionForView(com.vasoftware.sf.server.types.UserSessionKey, java.lang.String, com.vasoftware.sf.server.types.ObjectKey)
-
checkPermissionForView
public boolean checkPermissionForView(com.vasoftware.sf.server.types.UserSessionKey sessionKey, String username, com.vasoftware.sf.server.types.ObjectKey targetKey) throws RemoteException Simulate a call to checkPermissionForView- Throws:
RemoteException
- See Also:
-
DocumentAppSoap.checkPermissionForView(com.vasoftware.sf.server.types.UserSessionKey, java.lang.String, com.vasoftware.sf.server.types.ObjectKey)
-
prepareValidateCreateDocument
public void prepareValidateCreateDocument(String title, String description, String status, String fileName, String mimeType, String fileId) Prepare a simulated response to validateCreateDocument- See Also:
-
DocumentAppSoap.validateCreateDocument(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
-
prepareValidateCreateDocument
public void prepareValidateCreateDocument(String title, String description, String status, String fileName, String mimeType, String fileId, Exception exception) Prepare a simulated response to validateCreateDocument- See Also:
-
DocumentAppSoap.validateCreateDocument(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
-
validateCreateDocument
public void validateCreateDocument(String title, String description, String status, String fileName, String mimeType, String fileId) throws RemoteException Simulate a call to validateCreateDocument- Throws:
RemoteException
- See Also:
-
DocumentAppSoap.validateCreateDocument(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
-
prepareValidateCreateDocumentWithUrl
public void prepareValidateCreateDocumentWithUrl(String title, String description, String status, String fileUrl) Prepare a simulated response to validateCreateDocumentWithUrl- See Also:
-
DocumentAppSoap.validateCreateDocumentWithUrl(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
-
prepareValidateCreateDocumentWithUrl
public void prepareValidateCreateDocumentWithUrl(String title, String description, String status, String fileUrl, Exception exception) Prepare a simulated response to validateCreateDocumentWithUrl- See Also:
-
DocumentAppSoap.validateCreateDocumentWithUrl(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
-
validateCreateDocumentWithUrl
public void validateCreateDocumentWithUrl(String title, String description, String status, String fileUrl) throws RemoteException Simulate a call to validateCreateDocumentWithUrl- Throws:
RemoteException
- See Also:
-
DocumentAppSoap.validateCreateDocumentWithUrl(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
-
prepareValidateLockAttributes
public void prepareValidateLockAttributes(boolean createLocked, boolean createDownloadRestricted, boolean allowForceUnlock) Prepare a simulated response to validateLockAttributes- See Also:
-
DocumentAppSoap.validateLockAttributes(boolean, boolean, boolean)
-
prepareValidateLockAttributes
public void prepareValidateLockAttributes(boolean createLocked, boolean createDownloadRestricted, boolean allowForceUnlock, Exception exception) Prepare a simulated response to validateLockAttributes- See Also:
-
DocumentAppSoap.validateLockAttributes(boolean, boolean, boolean)
-
validateLockAttributes
public void validateLockAttributes(boolean createLocked, boolean createDownloadRestricted, boolean allowForceUnlock) throws RemoteException Simulate a call to validateLockAttributes- Throws:
RemoteException
- See Also:
-
DocumentAppSoap.validateLockAttributes(boolean, boolean, boolean)
-
prepareGetDocumentData
public void prepareGetDocumentData(String documentId, int documentVersion, String sessionId, Object returnValue) Prepare a simulated response to getDocumentData -
getDocumentData
public com.vasoftware.sf.server.services.docman.DocumentDO getDocumentData(String documentId, int documentVersion, String sessionId) throws RemoteException Simulate a call to getDocumentData
-