Liferay 7.0-ce-m3

com.liferay.portal.repository.cmis
Class CMISRepositoryDetector

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

public class CMISRepositoryDetector
extends Object

Implements the logic for CMIS repository vendor and version detection.


Constructor Summary
CMISRepositoryDetector(org.apache.chemistry.opencmis.commons.data.RepositoryInfo repositoryInfo)
          Creates a detector for the given CMIS repository.
 
Method Summary
protected  void detectNuxeo(org.apache.chemistry.opencmis.commons.data.RepositoryInfo repositoryInfo)
          Detects the version number for the Nuxeo repository.
 boolean isNuxeo()
           
 boolean isNuxeo5_4()
           
 boolean isNuxeo5_5OrHigher()
           
 boolean isNuxeo5_8OrHigher()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CMISRepositoryDetector

public CMISRepositoryDetector(org.apache.chemistry.opencmis.commons.data.RepositoryInfo repositoryInfo)
Creates a detector for the given CMIS repository. The detection routines are run once and cached inside the object for future reference.

Parameters:
repositoryInfo - the repository description
Method Detail

isNuxeo

public boolean isNuxeo()

isNuxeo5_4

public boolean isNuxeo5_4()

isNuxeo5_5OrHigher

public boolean isNuxeo5_5OrHigher()

isNuxeo5_8OrHigher

public boolean isNuxeo5_8OrHigher()

detectNuxeo

protected void detectNuxeo(org.apache.chemistry.opencmis.commons.data.RepositoryInfo repositoryInfo)
Detects the version number for the Nuxeo repository.

Parameters:
repositoryInfo - the repository description

Liferay 7.0-ce-m3