public class CmisOutputConnectorUtils
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
REPLACE |
static java.lang.String |
SELECT_FOR_REMOVAL |
static java.lang.String |
SEP |
static java.lang.String |
SLASH |
| Constructor and Description |
|---|
CmisOutputConnectorUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addValuesOfProperties(java.util.List<org.apache.chemistry.opencmis.client.api.Property<?>> props,
org.apache.manifoldcf.agents.interfaces.RepositoryDocument rd,
java.lang.String cmisQuery) |
static void |
addValuesOfProperty(java.util.List<org.apache.chemistry.opencmis.client.api.Property<?>> props,
boolean isWildcardQuery,
java.util.Map<java.lang.String,java.lang.String> cmisQueryColumns,
org.apache.manifoldcf.agents.interfaces.RepositoryDocument rd) |
static boolean |
existsInSelectClause(java.lang.String cmisQuery,
java.lang.String propertyId)
Utility method to understand if a property must be indexed or not
|
static java.lang.String |
getCmisQueryWithObjectId(java.lang.String cmisQuery)
Utility method to consider the objectId whenever it is not present in the select clause
|
static java.lang.String |
getDocumentURL(org.apache.chemistry.opencmis.client.api.Document document,
org.apache.chemistry.opencmis.client.api.Session session) |
static java.util.Map<java.lang.String,java.lang.String> |
getSelectMap(java.lang.String cmisQuery) |
static boolean |
isWildcardQuery(java.lang.String selectClause) |
public static final java.lang.String SEP
public static final java.lang.String SLASH
public static final java.lang.String REPLACE
public static final java.lang.String SELECT_FOR_REMOVAL
public static final java.lang.String getDocumentURL(org.apache.chemistry.opencmis.client.api.Document document,
org.apache.chemistry.opencmis.client.api.Session session)
throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
org.apache.manifoldcf.core.interfaces.ManifoldCFExceptionpublic static java.lang.String getCmisQueryWithObjectId(java.lang.String cmisQuery)
cmisQuery - public static boolean existsInSelectClause(java.lang.String cmisQuery,
java.lang.String propertyId)
cmisQuery - propertyId - public static void addValuesOfProperties(java.util.List<org.apache.chemistry.opencmis.client.api.Property<?>> props,
org.apache.manifoldcf.agents.interfaces.RepositoryDocument rd,
java.lang.String cmisQuery)
props - : list properties of a documentrd - : object that contains the properties to pass to connectorcmisQuery - : cmis querypublic static void addValuesOfProperty(java.util.List<org.apache.chemistry.opencmis.client.api.Property<?>> props,
boolean isWildcardQuery,
java.util.Map<java.lang.String,java.lang.String> cmisQueryColumns,
org.apache.manifoldcf.agents.interfaces.RepositoryDocument rd)
props - : list properties of a documentisWildcardQuery - : if the query select is of type '*'cmisQueryColumns - : selectors queryrd - : object that contains the properties to pass to connectorpublic static java.util.Map<java.lang.String,java.lang.String> getSelectMap(java.lang.String cmisQuery)
public static boolean isWildcardQuery(java.lang.String selectClause)