|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xcmis.client.gwt.service.object.ObjectService
public class ObjectService
Created by The eXo Platform SAS.
| Constructor Summary | |
|---|---|
ObjectService(com.google.gwt.event.shared.HandlerManager eventBus)
|
|
| Method Summary | |
|---|---|
void |
createDocument(String url,
CreateDocument createDocument)
Creates a document object of the specified type (given by the cmis:objectTypeId property) in the (optionally) specified location. |
void |
createDocument(String url,
CreateDocument createDocument,
String sourceUrl)
|
void |
createDocumentFromSource(String url,
CreateDocumentFromSource createDocumentFromSource)
Creates a document object as a copy of the given source document in the (optionally) specified location. |
void |
createEmptyDocument(String url,
CreateDocument createDocument)
On success response received, EmptyDocumentCreatedEvent event is fired. |
void |
createFolder(String url,
CreateFolder createFolder)
Creates a folder object of the specified type in the specified location. |
void |
createPolicy(String url,
CreatePolicy createPolicy)
Creates a policy object of the specified type with pointed name and policy text. |
void |
createRelationship(String url,
CreateRelationship createRelationship)
Creates a relationship object of the specified type. |
void |
deleteContentStream(String url,
String changeToken)
Deletes the content stream for the specified Document object. |
void |
deleteObject(String url,
boolean allVersions)
Deletes the specified object. |
void |
deleteTree(String url,
boolean allVersions,
EnumUnfileObject unfileObject,
boolean continueOnFailure)
Delete tree of objects in specified folder On success results received TreeDeletedEvent event is fired |
void |
getAllowableActions(String url)
Gets the specified information for the Object. |
void |
getContentStream(String url,
String streamId)
Gets the content stream for the specified Document object, or gets a rendition stream for a specified rendition of a document or folder object. |
void |
getObject(String url,
String filter,
EnumIncludeRelationships includeRelationships,
boolean includePolicyIds,
String renditionFilter,
boolean includeACL,
boolean includeAllowableActions)
Gets the specified information for the Object. |
void |
getProperties(String url,
String filter)
Gets the list of properties for an Object. |
void |
moveObject(String url,
MoveObject moveObject)
Moves the specified file-able object from one folder to another. |
void |
setContentStream(String url,
CmisContentStreamType contentStream,
boolean overwriteFlag,
String changeToken)
Sets the content stream for the specified Document object. |
void |
updateDocumentContent(String url,
String sourceUrl)
Updating document's content stream copying by url pointed in second parameter. |
void |
updateProperties(String url,
UpdateProperties updateProperties)
Updates properties of the specified object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ObjectService(com.google.gwt.event.shared.HandlerManager eventBus)
eventBus - eventBus| Method Detail |
|---|
public void createDocument(String url,
CreateDocument createDocument)
DocumentCreatedEvent event is fired.
url - urlcreateDocument - createDocument
public void createDocument(String url,
CreateDocument createDocument,
String sourceUrl)
url - createDocument - sourceUrl - contentType -
public void updateDocumentContent(String url,
String sourceUrl)
url - document locationsourceUrl - location of source for content stream
public void createEmptyDocument(String url,
CreateDocument createDocument)
EmptyDocumentCreatedEvent event is fired.
url - urlcreateDocument - createDocument
public void createDocumentFromSource(String url,
CreateDocumentFromSource createDocumentFromSource)
DocumentFromSourceCreatedEvent event is fired.
url - urlcreateDocumentFromSource - createDocumentFromSource
public void createFolder(String url,
CreateFolder createFolder)
FolderCreatedEvent event is fired.
url - urlcreateFolder - createFolder
public void createRelationship(String url,
CreateRelationship createRelationship)
RelationshipCreatedEvent event is fired.
url - urlcreateRelationship - createRelationship
public void createPolicy(String url,
CreatePolicy createPolicy)
PolicyCreatedEvent event is fired.
url - urlcreatePolicy - createPolicypublic void getAllowableActions(String url)
AllowableActionsReceivedEvent event is fired
url - url
public void getObject(String url,
String filter,
EnumIncludeRelationships includeRelationships,
boolean includePolicyIds,
String renditionFilter,
boolean includeACL,
boolean includeAllowableActions)
ObjectReceivedEvent event is fired
url - urlfilter - filterincludeEnumIncludeRelationships - includeEnumIncludeRelationshipsincludePolicyIds - includePolicyIdsrenditionFilter - renditionFilterincludeACL - includeACLincludeAllowableActions - includeAllowableActions
public void getProperties(String url,
String filter)
PropertiesReceivedEvent event is fired.
url - urlfilter - filter
public void getContentStream(String url,
String streamId)
ContentStreamReceivedEvent event is fired.
url - urlstreamId - streamId
public void updateProperties(String url,
UpdateProperties updateProperties)
PropertiesUpdatedEvent event is fired.
url - urlupdateProperties - updateProperties
public void moveObject(String url,
MoveObject moveObject)
ObjectMovedEvent event is fired.
url - urlmoveObject - moveObject
public void deleteObject(String url,
boolean allVersions)
ObjectDeletedEvent event is fired.
url - urldeleteAllVersions - deleteAllVersions
public void deleteTree(String url,
boolean allVersions,
EnumUnfileObject unfileObject,
boolean continueOnFailure)
TreeDeletedEvent event is fired
url - urlallVersions - all versionsunfileObject - unfile objectcontinueOnFailure - continue on failure
public void setContentStream(String url,
CmisContentStreamType contentStream,
boolean overwriteFlag,
String changeToken)
ContentStreamSetEvent event is fired.
url - contentStream - content streamoverwriteFlag - overwrite flagchangeToken - change token
public void deleteContentStream(String url,
String changeToken)
ContentStreamDeletedEvent is fired
url - urlchangeToken - change token
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||