Liferay 6.0.5

com.liferay.portal.cmis
Class CMISUtil

java.lang.Object
  extended by com.liferay.portal.cmis.CMISUtil

public class CMISUtil
extends Object


Method Summary
static org.apache.abdera.model.Entry createDocument(org.apache.abdera.model.Entry entry, String title, InputStream is)
           
static org.apache.abdera.model.Entry createDocument(String url, String title, InputStream is)
           
static org.apache.abdera.model.Entry createFolder(org.apache.abdera.model.Entry entry, String title)
           
static org.apache.abdera.model.Entry createFolder(String title)
           
static org.apache.abdera.model.Entry createFolder(String url, String title)
           
static void delete(org.apache.abdera.model.Entry entry)
           
static void delete(String url)
           
static String getCollectionType(org.apache.abdera.model.Collection collection)
           
static String getCollectionUrl(org.apache.abdera.model.Workspace workspace, String collectionType)
           
static org.apache.abdera.model.Entry getDocument(org.apache.abdera.model.Entry entry, String title)
           
static org.apache.abdera.model.Entry getDocument(String url, String title)
           
static org.apache.abdera.model.Entry getEntry(String url, String title, String baseType)
           
static org.apache.abdera.model.Entry getFolder(org.apache.abdera.model.Entry entry, String title)
           
static org.apache.abdera.model.Entry getFolder(String title)
           
static org.apache.abdera.model.Entry getFolder(String url, String title)
           
static List<String> getFolders(org.apache.abdera.model.Entry entry)
           
static InputStream getInputStream(org.apache.abdera.model.Entry entry)
           
static org.apache.abdera.model.Service getService()
           
static String verifyRepository()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createDocument

public static org.apache.abdera.model.Entry createDocument(org.apache.abdera.model.Entry entry,
                                                           String title,
                                                           InputStream is)
                                                    throws CMISException
Throws:
CMISException

createDocument

public static org.apache.abdera.model.Entry createDocument(String url,
                                                           String title,
                                                           InputStream is)
                                                    throws CMISException
Throws:
CMISException

createFolder

public static org.apache.abdera.model.Entry createFolder(org.apache.abdera.model.Entry entry,
                                                         String title)
                                                  throws CMISException
Throws:
CMISException

createFolder

public static org.apache.abdera.model.Entry createFolder(String title)
                                                  throws CMISException
Throws:
CMISException

createFolder

public static org.apache.abdera.model.Entry createFolder(String url,
                                                         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(String url)
                   throws CMISException
Throws:
CMISException

getCollectionType

public static String getCollectionType(org.apache.abdera.model.Collection collection)

getCollectionUrl

public static String getCollectionUrl(org.apache.abdera.model.Workspace workspace,
                                      String collectionType)

getDocument

public static org.apache.abdera.model.Entry getDocument(org.apache.abdera.model.Entry entry,
                                                        String title)
                                                 throws CMISException
Throws:
CMISException

getDocument

public static org.apache.abdera.model.Entry getDocument(String url,
                                                        String title)
                                                 throws CMISException
Throws:
CMISException

getEntry

public static org.apache.abdera.model.Entry getEntry(String url,
                                                     String title,
                                                     String baseType)
                                              throws CMISException
Throws:
CMISException

getFolder

public static org.apache.abdera.model.Entry getFolder(org.apache.abdera.model.Entry entry,
                                                      String title)
                                               throws CMISException
Throws:
CMISException

getFolder

public static org.apache.abdera.model.Entry getFolder(String title)
                                               throws CMISException
Throws:
CMISException

getFolder

public static org.apache.abdera.model.Entry getFolder(String url,
                                                      String title)
                                               throws CMISException
Throws:
CMISException

getFolders

public static List<String> getFolders(org.apache.abdera.model.Entry entry)
                               throws CMISException
Throws:
CMISException

getInputStream

public static 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 String verifyRepository()
                               throws Exception
Throws:
Exception

Liferay 6.0.5