com.liferay.portal.repository.cmis
Class CMISRepositoryDetector
java.lang.Object
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
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