|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.tibco.bpm.web.client.services.client.data.AbstractDataClientService
com.tibco.bpm.web.client.services.client.cmis.ClientServices
public class ClientServices
| Field Summary |
|---|
| Fields inherited from class com.tibco.bpm.web.client.services.client.data.AbstractDataClientService |
|---|
BASE_URL, XMLFRAGMENT |
| Method Summary | |
|---|---|
void |
createDocumentWithURL(java.lang.String caseRef,
java.lang.String url,
java.lang.String fileName,
java.lang.String docName,
java.lang.String mimeType,
java.lang.String versionState,
com.google.gwt.user.client.rpc.AsyncCallback<CreateDocumentResponse> callback)
Creates a new document in the CMIS repository based on the file URL. |
void |
deleteDocument(java.lang.String docReference,
com.google.gwt.user.client.rpc.AsyncCallback<DeleteDocumentResponse> callback)
Deletes the given document from CMIS. |
void |
deleteOrphanFolders(boolean returnFailures,
java.lang.String date,
com.google.gwt.user.client.rpc.AsyncCallback<DeleteOrphanFoldersResponse> callback)
Deletes the orphan case folders from the repository. |
void |
getDocumentAttributes(java.lang.String docReference,
com.google.gwt.user.client.rpc.AsyncCallback<GetDocumentAttributesResponse> callback)
Gets the document attributes for given document in the CMIS. |
static ClientServices |
getInstance()
|
void |
linkDocument(java.lang.String docReference,
java.lang.String caseReference,
com.google.gwt.user.client.rpc.AsyncCallback<LinkDocumentResponse> callback)
Links an existing document from CMIS to the case instance. |
void |
listFolderContents(java.lang.String caseReference,
boolean metadata,
int depth,
com.google.gwt.user.client.rpc.AsyncCallback<ListFolderContentsResponse> callback)
Retrieves the folder contents for a given case reference. |
void |
moveDocument(java.lang.String docReference,
java.lang.String sourceCaseReference,
java.lang.String targetCaseReference,
com.google.gwt.user.client.rpc.AsyncCallback<MoveDocumentResponse> callback)
Moves an existing document associated with one case instance to another case instance. |
void |
unlinkDocument(java.lang.String docReference,
java.lang.String caseReference,
com.google.gwt.user.client.rpc.AsyncCallback<UnlinkDocumentResponse> callback)
UnLinks an existing document from a give case instance. |
| Methods inherited from class com.tibco.bpm.web.client.services.client.data.AbstractDataClientService |
|---|
cleanseResponse, getHeaders, getServiceURL |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ClientServices getInstance()
public void createDocumentWithURL(java.lang.String caseRef,
java.lang.String url,
java.lang.String fileName,
java.lang.String docName,
java.lang.String mimeType,
java.lang.String versionState,
com.google.gwt.user.client.rpc.AsyncCallback<CreateDocumentResponse> callback)
caseRef - Case referenceurl - HTTP URL for the file to be storedfileName - docName - mimeType - versionState - callback - of CreateDocumentResponse type
public void deleteDocument(java.lang.String docReference,
com.google.gwt.user.client.rpc.AsyncCallback<DeleteDocumentResponse> callback)
docReference - Reference to the document in CMIScallback - Callback to process the DocumentDeleteResponse
public void deleteOrphanFolders(boolean returnFailures,
java.lang.String date,
com.google.gwt.user.client.rpc.AsyncCallback<DeleteOrphanFoldersResponse> callback)
date - in format yyyy-dd-mmreturnFailures - Flag for returning the folder paths for the failurescallback - Callback to process the DeleteOrphanFoldersResponse
public void getDocumentAttributes(java.lang.String docReference,
com.google.gwt.user.client.rpc.AsyncCallback<GetDocumentAttributesResponse> callback)
docReference - Reference to the document in CMIS for which document attributes are retrieved.callback - Callback to process the GetDocumentAttributesResponse
public void linkDocument(java.lang.String docReference,
java.lang.String caseReference,
com.google.gwt.user.client.rpc.AsyncCallback<LinkDocumentResponse> callback)
docReference - Reference to the document in CMIScaseReference - Reference to the case instancecallback - Callback to process the LinkDocumentResponse
public void listFolderContents(java.lang.String caseReference,
boolean metadata,
int depth,
com.google.gwt.user.client.rpc.AsyncCallback<ListFolderContentsResponse> callback)
caseReference - Refermetadata - boolean flag is set to true if document attributes need to be retrieved.depth - depth of the folder structure. -1 is set for no limit for the hierarchy.callback - Callback to process the documents/folders for the given case reference. The callback uses
ListFolderContentsResponse object to process the result.
public void moveDocument(java.lang.String docReference,
java.lang.String sourceCaseReference,
java.lang.String targetCaseReference,
com.google.gwt.user.client.rpc.AsyncCallback<MoveDocumentResponse> callback)
docReference - Reference to the document in CMISsourceCaseReference - Reference to the source case instancetargetCaseReference - Reference to the target case instancecallback - Callback to process the MoveDocumentResponse
public void unlinkDocument(java.lang.String docReference,
java.lang.String caseReference,
com.google.gwt.user.client.rpc.AsyncCallback<UnlinkDocumentResponse> callback)
docReference - Reference to the document in CMIScaseReference - Reference to the case instancecallback - Callback to process the UnlinkDocumentResponse
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||