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_WILDCARDFields inherited from class com.collabnet.ce.soap60.webservices.ClientSoapStub
DEFAULT_CLIENT_TIME_OUT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDateField(String sessionId, String projectId, String fieldName, boolean isRequired, boolean isDisabled, boolean isHiddenOnCreate, String helpText) Simulate a call to addDateFieldvoidaddField(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 addFieldvoidaddMultiSelectField(String sessionId, String projectId, String fieldName, int displayLines, boolean isRequired, boolean isDisabled, boolean isHiddenOnCreate, String[] fieldValues, String[] defaultValues, String helpText) Simulate a call to addMultiSelectFieldvoidaddSeparator(String sessionId, String projectId, String separatorType, String separatorLabel) Simulate a call to addSeparatorvoidaddSingleSelectChildField(String sessionId, String projectId, String fieldName, String[] fieldValues, String parentFieldId, SoapNamedValues parentChildFieldValueMap, String helpText) Simulate a call to addSingleSelectChildFieldvoidaddSingleSelectField(String sessionId, String projectId, String fieldName, boolean isRequired, boolean isDisabled, boolean isHiddenOnCreate, String[] fieldValues, String defaultValue, String helpText) Simulate a call to addSingleSelectFieldvoidaddTextField(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 addTextFieldvoidaddUserSelectField(String sessionId, String projectId, String fieldName, int displayLines, boolean isRequired, boolean isDisabled, boolean isHiddenOnCreate, String[] defaultValues, String userFilter, String helpText) Simulate a call to addUserSelectFieldbooleancheckPermissionForView(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.DocumentDOcreateDocument(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.DocumentDOcreateDocumentWithUrl(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 createReviewvoiddeleteDocument(String sessionId, String documentId) Simulate a call to deleteDocumentvoiddeleteDocumentByVersions(String sessionId, String documentId, int[] versionNumbers) Simulate a call to deleteDocumentByVersionsvoiddeleteDocumentFolder(String sessionId, String folderId) Simulate a call to deleteDocumentFoldervoiddeleteField(String sessionId, String fieldId) Simulate a call to deleteFieldvoiddeleteSeparator(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.DocumentListfindDocumentsList(String sessionId, String queryString, String projectId, boolean searchAttachments, boolean currentVersionsOnly) Simulate a call to findDocumentsListcom.vasoftware.sf.server.services.docman.DocumentListfindDocumentsList2(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.DocumentDOgetDocumentData(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 getVersionStatusbooleanisLockedDocument(com.vasoftware.sf.server.types.ItemPath documentPath, String loggedInUser) Simulate a call to isLockedDocumentcom.vasoftware.sf.server.services.docman.DocumentListlistDocuments(String sessionId, String parentId, SoapFilter[] filters) Simulate a call to listDocumentscom.vasoftware.sf.server.services.docman.DocumentDetailArrangedListlistDocumentsDetailed(String sessionId, String documentFolderId, SoapFilter[] filters) Simulate a call to listDocumentsDetailedcom.vasoftware.sf.server.services.docman.DocumentDOmoveDoc(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 moveDocumentFoldervoidprepareAddDateField(String sessionId, String projectId, String fieldName, boolean isRequired, boolean isDisabled, boolean isHiddenOnCreate, String helpText) Prepare a simulated response to addDateFieldvoidprepareAddDateField(String sessionId, String projectId, String fieldName, boolean isRequired, boolean isDisabled, boolean isHiddenOnCreate, String helpText, Exception exception) Prepare a simulated response to addDateFieldvoidprepareAddField(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 addFieldvoidprepareAddField(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 addFieldvoidprepareAddMultiSelectField(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 addMultiSelectFieldvoidprepareAddMultiSelectField(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 addMultiSelectFieldvoidprepareAddSeparator(String sessionId, String projectId, String separatorType, String separatorLabel) Prepare a simulated response to addSeparatorvoidprepareAddSeparator(String sessionId, String projectId, String separatorType, String separatorLabel, Exception exception) Prepare a simulated response to addSeparatorvoidprepareAddSingleSelectChildField(String sessionId, String projectId, String fieldName, String[] fieldValues, String parentFieldId, SoapNamedValues parentChildFieldValueMap, String helpText) Prepare a simulated response to addSingleSelectChildFieldvoidprepareAddSingleSelectChildField(String sessionId, String projectId, String fieldName, String[] fieldValues, String parentFieldId, SoapNamedValues parentChildFieldValueMap, String helpText, Exception exception) Prepare a simulated response to addSingleSelectChildFieldvoidprepareAddSingleSelectField(String sessionId, String projectId, String fieldName, boolean isRequired, boolean isDisabled, boolean isHiddenOnCreate, String[] fieldValues, String defaultValue, String helpText) Prepare a simulated response to addSingleSelectFieldvoidprepareAddSingleSelectField(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 addSingleSelectFieldvoidprepareAddTextField(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 addTextFieldvoidprepareAddTextField(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 addTextFieldvoidprepareAddUserSelectField(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 addUserSelectFieldvoidprepareAddUserSelectField(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 addUserSelectFieldvoidprepareCheckPermissionForView(com.vasoftware.sf.server.types.UserSessionKey sessionKey, String username, com.vasoftware.sf.server.types.ObjectKey targetKey, Object returnValue) Prepare a simulated response to checkPermissionForViewvoidprepareCreateDocument(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 createDocumentvoidprepareCreateDocument(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 createDocumentvoidprepareCreateDocument2(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 createDocument2voidprepareCreateDocument3(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 createDocument3voidprepareCreateDocumentFolder(String sessionId, String parentId, String title, String description, Object returnValue) Prepare a simulated response to createDocumentFoldervoidprepareCreateDocumentWithUrl(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 createDocumentWithUrlvoidprepareCreateDocumentWithUrl(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 createDocumentWithUrlvoidprepareCreateDocumentWithUrl2(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 createDocumentWithUrl2voidprepareCreateDocumentWithUrl3(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 createDocumentWithUrl3voidprepareCreateReview(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 createReviewvoidprepareDeleteDocument(String sessionId, String documentId) Prepare a simulated response to deleteDocumentvoidprepareDeleteDocument(String sessionId, String documentId, Exception exception) Prepare a simulated response to deleteDocumentvoidprepareDeleteDocumentByVersions(String sessionId, String documentId, int[] versionNumbers) Prepare a simulated response to deleteDocumentByVersionsvoidprepareDeleteDocumentByVersions(String sessionId, String documentId, int[] versionNumbers, Exception exception) Prepare a simulated response to deleteDocumentByVersionsvoidprepareDeleteDocumentFolder(String sessionId, String folderId) Prepare a simulated response to deleteDocumentFoldervoidprepareDeleteDocumentFolder(String sessionId, String folderId, Exception exception) Prepare a simulated response to deleteDocumentFoldervoidprepareDeleteField(String sessionId, String fieldId) Prepare a simulated response to deleteFieldvoidprepareDeleteField(String sessionId, String fieldId, Exception exception) Prepare a simulated response to deleteFieldvoidprepareDeleteSeparator(String sessionId, String layoutId) Prepare a simulated response to deleteSeparatorvoidprepareDeleteSeparator(String sessionId, String layoutId, Exception exception) Prepare a simulated response to deleteSeparatorvoidprepareFindDocuments(String sessionId, String queryString, String projectId, boolean searchAttachments, boolean currentVersionsOnly, Object returnValue) Prepare a simulated response to findDocumentsvoidprepareFindDocuments2(String sessionId, String queryString, String projectId, boolean searchAttachments, boolean currentVersionsOnly, Object returnValue) Prepare a simulated response to findDocuments2voidprepareFindDocuments3(String sessionId, String queryString, String projectId, boolean searchAttachments, boolean currentVersionsOnly, Object returnValue) Prepare a simulated response to findDocuments3voidprepareFindDocumentsList(String sessionId, String queryString, String projectId, boolean searchAttachments, boolean currentVersionsOnly, Object returnValue) Prepare a simulated response to findDocumentsListvoidprepareFindDocumentsList2(String sessionId, String queryString, String projectId, boolean searchAttachments, boolean currentVersionsOnly, Object returnValue) Prepare a simulated response to findDocumentsList2voidprepareGetAssignedDocumentReviewList(String sessionId, String username, Object returnValue) Prepare a simulated response to getAssignedDocumentReviewListvoidprepareGetDocumentData(String documentId, int documentVersion, String sessionId, Object returnValue) Prepare a simulated response to getDocumentDatavoidprepareGetDocumentData(String sessionId, String documentId, int documentVersion, Object returnValue) Prepare a simulated response to getDocumentDatavoidprepareGetDocumentData2(String sessionId, String documentId, int documentVersion, Object returnValue) Prepare a simulated response to getDocumentData2voidprepareGetDocumentData3(String sessionId, String documentId, int documentVersion, Object returnValue) Prepare a simulated response to getDocumentData3voidprepareGetDocumentFileId(String sessionId, String documentId, int documentVersion, Object returnValue) Prepare a simulated response to getDocumentFileIdvoidprepareGetDocumentFolderData(String sessionId, String folderId, Object returnValue) Prepare a simulated response to getDocumentFolderDatavoidprepareGetDocumentFolderList(String sessionId, String parentId, boolean recursive, Object returnValue) Prepare a simulated response to getDocumentFolderListvoidprepareGetDocumentList(String sessionId, String parentId, SoapFilter[] filters, Object returnValue) Prepare a simulated response to getDocumentListvoidprepareGetDocumentList2(String sessionId, String parentId, SoapFilter[] filters, Object returnValue) Prepare a simulated response to getDocumentList2voidprepareGetDocumentList3(String sessionId, String documentFolderId, SoapFilter[] filters, Object returnValue) Prepare a simulated response to getDocumentList3voidprepareGetDocumentReviewList(String sessionId, String containerId, SoapFilter[] filters, Object returnValue) Prepare a simulated response to getDocumentReviewListvoidprepareGetDocumentVersions(String sessionId, String documentId, boolean includeDeletedVersions, Object returnValue) Prepare a simulated response to getDocumentVersionsvoidprepareGetFields(String sessionId, String projectId, Object returnValue) Prepare a simulated response to getFieldsvoidprepareGetOrderedDocumentFields(String sessionId, String projectId, Object returnValue) Prepare a simulated response to getOrderedDocumentFieldsvoidprepareGetValidStatus(String projectPath, String soapStatus, String rmiStatus, com.vasoftware.sf.server.types.UserSessionKey sessionKey, Object returnValue) Prepare a simulated response to getValidStatusvoidprepareGetVersionStatus(String projectPath, String status, com.vasoftware.sf.server.types.UserSessionKey sessionKey, Object returnValue) Prepare a simulated response to getVersionStatusvoidprepareIsLockedDocument(com.vasoftware.sf.server.types.ItemPath documentPath, String loggedInUser, Object returnValue) Prepare a simulated response to isLockedDocumentvoidprepareListDocuments(String sessionId, String parentId, SoapFilter[] filters, Object returnValue) Prepare a simulated response to listDocumentsvoidprepareListDocumentsDetailed(String sessionId, String documentFolderId, SoapFilter[] filters, Object returnValue) Prepare a simulated response to listDocumentsDetailedvoidprepareMoveDoc(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 moveDocvoidprepareMoveDocument(String sessionId, String documentId, String targetFolderId, Object returnValue) Prepare a simulated response to moveDocumentvoidprepareMoveDocument2(String sessionId, String documentId, String targetFolderId, Object returnValue) Prepare a simulated response to moveDocument2voidprepareMoveDocument3(String sessionId, String documentId, String targetFolderId, Object returnValue) Prepare a simulated response to moveDocument3voidprepareMoveDocumentFolder(String sessionId, String folderId, String destFolderId, Object returnValue) Prepare a simulated response to moveDocumentFoldervoidprepareReorderDocumentFields(String sessionId, String projectId, String[] layoutIds) Prepare a simulated response to reorderDocumentFieldsvoidprepareReorderDocumentFields(String sessionId, String projectId, String[] layoutIds, Exception exception) Prepare a simulated response to reorderDocumentFieldsvoidprepareSetDocumentData(com.vasoftware.sf.server.services.docman.DocumentDO documentDO, String fileId, String loggedInUser, Set tagIds) Prepare a simulated response to setDocumentDatavoidprepareSetDocumentData(com.vasoftware.sf.server.services.docman.DocumentDO documentDO, String fileId, String loggedInUser, Set tagIds, Exception exception) Prepare a simulated response to setDocumentDatavoidprepareSetDocumentData(String sessionId, DocumentSoapDO documentData, String fileId) Prepare a simulated response to setDocumentDatavoidprepareSetDocumentData(String sessionId, DocumentSoapDO documentData, String fileId, Exception exception) Prepare a simulated response to setDocumentDatavoidprepareSetDocumentData2(String sessionId, Document2SoapDO documentData, String fileId) Prepare a simulated response to setDocumentData2voidprepareSetDocumentData2(String sessionId, Document2SoapDO documentData, String fileId, Exception exception) Prepare a simulated response to setDocumentData2voidprepareSetDocumentData3(String sessionId, Document3SoapDO documentData, String fileId) Prepare a simulated response to setDocumentData3voidprepareSetDocumentData3(String sessionId, Document3SoapDO documentData, String fileId, Exception exception) Prepare a simulated response to setDocumentData3voidprepareSetDocumentDataWithAssociation(com.vasoftware.sf.server.services.docman.DocumentDO documentDO, String fileId, String associationId, String associationComment, String loggedInUser, Set tagIds) Prepare a simulated response to setDocumentDataWithAssociationvoidprepareSetDocumentDataWithAssociation(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 setDocumentDataWithAssociationvoidprepareSetDocumentDataWithAssociation(String sessionId, DocumentSoapDO documentData, String fileId, String associationId, String associationComment) Prepare a simulated response to setDocumentDataWithAssociationvoidprepareSetDocumentDataWithAssociation(String sessionId, DocumentSoapDO documentData, String fileId, String associationId, String associationComment, Exception exception) Prepare a simulated response to setDocumentDataWithAssociationvoidprepareSetDocumentDataWithAssociation2(String sessionId, Document2SoapDO documentData, String fileId, String associationId, String associationComment) Prepare a simulated response to setDocumentDataWithAssociation2voidprepareSetDocumentDataWithAssociation2(String sessionId, Document2SoapDO documentData, String fileId, String associationId, String associationComment, Exception exception) Prepare a simulated response to setDocumentDataWithAssociation2voidprepareSetDocumentDataWithAssociation3(String sessionId, Document3SoapDO documentData, String fileId, String associationId, String associationComment) Prepare a simulated response to setDocumentDataWithAssociation3voidprepareSetDocumentDataWithAssociation3(String sessionId, Document3SoapDO documentData, String fileId, String associationId, String associationComment, Exception exception) Prepare a simulated response to setDocumentDataWithAssociation3voidprepareSetDocumentFolderData(String sessionId, DocumentFolderSoapDO documentFolderData) Prepare a simulated response to setDocumentFolderDatavoidprepareSetDocumentFolderData(String sessionId, DocumentFolderSoapDO documentFolderData, Exception exception) Prepare a simulated response to setDocumentFolderDatavoidprepareSetField(String sessionId, DocumentFolderFieldSoapDO fieldData) Prepare a simulated response to setFieldvoidprepareSetField(String sessionId, DocumentFolderFieldSoapDO fieldData, Exception exception) Prepare a simulated response to setFieldvoidprepareValidateCreateDocument(String title, String description, String status, String fileName, String mimeType, String fileId) Prepare a simulated response to validateCreateDocumentvoidprepareValidateCreateDocument(String title, String description, String status, String fileName, String mimeType, String fileId, Exception exception) Prepare a simulated response to validateCreateDocumentvoidprepareValidateCreateDocumentWithUrl(String title, String description, String status, String fileUrl) Prepare a simulated response to validateCreateDocumentWithUrlvoidprepareValidateCreateDocumentWithUrl(String title, String description, String status, String fileUrl, Exception exception) Prepare a simulated response to validateCreateDocumentWithUrlvoidprepareValidateLockAttributes(boolean createLocked, boolean createDownloadRestricted, boolean allowForceUnlock) Prepare a simulated response to validateLockAttributesvoidprepareValidateLockAttributes(boolean createLocked, boolean createDownloadRestricted, boolean allowForceUnlock, Exception exception) Prepare a simulated response to validateLockAttributesvoidprepareValidateVersions(com.vasoftware.sf.server.types.ItemPath documentPath, int[] versionNumbers, String loggedInUser, Object returnValue) Prepare a simulated response to validateVersionsvoidprepareVerifyAndGetFields(String projectId, String loggedInUser, Object returnValue) Prepare a simulated response to verifyAndGetFieldsvoidreorderDocumentFields(String sessionId, String projectId, String[] layoutIds) Simulate a call to reorderDocumentFieldsvoidsetDocumentData(com.vasoftware.sf.server.services.docman.DocumentDO documentDO, String fileId, String loggedInUser, Set tagIds) Simulate a call to setDocumentDatavoidsetDocumentData(String sessionId, DocumentSoapDO documentData, String fileId) Deprecated.voidsetDocumentData2(String sessionId, Document2SoapDO documentData, String fileId) Deprecated.voidsetDocumentData3(String sessionId, Document3SoapDO documentData, String fileId) Simulate a call to setDocumentData3voidsetDocumentDataWithAssociation(com.vasoftware.sf.server.services.docman.DocumentDO documentDO, String fileId, String associationId, String associationComment, String loggedInUser, Set tagIds) Simulate a call to setDocumentDataWithAssociationvoidsetDocumentDataWithAssociation(String sessionId, DocumentSoapDO documentData, String fileId, String associationId, String associationComment) Deprecated.voidsetDocumentDataWithAssociation2(String sessionId, Document2SoapDO documentData, String fileId, String associationId, String associationComment) Deprecated.voidsetDocumentDataWithAssociation3(String sessionId, Document3SoapDO documentData, String fileId, String associationId, String associationComment) Simulate a call to setDocumentDataWithAssociation3voidsetDocumentFolderData(String sessionId, DocumentFolderSoapDO documentFolderData) Simulate a call to setDocumentFolderDatavoidsetField(String sessionId, DocumentFolderFieldSoapDO fieldData) Simulate a call to setFieldvoidvalidateCreateDocument(String title, String description, String status, String fileName, String mimeType, String fileId) Simulate a call to validateCreateDocumentvoidvalidateCreateDocumentWithUrl(String title, String description, String status, String fileUrl) Simulate a call to validateCreateDocumentWithUrlvoidvalidateLockAttributes(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, simulateCallMethods 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- See Also:
-
getDocumentFolderList
public DocumentFolderSoapList getDocumentFolderList(String sessionId, String parentId, boolean recursive) throws RemoteException Simulate a call to getDocumentFolderList- Specified by:
getDocumentFolderListin interfaceIDocumentAppSoap- Parameters:
sessionId- SOAP session id.parentId- Parent document folder id -or- project id for listing root document folder.recursive- Show subfolders of the folders returned- Returns:
- Document folder list.
- Throws:
RemoteException- See Also:
-
prepareSetDocumentFolderData
Prepare a simulated response to setDocumentFolderData- See Also:
-
prepareSetDocumentFolderData
public void prepareSetDocumentFolderData(String sessionId, DocumentFolderSoapDO documentFolderData, Exception exception) Prepare a simulated response to setDocumentFolderData- See Also:
-
setDocumentFolderData
public void setDocumentFolderData(String sessionId, DocumentFolderSoapDO documentFolderData) throws RemoteException Simulate a call to setDocumentFolderData- Specified by:
setDocumentFolderDatain interfaceIDocumentAppSoap- Parameters:
sessionId- SOAP session id.documentFolderData- Data to apply.- Throws:
RemoteException- See Also:
-
prepareGetDocumentFolderData
Prepare a simulated response to getDocumentFolderData- See Also:
-
getDocumentFolderData
public DocumentFolderSoapDO getDocumentFolderData(String sessionId, String folderId) throws RemoteException Simulate a call to getDocumentFolderData- Specified by:
getDocumentFolderDatain interfaceIDocumentAppSoap- Parameters:
sessionId- SOAP session id.folderId- Folder id to get detailed data for.- Returns:
- Document Folder data object.
- Throws:
RemoteException- See Also:
-
prepareGetAssignedDocumentReviewList
public void prepareGetAssignedDocumentReviewList(String sessionId, String username, Object returnValue) Prepare a simulated response to getAssignedDocumentReviewList- See Also:
-
getAssignedDocumentReviewList
public DocumentReviewSoapList getAssignedDocumentReviewList(String sessionId, String username) throws RemoteException Simulate a call to getAssignedDocumentReviewList- Specified by:
getAssignedDocumentReviewListin interfaceIDocumentAppSoap- Parameters:
sessionId- SOAP session id.username- User to whom reviews are assigned for review (required or optional).- Returns:
- Document review list.
- Throws:
RemoteException- See Also:
-
prepareGetDocumentReviewList
public void prepareGetDocumentReviewList(String sessionId, String containerId, SoapFilter[] filters, Object returnValue) Prepare a simulated response to getDocumentReviewList- See Also:
-
getDocumentReviewList
public DocumentReviewSoapList getDocumentReviewList(String sessionId, String containerId, SoapFilter[] filters) throws RemoteException Simulate a call to getDocumentReviewList- Specified by:
getDocumentReviewListin interfaceIDocumentAppSoap- Parameters:
sessionId- SOAP session id.containerId- null (for reviews across projects) or document ID (for reviews associated with document).filters- Filters to apply for listing the reviews.- Returns:
- Document review list.
- Throws:
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- See Also:
-
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:
createReviewin interfaceIDocumentAppSoap- Parameters:
sessionId- SOAP session id.documentId- the id of the document for which the review is to be created.version- the version of the documenttitle- The title of the reviewdescription- The description of the reviewdueDate- The due date of the reviewrequiredReviewers- an array of usernames of required reviewersoptionalReviewers- an array of usernames of optional reviewersattachDocument- whether to attach the document to the email or not- Returns:
- The data object of the review
- Throws:
RemoteException- See Also:
-
prepareGetDocumentList
public void prepareGetDocumentList(String sessionId, String parentId, SoapFilter[] filters, Object returnValue) Prepare a simulated response to getDocumentList- See Also:
-
getDocumentList
@Deprecated public DocumentSoapList getDocumentList(String sessionId, String parentId, SoapFilter[] filters) throws RemoteException Deprecated.Simulate a call to getDocumentList- Specified by:
getDocumentListin interfaceIDocumentAppSoap- Parameters:
sessionId- SOAP session id.parentId- Document folder id (obtained from getDocumentFolderList).filters- not supported.- Returns:
- Document list.
- Throws:
RemoteException- See Also:
-
prepareGetDocumentList2
public void prepareGetDocumentList2(String sessionId, String parentId, SoapFilter[] filters, Object returnValue) Prepare a simulated response to getDocumentList2- See Also:
-
getDocumentList2
public Document2SoapList getDocumentList2(String sessionId, String parentId, SoapFilter[] filters) throws RemoteException Simulate a call to getDocumentList2- Specified by:
getDocumentList2in interfaceIDocumentAppSoap- Parameters:
sessionId- SOAP session id.parentId- Document folder id (obtained from getDocumentFolderList).filters- not supported.- Returns:
- Document list.
- Throws:
RemoteException- See Also:
-
prepareGetDocumentList3
public void prepareGetDocumentList3(String sessionId, String documentFolderId, SoapFilter[] filters, Object returnValue) Prepare a simulated response to getDocumentList3- See Also:
-
getDocumentList3
public Document3SoapList getDocumentList3(String sessionId, String documentFolderId, SoapFilter[] filters) throws RemoteException Simulate a call to getDocumentList3- Specified by:
getDocumentList3in interfaceIDocumentAppSoap- Parameters:
sessionId- SOAP session id.documentFolderId- Document folder id (obtained from getDocumentFolderList).filters- not supported.- Returns:
- Document list.
- Throws:
RemoteException- See Also:
-
prepareListDocumentsDetailed
public void prepareListDocumentsDetailed(String sessionId, String documentFolderId, SoapFilter[] filters, Object returnValue) Prepare a simulated response to listDocumentsDetailed- See Also:
-
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:
-
prepareListDocuments
public void prepareListDocuments(String sessionId, String parentId, SoapFilter[] filters, Object returnValue) Prepare a simulated response to listDocuments- See Also:
-
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:
-
prepareFindDocuments
public void prepareFindDocuments(String sessionId, String queryString, String projectId, boolean searchAttachments, boolean currentVersionsOnly, Object returnValue) Prepare a simulated response to findDocuments- See Also:
-
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:
findDocumentsin interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.queryString- Query string.projectId- The project in which to find documents. (if null, search all projects)searchAttachments- Whether to search attachments.currentVersionsOnly- Whether to search only current versions of documents.- Returns:
- List of documents matching search criteria.
- Throws:
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- See Also:
-
findDocuments2
public Document2SoapList findDocuments2(String sessionId, String queryString, String projectId, boolean searchAttachments, boolean currentVersionsOnly) throws RemoteException Simulate a call to findDocuments2- Specified by:
findDocuments2in interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.queryString- Query string.projectId- The project in which to find documents. (if null, search all projects)searchAttachments- Whether to search attachments.currentVersionsOnly- Whether to search only current versions of documents.- Returns:
- List of documents matching search criteria.
- Throws:
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:
-
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:
-
prepareFindDocuments3
public void prepareFindDocuments3(String sessionId, String queryString, String projectId, boolean searchAttachments, boolean currentVersionsOnly, Object returnValue) Prepare a simulated response to findDocuments3- See Also:
-
findDocuments3
public Document3SoapList findDocuments3(String sessionId, String queryString, String projectId, boolean searchAttachments, boolean currentVersionsOnly) throws RemoteException Simulate a call to findDocuments3- Specified by:
findDocuments3in interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.queryString- Query string.projectId- The project in which to find documents. (if null, search all projects)searchAttachments- Whether to search attachments.currentVersionsOnly- Whether to search only current versions of documents.- Returns:
- List of documents matching search criteria.
- Throws:
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:
-
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:
-
prepareCreateDocumentFolder
public void prepareCreateDocumentFolder(String sessionId, String parentId, String title, String description, Object returnValue) Prepare a simulated response to createDocumentFolder- See Also:
-
createDocumentFolder
public DocumentFolderSoapDO createDocumentFolder(String sessionId, String parentId, String title, String description) throws RemoteException Simulate a call to createDocumentFolder- Specified by:
createDocumentFolderin interfaceIDocumentAppSoap- Parameters:
sessionId- SOAP session id.parentId- Folder id in which to create this folder.title- Document folder title.description- Document folder description.- Returns:
- Document Folder data object.
- Throws:
RemoteException- See Also:
-
prepareMoveDocumentFolder
public void prepareMoveDocumentFolder(String sessionId, String folderId, String destFolderId, Object returnValue) Prepare a simulated response to moveDocumentFolder- See Also:
-
moveDocumentFolder
public DocumentFolderSoapDO moveDocumentFolder(String sessionId, String folderId, String destFolderId) throws RemoteException Simulate a call to moveDocumentFolder- Specified by:
moveDocumentFolderin interfaceIDocumentAppSoap- Parameters:
sessionId- SOAP session id.folderId- ID of folder to move.destFolderId- ID of destination folder- Returns:
- new document folder
- Throws:
RemoteException- See Also:
-
prepareDeleteDocumentFolder
Prepare a simulated response to deleteDocumentFolder- See Also:
-
prepareDeleteDocumentFolder
Prepare a simulated response to deleteDocumentFolder- See Also:
-
deleteDocumentFolder
Simulate a call to deleteDocumentFolder- Specified by:
deleteDocumentFolderin interfaceIDocumentAppSoap- Parameters:
sessionId- SOAP session id.folderId- Folder id to delete.- Throws:
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- See Also:
-
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:
createDocumentin interfaceIDocumentAppSoap- Parameters:
sessionId- SOAP session id.parentId- Document folder id in which to create a document.title- Document title.description- Document description.versionComment- Document version comment.status- Document status.createLocked- Is document locked on create?fileName- Name of the file.mimeType- File mime type.fileId- Uploaded file id (through FileStorageApp or SimpleFileStorageApp service).associationId- The id of the object associatedassociationDesc- The title of the object associated- Returns:
- Document data object.
- Throws:
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- See Also:
-
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:
createDocument2in interfaceIDocumentAppSoap- Parameters:
sessionId- SOAP session id.parentId- Document folder id in which to create a document.title- Document title.description- Document description.versionComment- Document version comment.status- Document status.createLocked- Is document locked on create?createDownloadRestricted- Is document download restricted on create?allowForceUnlock- Is document admin allowed to edit/download locked document?fileName- Name of the file.mimeType- File mime type.fileId- Uploaded file id (through FileStorageApp or SimpleFileStorageApp service).associationId- The id of the object associated, can be set to nullassociationDesc- The title of the object associated- Returns:
- Document data object.
- Throws:
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- See Also:
-
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:
createDocument3in interfaceIDocumentAppSoap- Parameters:
sessionId- SOAP session id.parentId- Document folder id in which to create a document.title- Document title.description- Document description.versionComment- Document version comment.status- Document status.createLocked- Is document locked on create?createDownloadRestricted- Is document download restricted on create?allowForceUnlock- Is document admin allowed to edit/download locked document?fileName- Name of the file.mimeType- File mime type.fileId- Uploaded file id (through FileStorageApp or SimpleFileStorageApp service).associationId- The id of the object associated, can be set to nullassociationDesc- The title of the object associatedflexFields- Flex field values- Returns:
- Document data object.
- Throws:
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- See Also:
-
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- Throws:
RemoteException- See Also:
-
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- See Also:
-
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:
createDocumentWithUrlin interfaceIDocumentAppSoap- Parameters:
sessionId- SOAP session id.parentId- Document folder id in which to create a document.title- Document title.description- Document description.versionComment- Document version comment.status- Document status.createLocked- Is document locked on create?fileUrl- the file URL of the documentassociationId- id of the object to be associatedassociationDesc- association comment- Returns:
- Document data object.
- Throws:
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- See Also:
-
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:
createDocumentWithUrl2in interfaceIDocumentAppSoap- Parameters:
sessionId- SOAP session id.parentId- Document folder id in which to create a document.title- Document title.description- Document description.versionComment- Document version comment.status- Document status.createLocked- Is document locked on create?createDownloadRestricted- Is document download restricted on create?allowForceUnlock- Is document admin allowed to edit/download locked document?fileUrl- the file URL of the documentassociationId- id of the object to be associatedassociationDesc- association comment- Returns:
- Document data object.
- Throws:
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- See Also:
-
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:
createDocumentWithUrl3in interfaceIDocumentAppSoap- Parameters:
sessionId- SOAP session id.parentId- Document folder id in which to create a document.title- Document title.description- Document description.versionComment- Document version comment.status- Document status.createLocked- Is document locked on create?createDownloadRestricted- Is document download restricted on create?allowForceUnlock- Is document admin allowed to edit/download locked document?fileUrl- the file URL of the documentassociationId- id of the object to be associatedassociationDesc- association commentflexFields- Flex field values- Returns:
- Document data object.
- Throws:
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- See Also:
-
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- Throws:
RemoteException- See Also:
-
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:
-
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:
-
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:
-
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:
-
prepareMoveDocument
public void prepareMoveDocument(String sessionId, String documentId, String targetFolderId, Object returnValue) Prepare a simulated response to moveDocument- See Also:
-
moveDocument
@Deprecated public DocumentSoapDO moveDocument(String sessionId, String documentId, String targetFolderId) throws RemoteException Deprecated.Simulate a call to moveDocument- Specified by:
moveDocumentin interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.documentId- ID of document to move.targetFolderId- Target folder ID.- Returns:
- New document object.
- Throws:
RemoteException- See Also:
-
prepareMoveDocument2
public void prepareMoveDocument2(String sessionId, String documentId, String targetFolderId, Object returnValue) Prepare a simulated response to moveDocument2- See Also:
-
moveDocument2
@Deprecated public Document2SoapDO moveDocument2(String sessionId, String documentId, String targetFolderId) throws RemoteException Deprecated.Simulate a call to moveDocument2- Specified by:
moveDocument2in interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.documentId- ID of document to move.targetFolderId- Target folder ID.- Returns:
- New document object.
- Throws:
RemoteException- See Also:
-
prepareMoveDocument3
public void prepareMoveDocument3(String sessionId, String documentId, String targetFolderId, Object returnValue) Prepare a simulated response to moveDocument3- See Also:
-
moveDocument3
public Document3SoapDO moveDocument3(String sessionId, String documentId, String targetFolderId) throws RemoteException Simulate a call to moveDocument3- Specified by:
moveDocument3in interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.documentId- ID of document to move.targetFolderId- Target folder ID.- Returns:
- New document object.
- Throws:
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:
-
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:
-
prepareDeleteDocument
Prepare a simulated response to deleteDocument- See Also:
-
prepareDeleteDocument
Prepare a simulated response to deleteDocument- See Also:
-
deleteDocument
Simulate a call to deleteDocument- Specified by:
deleteDocumentin interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.documentId- Document id.- Throws:
RemoteException- See Also:
-
prepareGetDocumentData
public void prepareGetDocumentData(String sessionId, String documentId, int documentVersion, Object returnValue) Prepare a simulated response to getDocumentData- See Also:
-
getDocumentData
@Deprecated public DocumentSoapDO getDocumentData(String sessionId, String documentId, int documentVersion) throws RemoteException Deprecated.Simulate a call to getDocumentData- Specified by:
getDocumentDatain interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.documentId- Document id.documentVersion- Document version number (specify zero for current version).- Returns:
- Document data object.
- Throws:
RemoteException- See Also:
-
prepareGetDocumentData2
public void prepareGetDocumentData2(String sessionId, String documentId, int documentVersion, Object returnValue) Prepare a simulated response to getDocumentData2- See Also:
-
getDocumentData2
@Deprecated public Document2SoapDO getDocumentData2(String sessionId, String documentId, int documentVersion) throws RemoteException Deprecated.Simulate a call to getDocumentData2- Specified by:
getDocumentData2in interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.documentId- Document id.documentVersion- Document version number (specify zero for current version).- Returns:
- Document data object.
- Throws:
RemoteException- See Also:
-
prepareGetDocumentData3
public void prepareGetDocumentData3(String sessionId, String documentId, int documentVersion, Object returnValue) Prepare a simulated response to getDocumentData3- See Also:
-
getDocumentData3
public Document3SoapDO getDocumentData3(String sessionId, String documentId, int documentVersion) throws RemoteException Simulate a call to getDocumentData3- Specified by:
getDocumentData3in interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.documentId- Document id.documentVersion- Document version number (specify zero for current version).- Returns:
- Document data object.
- Throws:
RemoteException- See Also:
-
prepareSetDocumentData
Prepare a simulated response to setDocumentData- See Also:
-
prepareSetDocumentData
public void prepareSetDocumentData(String sessionId, DocumentSoapDO documentData, String fileId, Exception exception) Prepare a simulated response to setDocumentData- See Also:
-
setDocumentData
@Deprecated public void setDocumentData(String sessionId, DocumentSoapDO documentData, String fileId) throws RemoteException Deprecated.Simulate a call to setDocumentData- Specified by:
setDocumentDatain interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.documentData- Document data object.fileId- Uploaded file id (through FileStorageApp or SimpleFileStorageApp service).- Throws:
RemoteException- See Also:
-
prepareSetDocumentData2
Prepare a simulated response to setDocumentData2- See Also:
-
prepareSetDocumentData2
public void prepareSetDocumentData2(String sessionId, Document2SoapDO documentData, String fileId, Exception exception) Prepare a simulated response to setDocumentData2- See Also:
-
setDocumentData2
@Deprecated public void setDocumentData2(String sessionId, Document2SoapDO documentData, String fileId) throws RemoteException Deprecated.Simulate a call to setDocumentData2- Specified by:
setDocumentData2in interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.documentData- Document data object.fileId- Uploaded file id (through FileStorageApp or SimpleFileStorageApp service).- Throws:
RemoteException- See Also:
-
prepareSetDocumentData3
Prepare a simulated response to setDocumentData3- See Also:
-
prepareSetDocumentData3
public void prepareSetDocumentData3(String sessionId, Document3SoapDO documentData, String fileId, Exception exception) Prepare a simulated response to setDocumentData3- See Also:
-
setDocumentData3
public void setDocumentData3(String sessionId, Document3SoapDO documentData, String fileId) throws RemoteException Simulate a call to setDocumentData3- Specified by:
setDocumentData3in interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.documentData- Document data object.fileId- Uploaded file id (through FileStorageApp or SimpleFileStorageApp service).- Throws:
RemoteException- 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- See Also:
-
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- See Also:
-
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- Throws:
RemoteException- See Also:
-
prepareSetDocumentDataWithAssociation
public void prepareSetDocumentDataWithAssociation(String sessionId, DocumentSoapDO documentData, String fileId, String associationId, String associationComment) Prepare a simulated response to setDocumentDataWithAssociation- See Also:
-
prepareSetDocumentDataWithAssociation
public void prepareSetDocumentDataWithAssociation(String sessionId, DocumentSoapDO documentData, String fileId, String associationId, String associationComment, Exception exception) Prepare a simulated response to setDocumentDataWithAssociation- See Also:
-
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:
setDocumentDataWithAssociationin interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.documentData- Document data object.fileId- Uploaded file id (through FileStorageApp or SimpleFileStorageApp service).associationId- The id of the associationassociationComment- Comment for the association- Throws:
RemoteException- See Also:
-
prepareSetDocumentDataWithAssociation2
public void prepareSetDocumentDataWithAssociation2(String sessionId, Document2SoapDO documentData, String fileId, String associationId, String associationComment) Prepare a simulated response to setDocumentDataWithAssociation2- See Also:
-
prepareSetDocumentDataWithAssociation2
public void prepareSetDocumentDataWithAssociation2(String sessionId, Document2SoapDO documentData, String fileId, String associationId, String associationComment, Exception exception) Prepare a simulated response to setDocumentDataWithAssociation2- See Also:
-
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:
setDocumentDataWithAssociation2in interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.documentData- Document data object.fileId- Uploaded file id (through FileStorageApp or SimpleFileStorageApp service).associationId- The id of the associationassociationComment- Comment for the association- Throws:
RemoteException- See Also:
-
prepareSetDocumentDataWithAssociation3
public void prepareSetDocumentDataWithAssociation3(String sessionId, Document3SoapDO documentData, String fileId, String associationId, String associationComment) Prepare a simulated response to setDocumentDataWithAssociation3- See Also:
-
prepareSetDocumentDataWithAssociation3
public void prepareSetDocumentDataWithAssociation3(String sessionId, Document3SoapDO documentData, String fileId, String associationId, String associationComment, Exception exception) Prepare a simulated response to setDocumentDataWithAssociation3- See Also:
-
setDocumentDataWithAssociation3
public void setDocumentDataWithAssociation3(String sessionId, Document3SoapDO documentData, String fileId, String associationId, String associationComment) throws RemoteException Simulate a call to setDocumentDataWithAssociation3- Specified by:
setDocumentDataWithAssociation3in interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.documentData- Document data object.fileId- Uploaded file id (through FileStorageApp or SimpleFileStorageApp service).associationId- The id of the associationassociationComment- Comment for the association- Throws:
RemoteException- 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- See Also:
-
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- See Also:
-
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- Throws:
RemoteException- See Also:
-
prepareGetDocumentFileId
public void prepareGetDocumentFileId(String sessionId, String documentId, int documentVersion, Object returnValue) Prepare a simulated response to getDocumentFileId- See Also:
-
getDocumentFileId
public String getDocumentFileId(String sessionId, String documentId, int documentVersion) throws RemoteException Simulate a call to getDocumentFileId- Specified by:
getDocumentFileIdin interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.documentId- document id.documentVersion- document version number (specify zero for current version).- Returns:
- File storage id (for download using FileStorageService or SimpleFileStorageService).
- Throws:
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:
-
isLockedDocument
public boolean isLockedDocument(com.vasoftware.sf.server.types.ItemPath documentPath, String loggedInUser) throws RemoteException Simulate a call to isLockedDocument- Throws:
RemoteException- See Also:
-
prepareGetDocumentVersions
public void prepareGetDocumentVersions(String sessionId, String documentId, boolean includeDeletedVersions, Object returnValue) Prepare a simulated response to getDocumentVersions- See Also:
-
getDocumentVersions
public Document2SoapList getDocumentVersions(String sessionId, String documentId, boolean includeDeletedVersions) throws RemoteException Simulate a call to getDocumentVersions- Specified by:
getDocumentVersionsin interfaceIDocumentAppSoap- Parameters:
sessionId- SOAP session id.documentId- Document id.includeDeletedVersions- Flag to indicate if the deleted versions of the document are to be fetched.- Returns:
- Document list.
- Throws:
RemoteException- See Also:
-
prepareDeleteDocumentByVersions
public void prepareDeleteDocumentByVersions(String sessionId, String documentId, int[] versionNumbers) Prepare a simulated response to deleteDocumentByVersions- See Also:
-
prepareDeleteDocumentByVersions
public void prepareDeleteDocumentByVersions(String sessionId, String documentId, int[] versionNumbers, Exception exception) Prepare a simulated response to deleteDocumentByVersions- See Also:
-
deleteDocumentByVersions
public void deleteDocumentByVersions(String sessionId, String documentId, int[] versionNumbers) throws RemoteException Simulate a call to deleteDocumentByVersions- Specified by:
deleteDocumentByVersionsin interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.documentId- Document id.versionNumbers- Versions of the document to be deleted- Throws:
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- 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, Exception exception) Prepare a simulated response to addTextField- See Also:
-
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:
addTextFieldin interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.projectId- The project in which to add the field to.fieldName- the name of the fielddisplayColumns- the width of the display areadisplayLines- the height of the display areaisRequired- if the field is requiredisDisabled- if the field is disabledisHiddenOnCreate- if the field is hidden when first createddefaultValue- default valuehelpText- The help text for the fieldpattern- The field validation pattern- Throws:
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- See Also:
-
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- See Also:
-
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:
addSingleSelectChildFieldin interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.projectId- The project in which to add the field to.fieldName- the name of the fieldfieldValues- Array of valid field valuesparentFieldId- The id of the parent fieldparentChildFieldValueMap- soapNamedValues which keeps mapping between parent field values and child valueshelpText- the help text for the field- Throws:
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- See Also:
-
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- See Also:
-
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:
addSingleSelectFieldin interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.projectId- The project in which to add the field to.fieldName- the name of the fieldisRequired- if the field is requiredisDisabled- if the field is disabledisHiddenOnCreate- if the field is hidden when first createdfieldValues- Array of valid field valuesdefaultValue- default valuehelpText- the help text for the field- Throws:
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- 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, Exception exception) Prepare a simulated response to addMultiSelectField- See Also:
-
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:
addMultiSelectFieldin interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.projectId- The project in which to add the field to.fieldName- the name of the fielddisplayLines- the height of the display areaisRequired- if the field is requiredisDisabled- if the field is disabledisHiddenOnCreate- if the field is hidden when first createdfieldValues- possible valuesdefaultValues- default valueshelpText- the help text for the field- Throws:
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- 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, Exception exception) Prepare a simulated response to addUserSelectField- See Also:
-
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:
addUserSelectFieldin interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.projectId- The project in which to add the field to.fieldName- the name of the fielddisplayLines- the height of the display areaisRequired- if the field is requiredisDisabled- if the field is disabledisHiddenOnCreate- if the field is hidden when first createddefaultValues- default values for this field. Must be valid usernamesuserFilter- is the filterhelpText- The help text of the field- Throws:
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- See Also:
-
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- See Also:
-
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:
addDateFieldin interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.projectId- The project in which to add the field to.fieldName- the name of the fieldisRequired- if the field is requiredisDisabled- if the field is disabledisHiddenOnCreate- if the field is hidden when first createdhelpText- the help text of the field- Throws:
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:
-
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:
-
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:
-
prepareGetFields
Prepare a simulated response to getFields- See Also:
-
getFields
public DocumentFolderFieldSoapDO[] getFields(String sessionId, String projectId) throws RemoteException Simulate a call to getFields- Specified by:
getFieldsin interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.projectId- The project for which to return the document fields information.- Returns:
- Array of all field values.
- Throws:
RemoteException- See Also:
-
prepareVerifyAndGetFields
Prepare a simulated response to verifyAndGetFields- See Also:
-
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:
-
prepareSetField
Prepare a simulated response to setField- See Also:
-
prepareSetField
public void prepareSetField(String sessionId, DocumentFolderFieldSoapDO fieldData, Exception exception) Prepare a simulated response to setField- See Also:
-
setField
Simulate a call to setField- Specified by:
setFieldin interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.fieldData- the custom/flex-field to associate with a specific folder- Throws:
RemoteException- See Also:
-
prepareDeleteField
Prepare a simulated response to deleteField- See Also:
-
prepareDeleteField
Prepare a simulated response to deleteField- See Also:
-
deleteField
Simulate a call to deleteField- Specified by:
deleteFieldin interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.fieldId- the id of the field to delete- Throws:
RemoteException- See Also:
-
prepareAddSeparator
public void prepareAddSeparator(String sessionId, String projectId, String separatorType, String separatorLabel) Prepare a simulated response to addSeparator- See Also:
-
prepareAddSeparator
public void prepareAddSeparator(String sessionId, String projectId, String separatorType, String separatorLabel, Exception exception) Prepare a simulated response to addSeparator- See Also:
-
addSeparator
public void addSeparator(String sessionId, String projectId, String separatorType, String separatorLabel) throws RemoteException Simulate a call to addSeparator- Specified by:
addSeparatorin interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.projectId- The project in which to add the separator to.separatorType- the type of the separatorseparatorLabel- the label of the separator- Throws:
RemoteException- See Also:
-
prepareDeleteSeparator
Prepare a simulated response to deleteSeparator- See Also:
-
prepareDeleteSeparator
Prepare a simulated response to deleteSeparator- See Also:
-
deleteSeparator
Simulate a call to deleteSeparator- Specified by:
deleteSeparatorin interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.layoutId- the layout id of the separator. To get the layout id, use getOrderedDocumentFolderFields().- Throws:
RemoteException- See Also:
-
prepareGetOrderedDocumentFields
Prepare a simulated response to getOrderedDocumentFields- See Also:
-
getOrderedDocumentFields
public OrderedDocumentFolderFieldSoapList getOrderedDocumentFields(String sessionId, String projectId) throws RemoteException Simulate a call to getOrderedDocumentFields- Specified by:
getOrderedDocumentFieldsin interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.projectId- The project for which to return the document fields information.- Returns:
- Array of all fields and separators.
- Throws:
RemoteException- See Also:
-
prepareReorderDocumentFields
Prepare a simulated response to reorderDocumentFields- See Also:
-
prepareReorderDocumentFields
public void prepareReorderDocumentFields(String sessionId, String projectId, String[] layoutIds, Exception exception) Prepare a simulated response to reorderDocumentFields- See Also:
-
reorderDocumentFields
public void reorderDocumentFields(String sessionId, String projectId, String[] layoutIds) throws RemoteException Simulate a call to reorderDocumentFields- Specified by:
reorderDocumentFieldsin interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.projectId- The project in which all the document fields and the separators belong to.layoutIds- An array of layout ids which can be obtained by getOrderedDocumentFields().- Throws:
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:
-
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:
-
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:
-
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:
-
prepareValidateCreateDocument
public void prepareValidateCreateDocument(String title, String description, String status, String fileName, String mimeType, String fileId) Prepare a simulated response to validateCreateDocument- See Also:
-
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:
-
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:
-
prepareValidateCreateDocumentWithUrl
public void prepareValidateCreateDocumentWithUrl(String title, String description, String status, String fileUrl) Prepare a simulated response to validateCreateDocumentWithUrl- See Also:
-
prepareValidateCreateDocumentWithUrl
public void prepareValidateCreateDocumentWithUrl(String title, String description, String status, String fileUrl, Exception exception) Prepare a simulated response to validateCreateDocumentWithUrl- See Also:
-
validateCreateDocumentWithUrl
public void validateCreateDocumentWithUrl(String title, String description, String status, String fileUrl) throws RemoteException Simulate a call to validateCreateDocumentWithUrl- Throws:
RemoteException- See Also:
-
prepareValidateLockAttributes
public void prepareValidateLockAttributes(boolean createLocked, boolean createDownloadRestricted, boolean allowForceUnlock) Prepare a simulated response to validateLockAttributes- See Also:
-
prepareValidateLockAttributes
public void prepareValidateLockAttributes(boolean createLocked, boolean createDownloadRestricted, boolean allowForceUnlock, Exception exception) Prepare a simulated response to validateLockAttributes- See Also:
-
validateLockAttributes
public void validateLockAttributes(boolean createLocked, boolean createDownloadRestricted, boolean allowForceUnlock) throws RemoteException Simulate a call to validateLockAttributes- Throws:
RemoteException- See Also:
-
prepareGetDocumentData
public void prepareGetDocumentData(String documentId, int documentVersion, String sessionId, Object returnValue) Prepare a simulated response to getDocumentData- See Also:
-
getDocumentData
public com.vasoftware.sf.server.services.docman.DocumentDO getDocumentData(String documentId, int documentVersion, String sessionId) throws RemoteException Simulate a call to getDocumentData- Throws:
RemoteException- See Also:
-