public class DocumentAppSoapMockStub extends com.collabnet.ce.soap60.webservices.ClientSoapMockStub implements IDocumentAppSoap
Constructor and Description |
---|
DocumentAppSoapMockStub(String soapServerUrl) |
Modifier and Type | Method and Description |
---|---|
boolean |
checkPermissionForView(com.vasoftware.sf.server.types.UserSessionKey sessionKey,
String username,
com.vasoftware.sf.server.types.ObjectKey targetKey)
Simulate a call to checkPermissionForView
|
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)
Simulate a call to createDocument
|
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)
Simulate a call to createDocument
|
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)
Simulate a call to createDocument2
|
DocumentFolderSoapDO |
createDocumentFolder(String sessionId,
String parentId,
String title,
String description)
Simulate a call to createDocumentFolder
|
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)
Simulate a call to createDocumentWithUrl
|
DocumentSoapDO |
createDocumentWithUrl(String sessionId,
String parentId,
String title,
String description,
String versionComment,
String status,
boolean createLocked,
String fileUrl,
String associationId,
String associationDesc)
Simulate a call to createDocumentWithUrl
|
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)
Simulate a call to createDocumentWithUrl2
|
DocumentReviewSoapDO |
createReview(String sessionId,
String documentId,
int version,
String title,
String description,
Date dueDate,
String[] requiredReviewers,
String[] optionalReviewers,
boolean attachDocument)
Simulate a call to createReview
|
void |
deleteDocument(String sessionId,
String documentId)
Simulate a call to deleteDocument
|
void |
deleteDocumentByVersions(String sessionId,
String documentId,
int[] versionNumbers)
Simulate a call to deleteDocumentByVersions
|
void |
deleteDocumentFolder(String sessionId,
String folderId)
Simulate a call to deleteDocumentFolder
|
DocumentSoapList |
findDocuments(String sessionId,
String queryString,
String projectId,
boolean searchAttachments,
boolean currentVersionsOnly)
Simulate a call to findDocuments
|
Document2SoapList |
findDocuments2(String sessionId,
String queryString,
String projectId,
boolean searchAttachments,
boolean currentVersionsOnly)
Simulate a call to findDocuments2
|
com.vasoftware.sf.server.services.docman.DocumentList |
findDocumentsList(String sessionId,
String queryString,
String projectId,
boolean searchAttachments,
boolean currentVersionsOnly)
Simulate a call to findDocumentsList
|
DocumentReviewSoapList |
getAssignedDocumentReviewList(String sessionId,
String username)
Simulate a call to getAssignedDocumentReviewList
|
DocumentSoapDO |
getDocumentData(String sessionId,
String documentId,
int documentVersion)
Simulate a call to getDocumentData
|
Document2SoapDO |
getDocumentData2(String sessionId,
String documentId,
int documentVersion)
Simulate a call to getDocumentData2
|
String |
getDocumentFileId(String sessionId,
String documentId,
int documentVersion)
Simulate a call to getDocumentFileId
|
DocumentFolderSoapDO |
getDocumentFolderData(String sessionId,
String folderId)
Simulate a call to getDocumentFolderData
|
DocumentFolderSoapList |
getDocumentFolderList(String sessionId,
String parentId,
boolean recursive)
Simulate a call to getDocumentFolderList
|
DocumentSoapList |
getDocumentList(String sessionId,
String parentId,
com.collabnet.ce.soap60.types.SoapFilter[] filters)
Simulate a call to getDocumentList
|
Document2SoapList |
getDocumentList2(String sessionId,
String parentId,
com.collabnet.ce.soap60.types.SoapFilter[] filters)
Simulate a call to getDocumentList2
|
DocumentReviewSoapList |
getDocumentReviewList(String sessionId,
String containerId,
com.collabnet.ce.soap60.types.SoapFilter[] filters)
Simulate a call to getDocumentReviewList
|
Document2SoapList |
getDocumentVersions(String sessionId,
String documentId,
boolean includeDeletedVersions)
Simulate a call to getDocumentVersions
|
boolean |
isLockedDocument(String documentId,
String loggedInUser)
Simulate a call to isLockedDocument
|
com.vasoftware.sf.server.services.docman.DocumentList |
listDocuments(String sessionId,
String parentId,
com.collabnet.ce.soap60.types.SoapFilter[] filters)
Simulate a call to listDocuments
|
com.vasoftware.sf.server.services.docman.DocumentDO |
moveDoc(String sessionId,
String documentId,
String targetFolderId)
Simulate a call to moveDoc
|
DocumentSoapDO |
moveDocument(String sessionId,
String documentId,
String targetFolderId)
Simulate a call to moveDocument
|
Document2SoapDO |
moveDocument2(String sessionId,
String documentId,
String targetFolderId)
Simulate a call to moveDocument2
|
DocumentFolderSoapDO |
moveDocumentFolder(String sessionId,
String folderId,
String destFolderId)
Simulate a call to moveDocumentFolder
|
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
|
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,
Object returnValue)
Prepare a simulated response to createDocument
|
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
|
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
|
void |
prepareCreateDocumentFolder(String sessionId,
String parentId,
String title,
String description,
Object returnValue)
Prepare a simulated response to createDocumentFolder
|
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,
Object returnValue)
Prepare a simulated response to createDocumentWithUrl
|
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
|
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
|
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
|
void |
prepareDeleteDocument(String sessionId,
String documentId)
Prepare a simulated response to deleteDocument
|
void |
prepareDeleteDocument(String sessionId,
String documentId,
Exception exception)
Prepare a simulated response to deleteDocument
|
void |
prepareDeleteDocumentByVersions(String sessionId,
String documentId,
int[] versionNumbers)
Prepare a simulated response to deleteDocumentByVersions
|
void |
prepareDeleteDocumentByVersions(String sessionId,
String documentId,
int[] versionNumbers,
Exception exception)
Prepare a simulated response to deleteDocumentByVersions
|
void |
prepareDeleteDocumentFolder(String sessionId,
String folderId)
Prepare a simulated response to deleteDocumentFolder
|
void |
prepareDeleteDocumentFolder(String sessionId,
String folderId,
Exception exception)
Prepare a simulated response to deleteDocumentFolder
|
void |
prepareFindDocuments(String sessionId,
String queryString,
String projectId,
boolean searchAttachments,
boolean currentVersionsOnly,
Object returnValue)
Prepare a simulated response to findDocuments
|
void |
prepareFindDocuments2(String sessionId,
String queryString,
String projectId,
boolean searchAttachments,
boolean currentVersionsOnly,
Object returnValue)
Prepare a simulated response to findDocuments2
|
void |
prepareFindDocumentsList(String sessionId,
String queryString,
String projectId,
boolean searchAttachments,
boolean currentVersionsOnly,
Object returnValue)
Prepare a simulated response to findDocumentsList
|
void |
prepareGetAssignedDocumentReviewList(String sessionId,
String username,
Object returnValue)
Prepare a simulated response to getAssignedDocumentReviewList
|
void |
prepareGetDocumentData(String sessionId,
String documentId,
int documentVersion,
Object returnValue)
Prepare a simulated response to getDocumentData
|
void |
prepareGetDocumentData2(String sessionId,
String documentId,
int documentVersion,
Object returnValue)
Prepare a simulated response to getDocumentData2
|
void |
prepareGetDocumentFileId(String sessionId,
String documentId,
int documentVersion,
Object returnValue)
Prepare a simulated response to getDocumentFileId
|
void |
prepareGetDocumentFolderData(String sessionId,
String folderId,
Object returnValue)
Prepare a simulated response to getDocumentFolderData
|
void |
prepareGetDocumentFolderList(String sessionId,
String parentId,
boolean recursive,
Object returnValue)
Prepare a simulated response to getDocumentFolderList
|
void |
prepareGetDocumentList(String sessionId,
String parentId,
com.collabnet.ce.soap60.types.SoapFilter[] filters,
Object returnValue)
Prepare a simulated response to getDocumentList
|
void |
prepareGetDocumentList2(String sessionId,
String parentId,
com.collabnet.ce.soap60.types.SoapFilter[] filters,
Object returnValue)
Prepare a simulated response to getDocumentList2
|
void |
prepareGetDocumentReviewList(String sessionId,
String containerId,
com.collabnet.ce.soap60.types.SoapFilter[] filters,
Object returnValue)
Prepare a simulated response to getDocumentReviewList
|
void |
prepareGetDocumentVersions(String sessionId,
String documentId,
boolean includeDeletedVersions,
Object returnValue)
Prepare a simulated response to getDocumentVersions
|
void |
prepareIsLockedDocument(String documentId,
String loggedInUser,
Object returnValue)
Prepare a simulated response to isLockedDocument
|
void |
prepareListDocuments(String sessionId,
String parentId,
com.collabnet.ce.soap60.types.SoapFilter[] filters,
Object returnValue)
Prepare a simulated response to listDocuments
|
void |
prepareMoveDoc(String sessionId,
String documentId,
String targetFolderId,
Object returnValue)
Prepare a simulated response to moveDoc
|
void |
prepareMoveDocument(String sessionId,
String documentId,
String targetFolderId,
Object returnValue)
Prepare a simulated response to moveDocument
|
void |
prepareMoveDocument2(String sessionId,
String documentId,
String targetFolderId,
Object returnValue)
Prepare a simulated response to moveDocument2
|
void |
prepareMoveDocumentFolder(String sessionId,
String folderId,
String destFolderId,
Object returnValue)
Prepare a simulated response to moveDocumentFolder
|
void |
prepareSetDocumentData(com.vasoftware.sf.server.services.docman.DocumentDO documentDO,
String fileId,
String loggedInUser)
Prepare a simulated response to setDocumentData
|
void |
prepareSetDocumentData(com.vasoftware.sf.server.services.docman.DocumentDO documentDO,
String fileId,
String loggedInUser,
Exception exception)
Prepare a simulated response to setDocumentData
|
void |
prepareSetDocumentData(String sessionId,
DocumentSoapDO documentData,
String fileId)
Prepare a simulated response to setDocumentData
|
void |
prepareSetDocumentData(String sessionId,
DocumentSoapDO documentData,
String fileId,
Exception exception)
Prepare a simulated response to setDocumentData
|
void |
prepareSetDocumentData2(String sessionId,
Document2SoapDO documentData,
String fileId)
Prepare a simulated response to setDocumentData2
|
void |
prepareSetDocumentData2(String sessionId,
Document2SoapDO documentData,
String fileId,
Exception exception)
Prepare a simulated response to setDocumentData2
|
void |
prepareSetDocumentDataWithAssociation(com.vasoftware.sf.server.services.docman.DocumentDO documentDO,
String fileId,
String associationId,
String associationComment,
String loggedInUser)
Prepare a simulated response to setDocumentDataWithAssociation
|
void |
prepareSetDocumentDataWithAssociation(com.vasoftware.sf.server.services.docman.DocumentDO documentDO,
String fileId,
String associationId,
String associationComment,
String loggedInUser,
Exception exception)
Prepare a simulated response to setDocumentDataWithAssociation
|
void |
prepareSetDocumentDataWithAssociation(String sessionId,
DocumentSoapDO documentData,
String fileId,
String associationId,
String associationComment)
Prepare a simulated response to setDocumentDataWithAssociation
|
void |
prepareSetDocumentDataWithAssociation(String sessionId,
DocumentSoapDO documentData,
String fileId,
String associationId,
String associationComment,
Exception exception)
Prepare a simulated response to setDocumentDataWithAssociation
|
void |
prepareSetDocumentDataWithAssociation2(String sessionId,
Document2SoapDO documentData,
String fileId,
String associationId,
String associationComment)
Prepare a simulated response to setDocumentDataWithAssociation2
|
void |
prepareSetDocumentDataWithAssociation2(String sessionId,
Document2SoapDO documentData,
String fileId,
String associationId,
String associationComment,
Exception exception)
Prepare a simulated response to setDocumentDataWithAssociation2
|
void |
prepareSetDocumentFolderData(String sessionId,
DocumentFolderSoapDO documentFolderData)
Prepare a simulated response to setDocumentFolderData
|
void |
prepareSetDocumentFolderData(String sessionId,
DocumentFolderSoapDO documentFolderData,
Exception exception)
Prepare a simulated response to setDocumentFolderData
|
void |
prepareValidateVersions(com.vasoftware.sf.server.types.ItemPath documentPath,
int[] versionNumbers,
String loggedInUser,
Object returnValue)
Prepare a simulated response to validateVersions
|
void |
setDocumentData(com.vasoftware.sf.server.services.docman.DocumentDO documentDO,
String fileId,
String loggedInUser)
Simulate a call to setDocumentData
|
void |
setDocumentData(String sessionId,
DocumentSoapDO documentData,
String fileId)
Simulate a call to setDocumentData
|
void |
setDocumentData2(String sessionId,
Document2SoapDO documentData,
String fileId)
Simulate a call to setDocumentData2
|
void |
setDocumentDataWithAssociation(com.vasoftware.sf.server.services.docman.DocumentDO documentDO,
String fileId,
String associationId,
String associationComment,
String loggedInUser)
Simulate a call to setDocumentDataWithAssociation
|
void |
setDocumentDataWithAssociation(String sessionId,
DocumentSoapDO documentData,
String fileId,
String associationId,
String associationComment)
Simulate a call to setDocumentDataWithAssociation
|
void |
setDocumentDataWithAssociation2(String sessionId,
Document2SoapDO documentData,
String fileId,
String associationId,
String associationComment)
Simulate a call to setDocumentDataWithAssociation2
|
void |
setDocumentFolderData(String sessionId,
DocumentFolderSoapDO documentFolderData)
Simulate a call to setDocumentFolderData
|
List |
validateVersions(com.vasoftware.sf.server.types.ItemPath documentPath,
int[] versionNumbers,
String loggedInUser)
Simulate a call to validateVersions
|
addSimulatedResult, addSimulatedResult, addSimulatedResult, getCallCount, getCallParameters, getUnusedCalls, simulateCall
public DocumentAppSoapMockStub(String soapServerUrl)
public void prepareGetDocumentFolderList(String sessionId, String parentId, boolean recursive, Object returnValue)
DocumentAppSoap.getDocumentFolderList(java.lang.String, java.lang.String, boolean)
public DocumentFolderSoapList getDocumentFolderList(String sessionId, String parentId, boolean recursive) throws RemoteException
getDocumentFolderList
in interface IDocumentAppSoap
sessionId
- SOAP session id.parentId
- Parent document folder id -or- project id for listing root document folder.recursive
- Show subfolders of the folders returnedcom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the sessionId is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when permission is denied for the specified operation.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object is invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
DocumentAppSoap.getDocumentFolderList(java.lang.String, java.lang.String, boolean)
public void prepareSetDocumentFolderData(String sessionId, DocumentFolderSoapDO documentFolderData)
DocumentAppSoap.setDocumentFolderData(java.lang.String, com.collabnet.ce.soap60.webservices.docman.DocumentFolderSoapDO)
public void prepareSetDocumentFolderData(String sessionId, DocumentFolderSoapDO documentFolderData, Exception exception)
DocumentAppSoap.setDocumentFolderData(java.lang.String, com.collabnet.ce.soap60.webservices.docman.DocumentFolderSoapDO)
public void setDocumentFolderData(String sessionId, DocumentFolderSoapDO documentFolderData) throws RemoteException
setDocumentFolderData
in interface IDocumentAppSoap
sessionId
- SOAP session id.documentFolderData
- Data to apply.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the sessionId is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when permission is denied for the specified operation.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object id does not exist.com.collabnet.ce.soap60.fault.VersionMismatchFault
- when the specified object has changed in SourceForge.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
DocumentAppSoap.setDocumentFolderData(java.lang.String, com.collabnet.ce.soap60.webservices.docman.DocumentFolderSoapDO)
public void prepareGetDocumentFolderData(String sessionId, String folderId, Object returnValue)
DocumentAppSoap.getDocumentFolderData(java.lang.String, java.lang.String)
public DocumentFolderSoapDO getDocumentFolderData(String sessionId, String folderId) throws RemoteException
getDocumentFolderData
in interface IDocumentAppSoap
sessionId
- SOAP session id.folderId
- Folder id to get detailed data for.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the sessionId is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when permission is denied for the specified operation.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object id does not exist.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- when an argument is invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
DocumentAppSoap.getDocumentFolderData(java.lang.String, java.lang.String)
public void prepareGetAssignedDocumentReviewList(String sessionId, String username, Object returnValue)
DocumentAppSoap.getAssignedDocumentReviewList(java.lang.String, java.lang.String)
public DocumentReviewSoapList getAssignedDocumentReviewList(String sessionId, String username) throws RemoteException
getAssignedDocumentReviewList
in interface IDocumentAppSoap
sessionId
- SOAP session id.username
- User to whom reviews are assigned for review (required or optional).com.collabnet.ce.soap60.fault.InvalidSessionFault
- when sessionId is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified user does not exist.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when permission is denied.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
DocumentAppSoap.getAssignedDocumentReviewList(java.lang.String, java.lang.String)
public void prepareGetDocumentReviewList(String sessionId, String containerId, com.collabnet.ce.soap60.types.SoapFilter[] filters, Object returnValue)
DocumentAppSoap.getDocumentReviewList(java.lang.String, java.lang.String, com.collabnet.ce.soap60.types.SoapFilter[])
public DocumentReviewSoapList getDocumentReviewList(String sessionId, String containerId, com.collabnet.ce.soap60.types.SoapFilter[] filters) throws RemoteException
getDocumentReviewList
in interface IDocumentAppSoap
sessionId
- SOAP session id.containerId
- null (for reviews across projects) or document ID (for reviews associated with document).filters
- Filters to apply for listing the reviews.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when sessionId is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the document does not exist.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when permission is denied.com.collabnet.ce.soap60.fault.InvalidFilterFault
- when the specified filters are invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
DocumentAppSoap.getDocumentReviewList(java.lang.String, java.lang.String, com.collabnet.ce.soap60.types.SoapFilter[])
public void prepareCreateReview(String sessionId, String documentId, int version, String title, String description, Date dueDate, String[] requiredReviewers, String[] optionalReviewers, boolean attachDocument, Object returnValue)
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)
public DocumentReviewSoapDO createReview(String sessionId, String documentId, int version, String title, String description, Date dueDate, String[] requiredReviewers, String[] optionalReviewers, boolean attachDocument) throws RemoteException
createReview
in interface IDocumentAppSoap
sessionId
- SOAP session id.documentId
- the id of the document for which the review is to be created.version
- the version of the documenttitle
- The title of the reviewdescription
- The description of the reviewdueDate
- The due date of the reviewrequiredReviewers
- an array of usernames of required reviewersoptionalReviewers
- an array of usernames of optional reviewersattachDocument
- whether to attach the document to the email or notcom.collabnet.ce.soap60.fault.InvalidSessionFault
- when sessionId is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when there is no document corresponding to the document Idcom.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privilegescom.collabnet.ce.soap60.fault.IllegalArgumentFault
- for incorrect arguments. This can happen if the required reviewers array is empty (or) if the username in either required or optional reviewers is not valid (or) a user was specified a both a required reviewer and an optional reviewer (or) The dueDate was a date in the past.com.collabnet.ce.soap60.fault.ObjectAlreadyExistsFault
- if the review already exists on this documentcom.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
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)
public void prepareGetDocumentList(String sessionId, String parentId, com.collabnet.ce.soap60.types.SoapFilter[] filters, Object returnValue)
DocumentAppSoap.getDocumentList(java.lang.String, java.lang.String, com.collabnet.ce.soap60.types.SoapFilter[])
public DocumentSoapList getDocumentList(String sessionId, String parentId, com.collabnet.ce.soap60.types.SoapFilter[] filters) throws RemoteException
getDocumentList
in interface IDocumentAppSoap
sessionId
- SOAP session id.parentId
- Document folder id (obtained from getDocumentFolderList).filters
- not supported.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the sessionId is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when permission is denied for the specified operation.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object is invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.com.collabnet.ce.soap60.fault.InvalidFilterFault
- when an invalid filter is specified.RemoteException
DocumentAppSoap.getDocumentList(java.lang.String, java.lang.String, com.collabnet.ce.soap60.types.SoapFilter[])
public void prepareGetDocumentList2(String sessionId, String parentId, com.collabnet.ce.soap60.types.SoapFilter[] filters, Object returnValue)
DocumentAppSoap.getDocumentList2(java.lang.String, java.lang.String, com.collabnet.ce.soap60.types.SoapFilter[])
public Document2SoapList getDocumentList2(String sessionId, String parentId, com.collabnet.ce.soap60.types.SoapFilter[] filters) throws RemoteException
getDocumentList2
in interface IDocumentAppSoap
sessionId
- SOAP session id.parentId
- Document folder id (obtained from getDocumentFolderList).filters
- not supported.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the sessionId is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when permission is denied for the specified operation.com.collabnet.ce.soap60.fault.InvalidFilterFault
- when an invalid filter is specified.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
DocumentAppSoap.getDocumentList2(java.lang.String, java.lang.String, com.collabnet.ce.soap60.types.SoapFilter[])
public void prepareListDocuments(String sessionId, String parentId, com.collabnet.ce.soap60.types.SoapFilter[] filters, Object returnValue)
DocumentAppSoap.listDocuments(java.lang.String, java.lang.String, com.collabnet.ce.soap60.types.SoapFilter[])
public com.vasoftware.sf.server.services.docman.DocumentList listDocuments(String sessionId, String parentId, com.collabnet.ce.soap60.types.SoapFilter[] filters) throws RemoteException
RemoteException
DocumentAppSoap.listDocuments(java.lang.String, java.lang.String, com.collabnet.ce.soap60.types.SoapFilter[])
public void prepareFindDocuments(String sessionId, String queryString, String projectId, boolean searchAttachments, boolean currentVersionsOnly, Object returnValue)
DocumentAppSoap.findDocuments(java.lang.String, java.lang.String, java.lang.String, boolean, boolean)
public DocumentSoapList findDocuments(String sessionId, String queryString, String projectId, boolean searchAttachments, boolean currentVersionsOnly) throws RemoteException
findDocuments
in interface IDocumentAppSoap
sessionId
- User session id.queryString
- Query string.projectId
- The project in which to find documents. (if null, search all projects)searchAttachments
- Whether to search attachments.currentVersionsOnly
- Whether to search only current versions of documents.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified project id is invalid.com.collabnet.ce.soap60.fault.SearchQuerySyntaxFault
- when the specified search query string is syntactically invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system level error occurs.RemoteException
DocumentAppSoap.findDocuments(java.lang.String, java.lang.String, java.lang.String, boolean, boolean)
public void prepareFindDocuments2(String sessionId, String queryString, String projectId, boolean searchAttachments, boolean currentVersionsOnly, Object returnValue)
DocumentAppSoap.findDocuments2(java.lang.String, java.lang.String, java.lang.String, boolean, boolean)
public Document2SoapList findDocuments2(String sessionId, String queryString, String projectId, boolean searchAttachments, boolean currentVersionsOnly) throws RemoteException
findDocuments2
in interface IDocumentAppSoap
sessionId
- User session id.queryString
- Query string.projectId
- The project in which to find documents. (if null, search all projects)searchAttachments
- Whether to search attachments.currentVersionsOnly
- Whether to search only current versions of documents.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified project id is invalid.com.collabnet.ce.soap60.fault.SearchQuerySyntaxFault
- when the specified search query string is syntactically invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system level error occurs.RemoteException
DocumentAppSoap.findDocuments2(java.lang.String, java.lang.String, java.lang.String, boolean, boolean)
public void prepareFindDocumentsList(String sessionId, String queryString, String projectId, boolean searchAttachments, boolean currentVersionsOnly, Object returnValue)
DocumentAppSoap.findDocumentsList(java.lang.String, java.lang.String, java.lang.String, boolean, boolean)
public com.vasoftware.sf.server.services.docman.DocumentList findDocumentsList(String sessionId, String queryString, String projectId, boolean searchAttachments, boolean currentVersionsOnly) throws RemoteException
RemoteException
DocumentAppSoap.findDocumentsList(java.lang.String, java.lang.String, java.lang.String, boolean, boolean)
public void prepareCreateDocumentFolder(String sessionId, String parentId, String title, String description, Object returnValue)
DocumentAppSoap.createDocumentFolder(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
public DocumentFolderSoapDO createDocumentFolder(String sessionId, String parentId, String title, String description) throws RemoteException
createDocumentFolder
in interface IDocumentAppSoap
sessionId
- SOAP session id.parentId
- Folder id in which to create this folder.title
- Document folder title.description
- Document folder description.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the sessionId is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when permission is denied for the specified operation.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when a specified object is invalid.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- when one or more of the parameters are invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.com.collabnet.ce.soap60.fault.ObjectAlreadyExistsFault
- when the document folder specified already exists.RemoteException
DocumentAppSoap.createDocumentFolder(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
public void prepareMoveDocumentFolder(String sessionId, String folderId, String destFolderId, Object returnValue)
DocumentAppSoap.moveDocumentFolder(java.lang.String, java.lang.String, java.lang.String)
public DocumentFolderSoapDO moveDocumentFolder(String sessionId, String folderId, String destFolderId) throws RemoteException
moveDocumentFolder
in interface IDocumentAppSoap
sessionId
- SOAP session id.folderId
- ID of folder to move.destFolderId
- ID of destination foldercom.collabnet.ce.soap60.fault.InvalidSessionFault
- sessionId is invalidcom.collabnet.ce.soap60.fault.PermissionDeniedFault
- permission is denied for the specified operationcom.collabnet.ce.soap60.fault.NoSuchObjectFault
- specified object is invalidcom.collabnet.ce.soap60.fault.SystemFault
- unexpected system errorRemoteException
DocumentAppSoap.moveDocumentFolder(java.lang.String, java.lang.String, java.lang.String)
public void prepareDeleteDocumentFolder(String sessionId, String folderId)
DocumentAppSoap.deleteDocumentFolder(java.lang.String, java.lang.String)
public void prepareDeleteDocumentFolder(String sessionId, String folderId, Exception exception)
DocumentAppSoap.deleteDocumentFolder(java.lang.String, java.lang.String)
public void deleteDocumentFolder(String sessionId, String folderId) throws RemoteException
deleteDocumentFolder
in interface IDocumentAppSoap
sessionId
- SOAP session id.folderId
- Folder id to delete.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the sessionId is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when permission is denied for the specified operation.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object is invalidcom.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- when one or more of the parameters are invalid.com.collabnet.ce.soap60.fault.InvalidOperationFault
- when attempted to delete top-level document folder.RemoteException
DocumentAppSoap.deleteDocumentFolder(java.lang.String, java.lang.String)
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)
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)
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
createDocument
in interface IDocumentAppSoap
sessionId
- SOAP session id.parentId
- Document folder id in which to create a document.title
- Document title.description
- Document description.versionComment
- Document version comment.status
- Document status.createLocked
- Is document locked on create?fileName
- Name of the file.mimeType
- File mime type.fileId
- Uploaded file id (through FileStorageApp or SimpleFileStorageApp service).associationId
- The id of the object associated, can be set to null if the site is not configured to have association mandatory. The association is set only if the configuration is turned on.associationDesc
- The title of the object associatedcom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the sessionId is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when permission is denied for the specified operation.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object is invalid.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- when one or more of the parameters are invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.com.collabnet.ce.soap60.fault.InvalidAssociationFault
- when an invalid association object is passed.RemoteException
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)
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)
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)
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
createDocument2
in interface IDocumentAppSoap
sessionId
- SOAP session id.parentId
- Document folder id in which to create a document.title
- Document title.description
- Document description.versionComment
- Document version comment.status
- Document status.createLocked
- Is document locked on create?createDownloadRestricted
- Is document download restricted on create?allowForceUnlock
- Is document admin allowed to edit/download locked document? Note: createDownloadRestricted and allowForceUnlock can be set to true, only if createLocked is true.
fileName
- Name of the file.mimeType
- File mime type.fileId
- Uploaded file id (through FileStorageApp or SimpleFileStorageApp service).associationId
- The id of the object associated, can be set to null if the site is not configured to have association mandatory. The association is set only if the configuration is turned on.associationDesc
- The title of the object associatedcom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the sessionId is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when permission is denied for the specified operation.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object is invalid.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- when one or more of the parameters are invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.com.collabnet.ce.soap60.fault.InvalidAssociationFault
- when an invalid association object is passed.RemoteException
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)
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, Object returnValue)
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)
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) throws RemoteException
RemoteException
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)
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)
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)
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
createDocumentWithUrl
in interface IDocumentAppSoap
sessionId
- SOAP session id.parentId
- Document folder id in which to create a document.title
- Document title.description
- Document description.versionComment
- Document version comment.status
- Document status.createLocked
- Is document locked on create?fileUrl
- the file URL of the documentassociationId
- id of the object to be associated, can be set to null if the site is not configured to have association mandatory. The association is set only if the configuration is turned on.associationDesc
- association commentcom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the sessionId is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when permission is denied for the specified operation.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object is invalid.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- when one or more of the parameters are invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.com.collabnet.ce.soap60.fault.InvalidDocumentContentFault
- Only one of fileKey or fileUrl should be set. This failedcom.collabnet.ce.soap60.fault.InvalidAssociationFault
- when an invalid association object is passed.RemoteException
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)
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)
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)
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
createDocumentWithUrl2
in interface IDocumentAppSoap
sessionId
- SOAP session id.parentId
- Document folder id in which to create a document.title
- Document title.description
- Document description.versionComment
- Document version comment.status
- Document status.createLocked
- Is document locked on create?createDownloadRestricted
- Is document download restricted on create?allowForceUnlock
- Is document admin allowed to edit/download locked document? Note: createDownloadRestricted and allowForceUnlock can be set to true, only if createLocked is true.
fileUrl
- the file URL of the documentassociationId
- id of the object to be associated, can be set to null if the site is not configured to have association mandatory. The association is set only if the configuration is turned on.associationDesc
- association commentcom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the sessionId is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when permission is denied for the specified operation.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object is invalid.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- when one or more of the parameters are invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.com.collabnet.ce.soap60.fault.InvalidDocumentContentFault
- Only one of fileKey or fileUrl should be set. This failedcom.collabnet.ce.soap60.fault.InvalidAssociationFault
- when an invalid association object is passed.RemoteException
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)
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, Object returnValue)
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)
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) throws RemoteException
RemoteException
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)
public void prepareMoveDocument(String sessionId, String documentId, String targetFolderId, Object returnValue)
DocumentAppSoap.moveDocument(java.lang.String, java.lang.String, java.lang.String)
public DocumentSoapDO moveDocument(String sessionId, String documentId, String targetFolderId) throws RemoteException
moveDocument
in interface IDocumentAppSoap
sessionId
- User session id.documentId
- ID of document to move.targetFolderId
- Target folder ID.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the sessionId is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when permission is denied for the specified operation.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object is invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
DocumentAppSoap.moveDocument(java.lang.String, java.lang.String, java.lang.String)
public void prepareMoveDocument2(String sessionId, String documentId, String targetFolderId, Object returnValue)
DocumentAppSoap.moveDocument2(java.lang.String, java.lang.String, java.lang.String)
public Document2SoapDO moveDocument2(String sessionId, String documentId, String targetFolderId) throws RemoteException
moveDocument2
in interface IDocumentAppSoap
sessionId
- User session id.documentId
- ID of document to move.targetFolderId
- Target folder ID.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the sessionId is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when permission is denied for the specified operation.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
DocumentAppSoap.moveDocument2(java.lang.String, java.lang.String, java.lang.String)
public void prepareMoveDoc(String sessionId, String documentId, String targetFolderId, Object returnValue)
DocumentAppSoap.moveDoc(java.lang.String, java.lang.String, java.lang.String)
public com.vasoftware.sf.server.services.docman.DocumentDO moveDoc(String sessionId, String documentId, String targetFolderId) throws RemoteException
RemoteException
DocumentAppSoap.moveDoc(java.lang.String, java.lang.String, java.lang.String)
public void prepareDeleteDocument(String sessionId, String documentId)
DocumentAppSoap.deleteDocument(java.lang.String, java.lang.String)
public void prepareDeleteDocument(String sessionId, String documentId, Exception exception)
DocumentAppSoap.deleteDocument(java.lang.String, java.lang.String)
public void deleteDocument(String sessionId, String documentId) throws RemoteException
deleteDocument
in interface IDocumentAppSoap
sessionId
- User session id.documentId
- Document id.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the sessionId is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when permission is denied for the specified operation.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object is invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
DocumentAppSoap.deleteDocument(java.lang.String, java.lang.String)
public void prepareGetDocumentData(String sessionId, String documentId, int documentVersion, Object returnValue)
DocumentAppSoap.getDocumentData(java.lang.String, java.lang.String, int)
public DocumentSoapDO getDocumentData(String sessionId, String documentId, int documentVersion) throws RemoteException
getDocumentData
in interface IDocumentAppSoap
sessionId
- User session id.documentId
- Document id.documentVersion
- Document version number (specify zero for current version).com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the sessionId is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when permission is denied for the specified operation.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object is invalid.com.collabnet.ce.soap60.fault.NoSuchVersionFault
- when the specified version is invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
DocumentAppSoap.getDocumentData(java.lang.String, java.lang.String, int)
public void prepareGetDocumentData2(String sessionId, String documentId, int documentVersion, Object returnValue)
DocumentAppSoap.getDocumentData2(java.lang.String, java.lang.String, int)
public Document2SoapDO getDocumentData2(String sessionId, String documentId, int documentVersion) throws RemoteException
getDocumentData2
in interface IDocumentAppSoap
sessionId
- User session id.documentId
- Document id.documentVersion
- Document version number (specify zero for current version).com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the sessionId is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object is invalid.com.collabnet.ce.soap60.fault.NoSuchVersionFault
- when the specified version is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when permission is denied for the specified operation.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
DocumentAppSoap.getDocumentData2(java.lang.String, java.lang.String, int)
public void prepareSetDocumentData(String sessionId, DocumentSoapDO documentData, String fileId)
DocumentAppSoap.setDocumentData(java.lang.String, com.collabnet.ce.soap60.webservices.docman.DocumentSoapDO, java.lang.String)
public void prepareSetDocumentData(String sessionId, DocumentSoapDO documentData, String fileId, Exception exception)
DocumentAppSoap.setDocumentData(java.lang.String, com.collabnet.ce.soap60.webservices.docman.DocumentSoapDO, java.lang.String)
public void setDocumentData(String sessionId, DocumentSoapDO documentData, String fileId) throws RemoteException
setDocumentData
in interface IDocumentAppSoap
sessionId
- User session id.documentData
- Document data object.fileId
- Uploaded file id (through FileStorageApp or SimpleFileStorageApp service).com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the sessionId is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when permission is denied for the specified operation.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- when document data information is invalid.com.collabnet.ce.soap60.fault.VersionMismatchFault
- when document data is stale.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.com.collabnet.ce.soap60.fault.InvalidDocumentContentFault
- Only one of fileKey or fileUrl should be set. This failedRemoteException
DocumentAppSoap.setDocumentData(java.lang.String, com.collabnet.ce.soap60.webservices.docman.DocumentSoapDO, java.lang.String)
public void prepareSetDocumentData2(String sessionId, Document2SoapDO documentData, String fileId)
DocumentAppSoap.setDocumentData2(java.lang.String, com.collabnet.ce.soap60.webservices.docman.Document2SoapDO, java.lang.String)
public void prepareSetDocumentData2(String sessionId, Document2SoapDO documentData, String fileId, Exception exception)
DocumentAppSoap.setDocumentData2(java.lang.String, com.collabnet.ce.soap60.webservices.docman.Document2SoapDO, java.lang.String)
public void setDocumentData2(String sessionId, Document2SoapDO documentData, String fileId) throws RemoteException
setDocumentData2
in interface IDocumentAppSoap
sessionId
- User session id.documentData
- Document data object.fileId
- Uploaded file id (through FileStorageApp or SimpleFileStorageApp service).com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the sessionId is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when permission is denied for the specified operation.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- when document data information is invalid.com.collabnet.ce.soap60.fault.VersionMismatchFault
- when document data is stale.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.com.collabnet.ce.soap60.fault.InvalidDocumentContentFault
- Only one of fileKey or fileUrl should be set. This failedRemoteException
DocumentAppSoap.setDocumentData2(java.lang.String, com.collabnet.ce.soap60.webservices.docman.Document2SoapDO, java.lang.String)
public void prepareSetDocumentData(com.vasoftware.sf.server.services.docman.DocumentDO documentDO, String fileId, String loggedInUser)
DocumentAppSoap.setDocumentData(java.lang.String, com.collabnet.ce.soap60.webservices.docman.DocumentSoapDO, java.lang.String)
public void prepareSetDocumentData(com.vasoftware.sf.server.services.docman.DocumentDO documentDO, String fileId, String loggedInUser, Exception exception)
DocumentAppSoap.setDocumentData(java.lang.String, com.collabnet.ce.soap60.webservices.docman.DocumentSoapDO, java.lang.String)
public void setDocumentData(com.vasoftware.sf.server.services.docman.DocumentDO documentDO, String fileId, String loggedInUser) throws RemoteException
RemoteException
DocumentAppSoap.setDocumentData(java.lang.String, com.collabnet.ce.soap60.webservices.docman.DocumentSoapDO, java.lang.String)
public void prepareSetDocumentDataWithAssociation(String sessionId, DocumentSoapDO documentData, String fileId, String associationId, String associationComment)
DocumentAppSoap.setDocumentDataWithAssociation(java.lang.String, com.collabnet.ce.soap60.webservices.docman.DocumentSoapDO, java.lang.String, java.lang.String, java.lang.String)
public void prepareSetDocumentDataWithAssociation(String sessionId, DocumentSoapDO documentData, String fileId, String associationId, String associationComment, Exception exception)
DocumentAppSoap.setDocumentDataWithAssociation(java.lang.String, com.collabnet.ce.soap60.webservices.docman.DocumentSoapDO, java.lang.String, java.lang.String, java.lang.String)
public void setDocumentDataWithAssociation(String sessionId, DocumentSoapDO documentData, String fileId, String associationId, String associationComment) throws RemoteException
setDocumentDataWithAssociation
in interface IDocumentAppSoap
sessionId
- User session id.documentData
- Document data object.fileId
- Uploaded file id (through FileStorageApp or SimpleFileStorageApp service).associationId
- The id of the associationassociationComment
- Comment for the associationcom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the sessionId is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when permission is denied for the specified operation.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- when document data information is invalid.com.collabnet.ce.soap60.fault.VersionMismatchFault
- when document data is stale.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.com.collabnet.ce.soap60.fault.InvalidDocumentContentFault
- Only one of fileKey or fileUrl should be set. This failedcom.collabnet.ce.soap60.fault.InvalidAssociationFault
- when an invalid association object is passed.RemoteException
DocumentAppSoap.setDocumentDataWithAssociation(java.lang.String, com.collabnet.ce.soap60.webservices.docman.DocumentSoapDO, java.lang.String, java.lang.String, java.lang.String)
public void prepareSetDocumentDataWithAssociation2(String sessionId, Document2SoapDO documentData, String fileId, String associationId, String associationComment)
DocumentAppSoap.setDocumentDataWithAssociation2(java.lang.String, com.collabnet.ce.soap60.webservices.docman.Document2SoapDO, java.lang.String, java.lang.String, java.lang.String)
public void prepareSetDocumentDataWithAssociation2(String sessionId, Document2SoapDO documentData, String fileId, String associationId, String associationComment, Exception exception)
DocumentAppSoap.setDocumentDataWithAssociation2(java.lang.String, com.collabnet.ce.soap60.webservices.docman.Document2SoapDO, java.lang.String, java.lang.String, java.lang.String)
public void setDocumentDataWithAssociation2(String sessionId, Document2SoapDO documentData, String fileId, String associationId, String associationComment) throws RemoteException
setDocumentDataWithAssociation2
in interface IDocumentAppSoap
sessionId
- User session id.documentData
- Document data object.fileId
- Uploaded file id (through FileStorageApp or SimpleFileStorageApp service).associationId
- The id of the associationassociationComment
- Comment for the associationcom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the sessionId is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when permission is denied for the specified operation.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- when document data information is invalid.com.collabnet.ce.soap60.fault.VersionMismatchFault
- when document data is stale.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.com.collabnet.ce.soap60.fault.InvalidDocumentContentFault
- Only one of fileKey or fileUrl should be set. This failedcom.collabnet.ce.soap60.fault.InvalidAssociationFault
- when an invalid association object is passed.RemoteException
DocumentAppSoap.setDocumentDataWithAssociation2(java.lang.String, com.collabnet.ce.soap60.webservices.docman.Document2SoapDO, java.lang.String, java.lang.String, java.lang.String)
public void prepareSetDocumentDataWithAssociation(com.vasoftware.sf.server.services.docman.DocumentDO documentDO, String fileId, String associationId, String associationComment, String loggedInUser)
DocumentAppSoap.setDocumentDataWithAssociation(java.lang.String, com.collabnet.ce.soap60.webservices.docman.DocumentSoapDO, java.lang.String, java.lang.String, java.lang.String)
public void prepareSetDocumentDataWithAssociation(com.vasoftware.sf.server.services.docman.DocumentDO documentDO, String fileId, String associationId, String associationComment, String loggedInUser, Exception exception)
DocumentAppSoap.setDocumentDataWithAssociation(java.lang.String, com.collabnet.ce.soap60.webservices.docman.DocumentSoapDO, java.lang.String, java.lang.String, java.lang.String)
public void setDocumentDataWithAssociation(com.vasoftware.sf.server.services.docman.DocumentDO documentDO, String fileId, String associationId, String associationComment, String loggedInUser) throws RemoteException
RemoteException
DocumentAppSoap.setDocumentDataWithAssociation(java.lang.String, com.collabnet.ce.soap60.webservices.docman.DocumentSoapDO, java.lang.String, java.lang.String, java.lang.String)
public void prepareGetDocumentFileId(String sessionId, String documentId, int documentVersion, Object returnValue)
DocumentAppSoap.getDocumentFileId(java.lang.String, java.lang.String, int)
public String getDocumentFileId(String sessionId, String documentId, int documentVersion) throws RemoteException
getDocumentFileId
in interface IDocumentAppSoap
sessionId
- User session id.documentId
- document id.documentVersion
- document version number (specify zero for current version).com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the sessionId is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when permission is denied for the specified operation.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object is invalid.com.collabnet.ce.soap60.fault.NoSuchVersionFault
- when the specified version is invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
DocumentAppSoap.getDocumentFileId(java.lang.String, java.lang.String, int)
public void prepareIsLockedDocument(String documentId, String loggedInUser, Object returnValue)
DocumentAppSoap.isLockedDocument(java.lang.String, java.lang.String)
public boolean isLockedDocument(String documentId, String loggedInUser) throws RemoteException
RemoteException
DocumentAppSoap.isLockedDocument(java.lang.String, java.lang.String)
public void prepareGetDocumentVersions(String sessionId, String documentId, boolean includeDeletedVersions, Object returnValue)
DocumentAppSoap.getDocumentVersions(java.lang.String, java.lang.String, boolean)
public Document2SoapList getDocumentVersions(String sessionId, String documentId, boolean includeDeletedVersions) throws RemoteException
getDocumentVersions
in interface IDocumentAppSoap
sessionId
- SOAP session id.documentId
- Document id.includeDeletedVersions
- Flag to indicate if the deleted versions of the document are to be fetched.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the sessionId is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when permission is denied for the specified operation.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object is invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.com.collabnet.ce.soap60.fault.InvalidFilterFault
- when an invalid filter is specified.RemoteException
DocumentAppSoap.getDocumentVersions(java.lang.String, java.lang.String, boolean)
public void prepareDeleteDocumentByVersions(String sessionId, String documentId, int[] versionNumbers)
DocumentAppSoap.deleteDocumentByVersions(java.lang.String, java.lang.String, int[])
public void prepareDeleteDocumentByVersions(String sessionId, String documentId, int[] versionNumbers, Exception exception)
DocumentAppSoap.deleteDocumentByVersions(java.lang.String, java.lang.String, int[])
public void deleteDocumentByVersions(String sessionId, String documentId, int[] versionNumbers) throws RemoteException
deleteDocumentByVersions
in interface IDocumentAppSoap
sessionId
- User session id.documentId
- Document id.versionNumbers
- Versions of the document to be deletedcom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the sessionId is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified document Id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when permission is denied for the specified operation.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- for incorrect arguments. This can happen if the versionNumbers array is empty (or) if any of the versionNumbers is not valid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.com.collabnet.ce.soap60.fault.SearchQuerySyntaxFault
- when the specified search query string is syntactically invalid.com.collabnet.ce.soap60.fault.CannotDeleteDocumentVersionFault
- when the user tries to delete the active version of the document.RemoteException
DocumentAppSoap.deleteDocumentByVersions(java.lang.String, java.lang.String, int[])
public void prepareValidateVersions(com.vasoftware.sf.server.types.ItemPath documentPath, int[] versionNumbers, String loggedInUser, Object returnValue)
DocumentAppSoap.validateVersions(com.vasoftware.sf.server.types.ItemPath, int[], java.lang.String)
public List validateVersions(com.vasoftware.sf.server.types.ItemPath documentPath, int[] versionNumbers, String loggedInUser) throws RemoteException
RemoteException
DocumentAppSoap.validateVersions(com.vasoftware.sf.server.types.ItemPath, int[], java.lang.String)
public void prepareCheckPermissionForView(com.vasoftware.sf.server.types.UserSessionKey sessionKey, String username, com.vasoftware.sf.server.types.ObjectKey targetKey, Object returnValue)
DocumentAppSoap.checkPermissionForView(com.vasoftware.sf.server.types.UserSessionKey, java.lang.String, com.vasoftware.sf.server.types.ObjectKey)
public boolean checkPermissionForView(com.vasoftware.sf.server.types.UserSessionKey sessionKey, String username, com.vasoftware.sf.server.types.ObjectKey targetKey) throws RemoteException
RemoteException
DocumentAppSoap.checkPermissionForView(com.vasoftware.sf.server.types.UserSessionKey, java.lang.String, com.vasoftware.sf.server.types.ObjectKey)
Copyright © 2016 CollabNet. All Rights Reserved.