com.liferay.portal.repository.cmis
Class CMISRepositoryUtil

java.lang.Object
  extended by com.liferay.portal.repository.cmis.CMISRepositoryUtil

public class CMISRepositoryUtil
extends java.lang.Object

Author:
Alexander Chow

Constructor Summary
CMISRepositoryUtil()
           
 
Method Summary
static void checkRepository(long repositoryId, java.util.Map<java.lang.String,java.lang.String> parameters, com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties, java.lang.String typeSettingsKey)
           
static com.liferay.portal.kernel.repository.cmis.Session createSession(java.util.Map<java.lang.String,java.lang.String> parameters)
           
static org.apache.chemistry.opencmis.client.api.OperationContext getOperationContext()
           
static org.apache.chemistry.opencmis.client.api.SessionFactory getSessionFactory()
           
static java.lang.String getTypeSettingsValue(com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties, java.lang.String typeSettingsKey)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CMISRepositoryUtil

public CMISRepositoryUtil()
Method Detail

checkRepository

public static void checkRepository(long repositoryId,
                                   java.util.Map<java.lang.String,java.lang.String> parameters,
                                   com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties,
                                   java.lang.String typeSettingsKey)
                            throws com.liferay.portal.kernel.exception.PortalException,
                                   com.liferay.portal.kernel.repository.RepositoryException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.repository.RepositoryException

createSession

public static com.liferay.portal.kernel.repository.cmis.Session createSession(java.util.Map<java.lang.String,java.lang.String> parameters)
                                                                       throws com.liferay.portal.security.auth.PrincipalException,
                                                                              com.liferay.portal.kernel.repository.RepositoryException
Throws:
com.liferay.portal.security.auth.PrincipalException
com.liferay.portal.kernel.repository.RepositoryException

getOperationContext

public static org.apache.chemistry.opencmis.client.api.OperationContext getOperationContext()

getSessionFactory

public static org.apache.chemistry.opencmis.client.api.SessionFactory getSessionFactory()

getTypeSettingsValue

public static java.lang.String getTypeSettingsValue(com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties,
                                                    java.lang.String typeSettingsKey)
                                             throws com.liferay.portal.InvalidRepositoryException
Throws:
com.liferay.portal.InvalidRepositoryException