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
public class DocumentAppSoapMockStub extends ClientSoapMockStub implements 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 Constructor Description DocumentAppSoapMockStub(String soapServerUrl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddDateField(String sessionId, String projectId, String fieldName, boolean isRequired, boolean isDisabled, boolean isHiddenOnCreate, String helpText)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 createDocumentDocumentSoapDOcreateDocument(String sessionId, String parentId, String title, String description, String versionComment, String status, boolean createLocked, String fileName, String mimeType, String fileId, String associationId, String associationDesc)Simulate a call to createDocumentDocument2SoapDOcreateDocument2(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)Simulate a call to createDocument2Document3SoapDOcreateDocument3(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 createDocument3DocumentFolderSoapDOcreateDocumentFolder(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 createDocumentWithUrlDocumentSoapDOcreateDocumentWithUrl(String sessionId, String parentId, String title, String description, String versionComment, String status, boolean createLocked, String fileUrl, String associationId, String associationDesc)Simulate a call to createDocumentWithUrlDocument2SoapDOcreateDocumentWithUrl2(String sessionId, String parentId, String title, String description, String versionComment, String status, boolean createLocked, boolean createDownloadRestricted, boolean allowForceUnlock, String fileUrl, String associationId, String associationDesc)Simulate a call to createDocumentWithUrl2Document3SoapDOcreateDocumentWithUrl3(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 createDocumentWithUrl3DocumentReviewSoapDOcreateReview(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 deleteSeparatorDocumentSoapListfindDocuments(String sessionId, String queryString, String projectId, boolean searchAttachments, boolean currentVersionsOnly)Simulate a call to findDocumentsDocument2SoapListfindDocuments2(String sessionId, String queryString, String projectId, boolean searchAttachments, boolean currentVersionsOnly)Simulate a call to findDocuments2Document3SoapListfindDocuments3(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 findDocumentsList2DocumentReviewSoapListgetAssignedDocumentReviewList(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 getDocumentDataDocumentSoapDOgetDocumentData(String sessionId, String documentId, int documentVersion)Simulate a call to getDocumentDataDocument2SoapDOgetDocumentData2(String sessionId, String documentId, int documentVersion)Simulate a call to getDocumentData2Document3SoapDOgetDocumentData3(String sessionId, String documentId, int documentVersion)Simulate a call to getDocumentData3StringgetDocumentFileId(String sessionId, String documentId, int documentVersion)Simulate a call to getDocumentFileIdDocumentFolderSoapDOgetDocumentFolderData(String sessionId, String folderId)Simulate a call to getDocumentFolderDataDocumentFolderSoapListgetDocumentFolderList(String sessionId, String parentId, boolean recursive)Simulate a call to getDocumentFolderListDocumentSoapListgetDocumentList(String sessionId, String parentId, SoapFilter[] filters)Simulate a call to getDocumentListDocument2SoapListgetDocumentList2(String sessionId, String parentId, SoapFilter[] filters)Simulate a call to getDocumentList2Document3SoapListgetDocumentList3(String sessionId, String documentFolderId, SoapFilter[] filters)Simulate a call to getDocumentList3DocumentReviewSoapListgetDocumentReviewList(String sessionId, String containerId, SoapFilter[] filters)Simulate a call to getDocumentReviewListDocument2SoapListgetDocumentVersions(String sessionId, String documentId, boolean includeDeletedVersions)Simulate a call to getDocumentVersionsDocumentFolderFieldSoapDO[]getFields(String sessionId, String projectId)Simulate a call to getFieldsOrderedDocumentFolderFieldSoapListgetOrderedDocumentFields(String sessionId, String projectId)Simulate a call to getOrderedDocumentFieldsStringgetValidStatus(String projectPath, String soapStatus, String rmiStatus, com.vasoftware.sf.server.types.UserSessionKey sessionKey)Simulate a call to getValidStatusStringgetVersionStatus(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 moveDocDocumentSoapDOmoveDocument(String sessionId, String documentId, String targetFolderId)Simulate a call to moveDocumentDocument2SoapDOmoveDocument2(String sessionId, String documentId, String targetFolderId)Simulate a call to moveDocument2Document3SoapDOmoveDocument3(String sessionId, String documentId, String targetFolderId)Simulate a call to moveDocument3DocumentFolderSoapDOmoveDocumentFolder(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)Simulate a call to setDocumentDatavoidsetDocumentData2(String sessionId, Document2SoapDO documentData, String fileId)Simulate a call to setDocumentData2voidsetDocumentData3(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)Simulate a call to setDocumentDataWithAssociationvoidsetDocumentDataWithAssociation2(String sessionId, Document2SoapDO documentData, String fileId, String associationId, String associationComment)Simulate a call to setDocumentDataWithAssociation2voidsetDocumentDataWithAssociation3(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 validateLockAttributesListvalidateVersions(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 verifyAndGetFields-
Methods 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 Detail
-
DocumentAppSoapMockStub
public DocumentAppSoapMockStub(String soapServerUrl)
-
-
Method Detail
-
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:
getDocumentFolderListin interfaceIDocumentAppSoap- Parameters:
sessionId- SOAP session id.parentId- Parent document folder id -or- project id for listing root document folder.recursive- Show subfolders of the folders returned- Returns:
- Document folder list.
- Throws:
InvalidSessionFault- when the sessionId is invalid.PermissionDeniedFault- when permission is denied for the specified operation.NoSuchObjectFault- when the specified object is invalid.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
DocumentAppSoap.getDocumentFolderList(java.lang.String, java.lang.String, boolean)
-
prepareSetDocumentFolderData
public void prepareSetDocumentFolderData(String sessionId, DocumentFolderSoapDO documentFolderData)
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:
setDocumentFolderDatain interfaceIDocumentAppSoap- Parameters:
sessionId- SOAP session id.documentFolderData- Data to apply.- Throws:
InvalidSessionFault- when the sessionId is invalid.PermissionDeniedFault- when permission is denied for the specified operation.NoSuchObjectFault- when the specified object id does not exist.VersionMismatchFault- when the specified object has changed in SourceForge.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
DocumentAppSoap.setDocumentFolderData(java.lang.String, com.collabnet.ce.soap60.webservices.docman.DocumentFolderSoapDO)
-
prepareGetDocumentFolderData
public void prepareGetDocumentFolderData(String sessionId, String folderId, Object returnValue)
Prepare a simulated response to getDocumentFolderData
-
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:
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:
DocumentAppSoap.getDocumentFolderData(java.lang.String, java.lang.String)
-
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:
getAssignedDocumentReviewListin interfaceIDocumentAppSoap- Parameters:
sessionId- SOAP session id.username- User to whom reviews are assigned for review (required or optional).- Returns:
- Document review list.
- Throws:
InvalidSessionFault- when sessionId is invalid.NoSuchObjectFault- when the specified user does not exist.PermissionDeniedFault- when permission is denied.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
DocumentAppSoap.getAssignedDocumentReviewList(java.lang.String, java.lang.String)
-
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:
getDocumentReviewListin interfaceIDocumentAppSoap- Parameters:
sessionId- SOAP session id.containerId- null (for reviews across projects) or document ID (for reviews associated with document).filters- Filters to apply for listing the reviews.- Returns:
- Document review list.
- Throws:
InvalidSessionFault- when sessionId is invalid.NoSuchObjectFault- when the document does not exist.PermissionDeniedFault- when permission is denied.InvalidFilterFault- when the specified filters are invalid.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
DocumentAppSoap.getDocumentReviewList(java.lang.String, java.lang.String, com.collabnet.ce.soap60.types.SoapFilter[])
-
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:
createReviewin interfaceIDocumentAppSoap- Parameters:
sessionId- SOAP session id.documentId- the id of the document for which the review is to be created.version- the version of the documenttitle- The title of the reviewdescription- The description of the reviewdueDate- The due date of the reviewrequiredReviewers- an array of usernames of required reviewersoptionalReviewers- an array of usernames of optional reviewersattachDocument- whether to attach the document to the email or not- Returns:
- The data object of the review
- Throws:
InvalidSessionFault- when sessionId is invalid.NoSuchObjectFault- when there is no document corresponding to the document IdPermissionDeniedFault- when the user has insufficient privilegesIllegalArgumentFault- for incorrect arguments.ObjectAlreadyExistsFault- if the review already exists on this documentSystemFault- when an unexpected system error occurs.RemoteException- See Also:
DocumentAppSoap.createReview(java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, java.util.Date, java.lang.String[], java.lang.String[], boolean)
-
prepareGetDocumentList
public void prepareGetDocumentList(String sessionId, String parentId, SoapFilter[] filters, Object returnValue)
Prepare a simulated response to getDocumentList
-
getDocumentList
public DocumentSoapList getDocumentList(String sessionId, String parentId, SoapFilter[] filters) throws RemoteException
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:
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:
DocumentAppSoap.getDocumentList(java.lang.String, java.lang.String, com.collabnet.ce.soap60.types.SoapFilter[])
-
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:
getDocumentList2in interfaceIDocumentAppSoap- Parameters:
sessionId- SOAP session id.parentId- Document folder id (obtained from getDocumentFolderList).filters- not supported.- Returns:
- Document list.
- Throws:
InvalidSessionFault- when the sessionId is invalid.NoSuchObjectFault- when the specified object is invalid.PermissionDeniedFault- when permission is denied for the specified operation.InvalidFilterFault- when an invalid filter is specified.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
DocumentAppSoap.getDocumentList2(java.lang.String, java.lang.String, com.collabnet.ce.soap60.types.SoapFilter[])
-
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:
getDocumentList3in interfaceIDocumentAppSoap- Parameters:
sessionId- SOAP session id.documentFolderId- Document folder id (obtained from getDocumentFolderList).filters- not supported.- Returns:
- Document list.
- Throws:
InvalidSessionFault- when the sessionId is invalid.NoSuchObjectFault- when the specified object is invalid.PermissionDeniedFault- when permission is denied for the specified operation.InvalidFilterFault- when an invalid filter is specified.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
DocumentAppSoap.getDocumentList3(java.lang.String, java.lang.String, com.collabnet.ce.soap60.types.SoapFilter[])
-
prepareListDocumentsDetailed
public void prepareListDocumentsDetailed(String sessionId, String documentFolderId, SoapFilter[] filters, Object returnValue)
Prepare a simulated response to listDocumentsDetailed
-
listDocumentsDetailed
public com.vasoftware.sf.server.services.docman.DocumentDetailArrangedList listDocumentsDetailed(String sessionId, String documentFolderId, SoapFilter[] filters) throws RemoteException
Simulate a call to listDocumentsDetailed
-
prepareListDocuments
public void prepareListDocuments(String sessionId, String parentId, SoapFilter[] filters, Object returnValue)
Prepare a simulated response to listDocuments
-
listDocuments
public com.vasoftware.sf.server.services.docman.DocumentList listDocuments(String sessionId, String parentId, SoapFilter[] filters) throws RemoteException
Simulate a call to listDocuments
-
prepareFindDocuments
public void prepareFindDocuments(String sessionId, String queryString, String projectId, boolean searchAttachments, boolean currentVersionsOnly, Object returnValue)
Prepare a simulated response to findDocuments
-
findDocuments
public DocumentSoapList findDocuments(String sessionId, String queryString, String projectId, boolean searchAttachments, boolean currentVersionsOnly) throws RemoteException
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:
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:
DocumentAppSoap.findDocuments(java.lang.String, java.lang.String, java.lang.String, boolean, boolean)
-
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:
findDocuments2in interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.queryString- Query string.projectId- The project in which to find documents. (if null, search all projects)searchAttachments- Whether to search attachments.currentVersionsOnly- Whether to search only current versions of documents.- Returns:
- List of documents matching search criteria.
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified project id is invalid.SearchQuerySyntaxFault- when the specified search query string is syntactically invalid.SystemFault- when an unexpected system level error occurs.RemoteException- See Also:
DocumentAppSoap.findDocuments2(java.lang.String, java.lang.String, java.lang.String, boolean, boolean)
-
prepareFindDocumentsList
public void prepareFindDocumentsList(String sessionId, String queryString, String projectId, boolean searchAttachments, boolean currentVersionsOnly, Object returnValue)
Prepare a simulated response to findDocumentsList
-
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
-
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:
findDocuments3in interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.queryString- Query string.projectId- The project in which to find documents. (if null, search all projects)searchAttachments- Whether to search attachments.currentVersionsOnly- Whether to search only current versions of documents.- Returns:
- List of documents matching search criteria.
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified project id is invalid.SearchQuerySyntaxFault- when the specified search query string is syntactically invalid.SystemFault- when an unexpected system level error occurs.IllegalArgumentFault- when the specified query string is invalid.RemoteException- See Also:
DocumentAppSoap.findDocuments3(java.lang.String, java.lang.String, java.lang.String, boolean, boolean)
-
prepareFindDocumentsList2
public void prepareFindDocumentsList2(String sessionId, String queryString, String projectId, boolean searchAttachments, boolean currentVersionsOnly, Object returnValue)
Prepare a simulated response to findDocumentsList2
-
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
-
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:
createDocumentFolderin interfaceIDocumentAppSoap- Parameters:
sessionId- SOAP session id.parentId- Folder id in which to create this folder.title- Document folder title.description- Document folder description.- Returns:
- Document Folder data object.
- Throws:
InvalidSessionFault- when the sessionId is invalid.PermissionDeniedFault- when permission is denied for the specified operation.NoSuchObjectFault- when a specified object is invalid.IllegalArgumentFault- when one or more of the parameters are invalid.SystemFault- when an unexpected system error occurs.ObjectAlreadyExistsFault- when the document folder specified already exists.RemoteException- See Also:
DocumentAppSoap.createDocumentFolder(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
-
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:
moveDocumentFolderin interfaceIDocumentAppSoap- Parameters:
sessionId- SOAP session id.folderId- ID of folder to move.destFolderId- ID of destination folder- Returns:
- new document folder
- Throws:
InvalidSessionFault- sessionId is invalidPermissionDeniedFault- permission is denied for the specified operationNoSuchObjectFault- specified object is invalidSystemFault- unexpected system errorRemoteException- See Also:
DocumentAppSoap.moveDocumentFolder(java.lang.String, java.lang.String, java.lang.String)
-
prepareDeleteDocumentFolder
public void prepareDeleteDocumentFolder(String sessionId, String folderId)
Prepare a simulated response to deleteDocumentFolder
-
prepareDeleteDocumentFolder
public void prepareDeleteDocumentFolder(String sessionId, String folderId, Exception exception)
Prepare a simulated response to deleteDocumentFolder
-
deleteDocumentFolder
public void deleteDocumentFolder(String sessionId, String folderId) throws RemoteException
Simulate a call to deleteDocumentFolder- Specified by:
deleteDocumentFolderin interfaceIDocumentAppSoap- Parameters:
sessionId- SOAP session id.folderId- Folder id to delete.- Throws:
InvalidSessionFault- when the sessionId is invalid.PermissionDeniedFault- when permission is denied for the specified operation.NoSuchObjectFault- when the specified object is invalidSystemFault- when an unexpected system error occurs.IllegalArgumentFault- when one or more of the parameters are invalid.InvalidOperationFault- when attempted to delete top-level document folder.RemoteException- See Also:
DocumentAppSoap.deleteDocumentFolder(java.lang.String, java.lang.String)
-
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
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
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:
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:
DocumentAppSoap.createDocument(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
-
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
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
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:
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:
DocumentAppSoap.createDocument2(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean, boolean, boolean, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
-
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:
createDocument3in interfaceIDocumentAppSoap- Parameters:
sessionId- SOAP session id.parentId- Document folder id in which to create a document.title- Document title.description- Document description.versionComment- Document version comment.status- Document status.createLocked- Is document locked on create?createDownloadRestricted- Is document download restricted on create?allowForceUnlock- Is document admin allowed to edit/download locked document?fileName- Name of the file.mimeType- File mime type.fileId- Uploaded file id (through FileStorageApp or SimpleFileStorageApp service).associationId- The id of the object associated, can be set to nullassociationDesc- The title of the object associatedflexFields- Flex field values- Returns:
- Document data object.
- Throws:
InvalidSessionFault- when the sessionId is invalid.PermissionDeniedFault- when permission is denied for the specified operation.NoSuchObjectFault- when the specified object is invalid.IllegalArgumentFault- when one or more of the parameters are invalid.SystemFault- when an unexpected system error occurs.InvalidAssociationFault- when an invalid association object is passed.WorkflowViolationFault- when the workflow is violated.RemoteException- See Also:
DocumentAppSoap.createDocument3(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean, boolean, boolean, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, com.collabnet.ce.soap60.types.SoapFieldValues)
-
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
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
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:
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:
DocumentAppSoap.createDocumentWithUrl(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean, java.lang.String, java.lang.String, java.lang.String)
-
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
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
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:
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:
DocumentAppSoap.createDocumentWithUrl2(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean, boolean, boolean, java.lang.String, java.lang.String, java.lang.String)
-
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:
createDocumentWithUrl3in interfaceIDocumentAppSoap- Parameters:
sessionId- SOAP session id.parentId- Document folder id in which to create a document.title- Document title.description- Document description.versionComment- Document version comment.status- Document status.createLocked- Is document locked on create?createDownloadRestricted- Is document download restricted on create?allowForceUnlock- Is document admin allowed to edit/download locked document?fileUrl- the file URL of the documentassociationId- id of the object to be associatedassociationDesc- association commentflexFields- Flex field values- Returns:
- Document data object.
- Throws:
InvalidSessionFault- when the sessionId is invalid.PermissionDeniedFault- when permission is denied for the specified operation.NoSuchObjectFault- when the specified object is invalid.IllegalArgumentFault- when one or more of the parameters are invalid.SystemFault- when an unexpected system error occurs.InvalidDocumentContentFault- Only one of fileKey or fileUrl should be set. This failedInvalidAssociationFault- when an invalid association object is passed.WorkflowViolationFault- when the workflow is violated.RemoteException- See Also:
DocumentAppSoap.createDocumentWithUrl3(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean, boolean, boolean, java.lang.String, java.lang.String, java.lang.String, com.collabnet.ce.soap60.types.SoapFieldValues)
-
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
-
getVersionStatus
public String getVersionStatus(String projectPath, String status, com.vasoftware.sf.server.types.UserSessionKey sessionKey) throws RemoteException
Simulate a call to getVersionStatus
-
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
-
getValidStatus
public String getValidStatus(String projectPath, String soapStatus, String rmiStatus, com.vasoftware.sf.server.types.UserSessionKey sessionKey) throws RemoteException
Simulate a call to getValidStatus
-
prepareMoveDocument
public void prepareMoveDocument(String sessionId, String documentId, String targetFolderId, Object returnValue)
Prepare a simulated response to moveDocument
-
moveDocument
public DocumentSoapDO moveDocument(String sessionId, String documentId, String targetFolderId) throws RemoteException
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:
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:
DocumentAppSoap.moveDocument(java.lang.String, java.lang.String, java.lang.String)
-
prepareMoveDocument2
public void prepareMoveDocument2(String sessionId, String documentId, String targetFolderId, Object returnValue)
Prepare a simulated response to moveDocument2
-
moveDocument2
public Document2SoapDO moveDocument2(String sessionId, String documentId, String targetFolderId) throws RemoteException
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:
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:
DocumentAppSoap.moveDocument2(java.lang.String, java.lang.String, java.lang.String)
-
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:
moveDocument3in interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.documentId- ID of document to move.targetFolderId- Target folder ID.- Returns:
- New document object.
- Throws:
InvalidSessionFault- when the sessionId is invalid.NoSuchObjectFault- when the specified object is invalid.PermissionDeniedFault- when permission is denied for the specified operation.SystemFault- when an unexpected system error occurs.IllegalArgumentFault- when one or more of the parameters are invalid.RemoteException- See Also:
DocumentAppSoap.moveDocument3(java.lang.String, java.lang.String, java.lang.String)
-
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
-
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
-
prepareDeleteDocument
public void prepareDeleteDocument(String sessionId, String documentId)
Prepare a simulated response to deleteDocument
-
prepareDeleteDocument
public void prepareDeleteDocument(String sessionId, String documentId, Exception exception)
Prepare a simulated response to deleteDocument
-
deleteDocument
public void deleteDocument(String sessionId, String documentId) throws RemoteException
Simulate a call to deleteDocument- Specified by:
deleteDocumentin interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.documentId- Document id.- Throws:
InvalidSessionFault- when the sessionId is invalid.PermissionDeniedFault- when permission is denied for the specified operation.NoSuchObjectFault- when the specified object is invalid.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
DocumentAppSoap.deleteDocument(java.lang.String, java.lang.String)
-
prepareGetDocumentData
public void prepareGetDocumentData(String sessionId, String documentId, int documentVersion, Object returnValue)
Prepare a simulated response to getDocumentData
-
getDocumentData
public DocumentSoapDO getDocumentData(String sessionId, String documentId, int documentVersion) throws RemoteException
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:
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:
DocumentAppSoap.getDocumentData(java.lang.String, java.lang.String, int)
-
prepareGetDocumentData2
public void prepareGetDocumentData2(String sessionId, String documentId, int documentVersion, Object returnValue)
Prepare a simulated response to getDocumentData2
-
getDocumentData2
public Document2SoapDO getDocumentData2(String sessionId, String documentId, int documentVersion) throws RemoteException
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:
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:
DocumentAppSoap.getDocumentData2(java.lang.String, java.lang.String, int)
-
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:
getDocumentData3in interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.documentId- Document id.documentVersion- Document version number (specify zero for current version).- Returns:
- Document data object.
- Throws:
InvalidSessionFault- when the sessionId is invalid.NoSuchObjectFault- when the specified object is invalid.NoSuchVersionFault- when the specified version is invalid.PermissionDeniedFault- when permission is denied for the specified operation.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
DocumentAppSoap.getDocumentData3(java.lang.String, java.lang.String, int)
-
prepareSetDocumentData
public void prepareSetDocumentData(String sessionId, DocumentSoapDO documentData, String fileId)
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
public void setDocumentData(String sessionId, DocumentSoapDO documentData, String fileId) throws RemoteException
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:
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:
DocumentAppSoap.setDocumentData(java.lang.String, com.collabnet.ce.soap60.webservices.docman.DocumentSoapDO, java.lang.String)
-
prepareSetDocumentData2
public void prepareSetDocumentData2(String sessionId, Document2SoapDO documentData, String fileId)
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
public void setDocumentData2(String sessionId, Document2SoapDO documentData, String fileId) throws RemoteException
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:
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:
DocumentAppSoap.setDocumentData2(java.lang.String, com.collabnet.ce.soap60.webservices.docman.Document2SoapDO, java.lang.String)
-
prepareSetDocumentData3
public void prepareSetDocumentData3(String sessionId, Document3SoapDO documentData, String fileId)
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:
setDocumentData3in interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.documentData- Document data object.fileId- Uploaded file id (through FileStorageApp or SimpleFileStorageApp service).- Throws:
InvalidSessionFault- when the sessionId is invalid.NoSuchObjectFault- when the specified object is invalid.PermissionDeniedFault- when permission is denied for the specified operation.IllegalArgumentFault- when document data information is invalid.VersionMismatchFault- when document data is stale.SystemFault- when an unexpected system error occurs.InvalidDocumentContentFault- Only one of fileKey or fileUrl should be set. This failedWorkflowViolationFault- when the workflow is violatedRemoteException- See Also:
DocumentAppSoap.setDocumentData3(java.lang.String, com.collabnet.ce.soap60.webservices.docman.Document3SoapDO, java.lang.String)
-
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 RemoteExceptionSimulate 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
public void setDocumentDataWithAssociation(String sessionId, DocumentSoapDO documentData, String fileId, String associationId, String associationComment) throws RemoteException
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:
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:
DocumentAppSoap.setDocumentDataWithAssociation(java.lang.String, com.collabnet.ce.soap60.webservices.docman.DocumentSoapDO, java.lang.String, java.lang.String, java.lang.String)
-
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
public void setDocumentDataWithAssociation2(String sessionId, Document2SoapDO documentData, String fileId, String associationId, String associationComment) throws RemoteException
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:
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:
DocumentAppSoap.setDocumentDataWithAssociation2(java.lang.String, com.collabnet.ce.soap60.webservices.docman.Document2SoapDO, java.lang.String, java.lang.String, java.lang.String)
-
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:
setDocumentDataWithAssociation3in interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.documentData- Document data object.fileId- Uploaded file id (through FileStorageApp or SimpleFileStorageApp service).associationId- The id of the associationassociationComment- Comment for the association- Throws:
InvalidSessionFault- when the sessionId is invalid.NoSuchObjectFault- when the specified object is invalid.PermissionDeniedFault- when permission is denied for the specified operation.IllegalArgumentFault- when document data information is invalid.VersionMismatchFault- when document data is stale.SystemFault- when an unexpected system error occurs.InvalidDocumentContentFault- Only one of fileKey or fileUrl should be set. This failedInvalidAssociationFault- when an invalid association object is passed.WorkflowViolationFault- when the workflow is violatedRemoteException- See Also:
DocumentAppSoap.setDocumentDataWithAssociation3(java.lang.String, com.collabnet.ce.soap60.webservices.docman.Document3SoapDO, java.lang.String, java.lang.String, java.lang.String)
-
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 RemoteExceptionSimulate 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:
getDocumentFileIdin interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.documentId- document id.documentVersion- document version number (specify zero for current version).- Returns:
- File storage id (for download using FileStorageService or SimpleFileStorageService).
- Throws:
InvalidSessionFault- when the sessionId is invalid.PermissionDeniedFault- when permission is denied for the specified operation.NoSuchObjectFault- when the specified object is invalid.NoSuchVersionFault- when the specified version is invalid.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
DocumentAppSoap.getDocumentFileId(java.lang.String, java.lang.String, int)
-
prepareIsLockedDocument
public void prepareIsLockedDocument(com.vasoftware.sf.server.types.ItemPath documentPath, String loggedInUser, Object returnValue)Prepare a simulated response to isLockedDocument
-
isLockedDocument
public boolean isLockedDocument(com.vasoftware.sf.server.types.ItemPath documentPath, String loggedInUser) throws RemoteExceptionSimulate a call to isLockedDocument
-
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:
getDocumentVersionsin interfaceIDocumentAppSoap- Parameters:
sessionId- SOAP session id.documentId- Document id.includeDeletedVersions- Flag to indicate if the deleted versions of the document are to be fetched.- Returns:
- Document list.
- Throws:
InvalidSessionFault- when the sessionId is invalid.PermissionDeniedFault- when permission is denied for the specified operation.NoSuchObjectFault- when the specified object is invalid.SystemFault- when an unexpected system error occurs.InvalidFilterFault- when an invalid filter is specified.RemoteException- See Also:
DocumentAppSoap.getDocumentVersions(java.lang.String, java.lang.String, boolean)
-
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:
deleteDocumentByVersionsin interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.documentId- Document id.versionNumbers- Versions of the document to be deleted- Throws:
InvalidSessionFault- when the sessionId is invalid.NoSuchObjectFault- when the specified document Id is invalid.PermissionDeniedFault- when permission is denied for the specified operation.IllegalArgumentFault- for incorrect arguments.SystemFault- when an unexpected system error occurs.SearchQuerySyntaxFault- when the specified search query string is syntactically invalid.CannotDeleteDocumentVersionFault- when the user tries to delete the active version of the document.RemoteException- See Also:
DocumentAppSoap.deleteDocumentByVersions(java.lang.String, java.lang.String, int[])
-
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:
addTextFieldin interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.projectId- The project in which to add the field to.fieldName- the name of the fielddisplayColumns- the width of the display areadisplayLines- the height of the display areaisRequired- if the field is requiredisDisabled- if the field is disabledisHiddenOnCreate- if the field is hidden when first createddefaultValue- default valuehelpText- The help text for the fieldpattern- The field validation pattern- Throws:
NoSuchObjectFault- when the specified object id or fieldData is invalidInvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.VersionMismatchFault- if the object has been updated since this fieldDO was fetchedIllegalArgumentFault- if the arguments are incorrectly specifiedInvalidOperationFault- if the operation is not allowedSystemFault- when an unexpected system error occurs.RemoteException- See Also:
DocumentAppSoap.addTextField(java.lang.String, java.lang.String, java.lang.String, int, int, boolean, boolean, boolean, java.lang.String, java.lang.String, java.lang.String)
-
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:
addSingleSelectChildFieldin interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.projectId- The project in which to add the field to.fieldName- the name of the fieldfieldValues- Array of valid field valuesparentFieldId- The id of the parent fieldparentChildFieldValueMap- soapNamedValues which keeps mapping between parent field values and child valueshelpText- the help text for the field- Throws:
NoSuchObjectFault- when the specified object id or fieldData is invalidInvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.VersionMismatchFault- if the object has been updated since this fieldDO was fetchedIllegalArgumentFault- if the arguments are incorrectly specifiedInvalidOperationFault- if the operation is not allowedSystemFault- when an unexpected system error occurs.RemoteException- See Also:
DocumentAppSoap.addSingleSelectChildField(java.lang.String, java.lang.String, java.lang.String, java.lang.String[], java.lang.String, com.collabnet.ce.soap60.types.SoapNamedValues, java.lang.String)
-
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:
addSingleSelectFieldin interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.projectId- The project in which to add the field to.fieldName- the name of the fieldisRequired- if the field is requiredisDisabled- if the field is disabledisHiddenOnCreate- if the field is hidden when first createdfieldValues- Array of valid field valuesdefaultValue- default valuehelpText- the help text for the field- Throws:
NoSuchObjectFault- when the specified object id or fieldData is invalidInvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.VersionMismatchFault- if the object has been updated since this fieldDO was fetchedIllegalArgumentFault- if the arguments are incorrectly specifiedInvalidOperationFault- if the operation is not allowedSystemFault- when an unexpected system error occurs.RemoteException- See Also:
DocumentAppSoap.addSingleSelectField(java.lang.String, java.lang.String, java.lang.String, boolean, boolean, boolean, java.lang.String[], java.lang.String, java.lang.String)
-
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:
addMultiSelectFieldin interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.projectId- The project in which to add the field to.fieldName- the name of the fielddisplayLines- the height of the display areaisRequired- if the field is requiredisDisabled- if the field is disabledisHiddenOnCreate- if the field is hidden when first createdfieldValues- possible valuesdefaultValues- default valueshelpText- the help text for the field- Throws:
NoSuchObjectFault- when the specified object id or fieldData is invalidInvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.VersionMismatchFault- if the object has been updated since this fieldDO was fetchedIllegalArgumentFault- if the arguments are incorrectly specifiedInvalidOperationFault- if the operation is not allowedSystemFault- when an unexpected system error occurs.RemoteException- See Also:
DocumentAppSoap.addMultiSelectField(java.lang.String, java.lang.String, java.lang.String, int, boolean, boolean, boolean, java.lang.String[], java.lang.String[], java.lang.String)
-
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:
addUserSelectFieldin interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.projectId- The project in which to add the field to.fieldName- the name of the fielddisplayLines- the height of the display areaisRequired- if the field is requiredisDisabled- if the field is disabledisHiddenOnCreate- if the field is hidden when first createddefaultValues- default values for this field. Must be valid usernamesuserFilter- is the filterhelpText- The help text of the field- Throws:
NoSuchObjectFault- when the specified object id or fieldData is invalidInvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.VersionMismatchFault- if the object has been updated since this fieldDO was fetchedIllegalArgumentFault- if the arguments are incorrectly specifiedInvalidOperationFault- if the operation is not allowedSystemFault- when an unexpected system error occurs.RemoteException- See Also:
DocumentAppSoap.addUserSelectField(java.lang.String, java.lang.String, java.lang.String, int, boolean, boolean, boolean, java.lang.String[], java.lang.String, java.lang.String)
-
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:
addDateFieldin interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.projectId- The project in which to add the field to.fieldName- the name of the fieldisRequired- if the field is requiredisDisabled- if the field is disabledisHiddenOnCreate- if the field is hidden when first createdhelpText- the help text of the field- Throws:
NoSuchObjectFault- when the specified object id or fieldData is invalidInvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.VersionMismatchFault- if the object has been updated since this fieldDO was fetchedIllegalArgumentFault- if the arguments are incorrectly specifiedInvalidOperationFault- if the operation is not allowedSystemFault- when an unexpected system error occurs.RemoteException- See Also:
DocumentAppSoap.addDateField(java.lang.String, java.lang.String, java.lang.String, boolean, boolean, boolean, 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)
Prepare a simulated response to addField
-
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
-
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
-
prepareGetFields
public void prepareGetFields(String sessionId, String projectId, Object returnValue)
Prepare a simulated response to getFields
-
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:
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:
DocumentAppSoap.getFields(java.lang.String, java.lang.String)
-
prepareVerifyAndGetFields
public void prepareVerifyAndGetFields(String projectId, String loggedInUser, Object returnValue)
Prepare a simulated response to verifyAndGetFields
-
verifyAndGetFields
public com.vasoftware.sf.server.services.field.FieldDO[] verifyAndGetFields(String projectId, String loggedInUser) throws RemoteException
Simulate a call to verifyAndGetFields
-
prepareSetField
public void prepareSetField(String sessionId, DocumentFolderFieldSoapDO fieldData)
Prepare a simulated response to setField
-
prepareSetField
public void prepareSetField(String sessionId, DocumentFolderFieldSoapDO fieldData, Exception exception)
Prepare a simulated response to setField
-
setField
public void setField(String sessionId, DocumentFolderFieldSoapDO fieldData) throws RemoteException
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:
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:
DocumentAppSoap.setField(java.lang.String, com.collabnet.ce.soap60.webservices.docman.DocumentFolderFieldSoapDO)
-
prepareDeleteField
public void prepareDeleteField(String sessionId, String fieldId)
Prepare a simulated response to deleteField
-
prepareDeleteField
public void prepareDeleteField(String sessionId, String fieldId, Exception exception)
Prepare a simulated response to deleteField
-
deleteField
public void deleteField(String sessionId, String fieldId) throws RemoteException
Simulate a call to deleteField- Specified by:
deleteFieldin interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.fieldId- the id of the field to delete- Throws:
NoSuchObjectFault- when the specified object id or fieldData is invalidInvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.InvalidOperationFault- if the operation is not allowed.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
DocumentAppSoap.deleteField(java.lang.String, java.lang.String)
-
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:
addSeparatorin interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.projectId- The project in which to add the separator to.separatorType- the type of the separatorseparatorLabel- the label of the separator- Throws:
NoSuchObjectFault- when the specified object id is invalidInvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.IllegalArgumentFault- if the arguments are incorrectly specifiedSystemFault- when an unexpected system error occurs.ObjectAlreadyExistsFault- if a separator with the same id existsRemoteException- See Also:
DocumentAppSoap.addSeparator(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
-
prepareDeleteSeparator
public void prepareDeleteSeparator(String sessionId, String layoutId)
Prepare a simulated response to deleteSeparator
-
prepareDeleteSeparator
public void prepareDeleteSeparator(String sessionId, String layoutId, Exception exception)
Prepare a simulated response to deleteSeparator
-
deleteSeparator
public void deleteSeparator(String sessionId, String layoutId) throws RemoteException
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:
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:
DocumentAppSoap.deleteSeparator(java.lang.String, java.lang.String)
-
prepareGetOrderedDocumentFields
public void prepareGetOrderedDocumentFields(String sessionId, String projectId, Object returnValue)
Prepare a simulated response to getOrderedDocumentFields
-
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:
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:
DocumentAppSoap.getOrderedDocumentFields(java.lang.String, java.lang.String)
-
prepareReorderDocumentFields
public void prepareReorderDocumentFields(String sessionId, String projectId, String[] layoutIds)
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:
reorderDocumentFieldsin interfaceIDocumentAppSoap- Parameters:
sessionId- User session id.projectId- The project in which all the document fields and the separators belong to.layoutIds- An array of layout ids which can be obtained by getOrderedDocumentFields().- Throws:
InvalidSessionFault- When the specified session id is invalid.NoSuchObjectFault- When any of the specified object id is invalid.IllegalArgumentFault- If invalid argument value is passed.PermissionDeniedFault- When the user has insufficient privileges.SystemFault- When an unexpected system level error occurs.RemoteException- See Also:
DocumentAppSoap.reorderDocumentFields(java.lang.String, java.lang.String, java.lang.String[])
-
prepareValidateVersions
public void prepareValidateVersions(com.vasoftware.sf.server.types.ItemPath documentPath, int[] versionNumbers, String loggedInUser, Object returnValue)Prepare a simulated response to validateVersions
-
validateVersions
public List validateVersions(com.vasoftware.sf.server.types.ItemPath documentPath, int[] versionNumbers, String loggedInUser) throws RemoteException
Simulate a call to validateVersions
-
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
-
checkPermissionForView
public boolean checkPermissionForView(com.vasoftware.sf.server.types.UserSessionKey sessionKey, String username, com.vasoftware.sf.server.types.ObjectKey targetKey) throws RemoteExceptionSimulate a call to checkPermissionForView
-
prepareValidateCreateDocument
public void prepareValidateCreateDocument(String title, String description, String status, String fileName, String mimeType, String fileId)
Prepare a simulated response to validateCreateDocument
-
prepareValidateCreateDocument
public void prepareValidateCreateDocument(String title, String description, String status, String fileName, String mimeType, String fileId, Exception exception)
Prepare a simulated response to validateCreateDocument
-
validateCreateDocument
public void validateCreateDocument(String title, String description, String status, String fileName, String mimeType, String fileId) throws RemoteException
Simulate a call to validateCreateDocument
-
prepareValidateCreateDocumentWithUrl
public void prepareValidateCreateDocumentWithUrl(String title, String description, String status, String fileUrl)
Prepare a simulated response to validateCreateDocumentWithUrl
-
prepareValidateCreateDocumentWithUrl
public void prepareValidateCreateDocumentWithUrl(String title, String description, String status, String fileUrl, Exception exception)
Prepare a simulated response to validateCreateDocumentWithUrl
-
validateCreateDocumentWithUrl
public void validateCreateDocumentWithUrl(String title, String description, String status, String fileUrl) throws RemoteException
Simulate a call to validateCreateDocumentWithUrl
-
prepareValidateLockAttributes
public void prepareValidateLockAttributes(boolean createLocked, boolean createDownloadRestricted, boolean allowForceUnlock)Prepare a simulated response to validateLockAttributes
-
prepareValidateLockAttributes
public void prepareValidateLockAttributes(boolean createLocked, boolean createDownloadRestricted, boolean allowForceUnlock, Exception exception)Prepare a simulated response to validateLockAttributes
-
validateLockAttributes
public void validateLockAttributes(boolean createLocked, boolean createDownloadRestricted, boolean allowForceUnlock) throws RemoteExceptionSimulate a call to validateLockAttributes
-
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
-
-