| Modifier and Type | Method and Description |
|---|---|
static CMISUtil.DocumentType |
CMISUtil.DocumentType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CMISUtil.DocumentType[] |
CMISUtil.DocumentType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.chemistry.opencmis.client.api.ObjectId |
ContentActions.checkIn(String userName,
String password,
String siteId,
String docName,
CMISUtil.DocumentType fileType,
String newContent,
boolean majorVersion,
String checkinComment)
Check in document.
|
org.apache.chemistry.opencmis.client.api.Document |
ContentService.createDocument(String userName,
String password,
String siteName,
CMISUtil.DocumentType fileType,
File docName,
String docContent)
Create a new document in site
|
org.apache.chemistry.opencmis.client.api.Document |
ContentService.createDocument(String userName,
String password,
String siteName,
CMISUtil.DocumentType fileType,
String docName,
String docContent)
Create a new document in site
|
org.apache.chemistry.opencmis.client.api.Document |
ContentService.createDocumentInFolder(String userName,
String password,
String siteName,
String folderName,
CMISUtil.DocumentType fileType,
String docName,
String docContent)
Create a new document into a folder
|
org.apache.chemistry.opencmis.client.api.Document |
ContentService.createDocumentInRepository(String userName,
String password,
String path,
CMISUtil.DocumentType fileType,
File docName,
String docContent)
Create a new document in repository
If path is NULL, document will be created in ROOT of repository.
|
org.apache.chemistry.opencmis.client.api.Document |
ContentService.createDocumentInRepository(String userName,
String password,
String path,
CMISUtil.DocumentType fileType,
String docName,
String docContent)
Create a new document in repository
If path is NULL, document will be created in ROOT of repository.
|
boolean |
ContentService.updateDocumentContent(String userName,
String password,
String siteName,
CMISUtil.DocumentType docType,
String docName,
String newContent)
Update content of a document
|
Copyright © 2016 Alfresco Software. All rights reserved.