com.liferay.portal.cmis
Class CMISUtil
java.lang.Object
com.liferay.portal.cmis.CMISUtil
public class CMISUtil
- extends java.lang.Object
View Source
- Author:
- Alexander Chow
Method Summary |
static org.apache.abdera.model.Entry |
createDocument(org.apache.abdera.model.Entry entry,
java.lang.String title,
java.io.InputStream is)
|
static org.apache.abdera.model.Entry |
createDocument(java.lang.String url,
java.lang.String title,
java.io.InputStream is)
|
static org.apache.abdera.model.Entry |
createFolder(org.apache.abdera.model.Entry entry,
java.lang.String title)
|
static org.apache.abdera.model.Entry |
createFolder(java.lang.String title)
|
static org.apache.abdera.model.Entry |
createFolder(java.lang.String url,
java.lang.String title)
|
static void |
delete(org.apache.abdera.model.Entry entry)
|
static void |
delete(java.lang.String url)
|
static java.lang.String |
getCollectionType(org.apache.abdera.model.Collection collection)
|
static java.lang.String |
getCollectionUrl(org.apache.abdera.model.Workspace workspace,
java.lang.String collectionType)
|
static org.apache.abdera.model.Entry |
getDocument(org.apache.abdera.model.Entry entry,
java.lang.String title)
|
static org.apache.abdera.model.Entry |
getDocument(java.lang.String url,
java.lang.String title)
|
static org.apache.abdera.model.Entry |
getEntry(java.lang.String url,
java.lang.String title,
java.lang.String baseType)
|
static org.apache.abdera.model.Entry |
getFolder(org.apache.abdera.model.Entry entry,
java.lang.String title)
|
static org.apache.abdera.model.Entry |
getFolder(java.lang.String title)
|
static org.apache.abdera.model.Entry |
getFolder(java.lang.String url,
java.lang.String title)
|
static java.util.List<java.lang.String> |
getFolders(org.apache.abdera.model.Entry entry)
|
static java.io.InputStream |
getInputStream(org.apache.abdera.model.Entry entry)
|
static org.apache.abdera.model.Service |
getService()
|
static java.lang.String |
verifyRepository()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
createDocument
public static org.apache.abdera.model.Entry createDocument(org.apache.abdera.model.Entry entry,
java.lang.String title,
java.io.InputStream is)
throws CMISException
- Throws:
CMISException
createDocument
public static org.apache.abdera.model.Entry createDocument(java.lang.String url,
java.lang.String title,
java.io.InputStream is)
throws CMISException
- Throws:
CMISException
createFolder
public static org.apache.abdera.model.Entry createFolder(org.apache.abdera.model.Entry entry,
java.lang.String title)
throws CMISException
- Throws:
CMISException
createFolder
public static org.apache.abdera.model.Entry createFolder(java.lang.String title)
throws CMISException
- Throws:
CMISException
createFolder
public static org.apache.abdera.model.Entry createFolder(java.lang.String url,
java.lang.String title)
throws CMISException
- Throws:
CMISException
delete
public static void delete(org.apache.abdera.model.Entry entry)
throws CMISException
- Throws:
CMISException
delete
public static void delete(java.lang.String url)
throws CMISException
- Throws:
CMISException
getCollectionType
public static java.lang.String getCollectionType(org.apache.abdera.model.Collection collection)
getCollectionUrl
public static java.lang.String getCollectionUrl(org.apache.abdera.model.Workspace workspace,
java.lang.String collectionType)
getDocument
public static org.apache.abdera.model.Entry getDocument(org.apache.abdera.model.Entry entry,
java.lang.String title)
throws CMISException
- Throws:
CMISException
getDocument
public static org.apache.abdera.model.Entry getDocument(java.lang.String url,
java.lang.String title)
throws CMISException
- Throws:
CMISException
getEntry
public static org.apache.abdera.model.Entry getEntry(java.lang.String url,
java.lang.String title,
java.lang.String baseType)
throws CMISException
- Throws:
CMISException
getFolder
public static org.apache.abdera.model.Entry getFolder(org.apache.abdera.model.Entry entry,
java.lang.String title)
throws CMISException
- Throws:
CMISException
getFolder
public static org.apache.abdera.model.Entry getFolder(java.lang.String title)
throws CMISException
- Throws:
CMISException
getFolder
public static org.apache.abdera.model.Entry getFolder(java.lang.String url,
java.lang.String title)
throws CMISException
- Throws:
CMISException
getFolders
public static java.util.List<java.lang.String> getFolders(org.apache.abdera.model.Entry entry)
throws CMISException
- Throws:
CMISException
getInputStream
public static java.io.InputStream getInputStream(org.apache.abdera.model.Entry entry)
throws CMISException
- Throws:
CMISException
getService
public static org.apache.abdera.model.Service getService()
throws CMISException
- Throws:
CMISException
verifyRepository
public static java.lang.String verifyRepository()
throws java.lang.Exception
- Throws:
java.lang.Exception