|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.collabnet.ce.webservices.AbstractSoapApp
com.collabnet.ce.webservices.DocumentApp
public class DocumentApp
Class to hold the document-related methods. Wraps a collabNetApp.
| Constructor Summary | |
|---|---|
DocumentApp(CollabNetApp collabNetApp)
Construct a new DocumentApp. |
|
| Method Summary | |
|---|---|
com.collabnet.ce.soap50.webservices.docman.DocumentSoapDO |
createDocument(java.lang.String parentId,
java.lang.String title,
java.lang.String description,
java.lang.String versionComment,
java.lang.String status,
boolean createLocked,
java.lang.String fileName,
java.lang.String mimeType,
java.lang.String fileId,
java.lang.String associationId,
java.lang.String associationDesc)
Create a new document. |
java.lang.String |
findDocumentId(java.lang.String folderId,
java.lang.String title)
Find the latest version of the document in the folder which has a matching title. |
java.lang.String |
findOrCreatePath(java.lang.String projectId,
java.lang.String documentPath)
Find or create a document folder path. |
java.lang.String |
getFolderPath(java.lang.String folderId)
Find the url path for the folder. |
void |
updateDoc(java.lang.String docId,
java.lang.String fileId)
Update document with new version. |
java.lang.String |
verifyPath(java.lang.String projectId,
java.lang.String documentPath)
Verify a document folder path. |
| Methods inherited from class com.collabnet.ce.webservices.AbstractSoapApp |
|---|
checkValidSessionId, getServerUrl, getSessionId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DocumentApp(CollabNetApp collabNetApp)
collabNetApp - a valid (logged-in) collabNetApp.| Method Detail |
|---|
public java.lang.String findOrCreatePath(java.lang.String projectId,
java.lang.String documentPath)
throws java.rmi.RemoteException
projectId - to get the root folder for the project.documentPath - string with folders separated by '/'. The path
may or may not include the root folder.
java.rmi.RemoteException
public java.lang.String verifyPath(java.lang.String projectId,
java.lang.String documentPath)
throws java.rmi.RemoteException
projectId - to get the root folder for the project.documentPath - string with folders separated by '/'.
java.rmi.RemoteException
public java.lang.String getFolderPath(java.lang.String folderId)
throws java.rmi.RemoteException
folderId -
java.rmi.RemoteException
public java.lang.String findDocumentId(java.lang.String folderId,
java.lang.String title)
throws java.rmi.RemoteException
folderId - title -
java.rmi.RemoteException
public void updateDoc(java.lang.String docId,
java.lang.String fileId)
throws java.rmi.RemoteException
java.rmi.RemoteException
public com.collabnet.ce.soap50.webservices.docman.DocumentSoapDO createDocument(java.lang.String parentId,
java.lang.String title,
java.lang.String description,
java.lang.String versionComment,
java.lang.String status,
boolean createLocked,
java.lang.String fileName,
java.lang.String mimeType,
java.lang.String fileId,
java.lang.String associationId,
java.lang.String associationDesc)
throws java.rmi.RemoteException
parentId - title - description - versionComment - status - createLocked - fileName - mimeType - fileId - associationId - associationDesc -
java.rmi.RemoteException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||