public class PropertiesUtils
extends java.lang.Object
| Constructor and Description |
|---|
PropertiesUtils() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.List<org.alfresco.webservice.types.NamedValue> |
getContentProperties(org.alfresco.webservice.types.NamedValue[] properties) |
static java.util.Date |
getDatePropertyValue(org.alfresco.webservice.types.NamedValue[] properties,
java.lang.String qname) |
static java.lang.String |
getMimeType(java.util.List<org.alfresco.webservice.types.NamedValue> contentProperties)
This method returns the mimetype of the default content defined for the node.
|
static java.lang.String |
getNodeReference(org.alfresco.webservice.types.NamedValue[] properties)
Build the Alfresco node identifier
|
static java.lang.String[] |
getPropertyValues(org.alfresco.webservice.types.NamedValue[] properties,
java.lang.String qname) |
static java.lang.String |
getVersionLabel(org.alfresco.webservice.types.NamedValue[] properties) |
static void |
ingestProperties(org.apache.manifoldcf.agents.interfaces.RepositoryDocument rd,
org.alfresco.webservice.types.NamedValue[] properties,
java.util.List<org.alfresco.webservice.types.NamedValue> contentProperties) |
public static java.lang.String[] getPropertyValues(org.alfresco.webservice.types.NamedValue[] properties,
java.lang.String qname)
public static void ingestProperties(org.apache.manifoldcf.agents.interfaces.RepositoryDocument rd,
org.alfresco.webservice.types.NamedValue[] properties,
java.util.List<org.alfresco.webservice.types.NamedValue> contentProperties)
throws org.apache.manifoldcf.core.interfaces.ManifoldCFException,
java.text.ParseException
org.apache.manifoldcf.core.interfaces.ManifoldCFExceptionjava.text.ParseExceptionpublic static java.util.List<org.alfresco.webservice.types.NamedValue> getContentProperties(org.alfresco.webservice.types.NamedValue[] properties)
properties - public static java.lang.String getNodeReference(org.alfresco.webservice.types.NamedValue[] properties)
properties - public static java.lang.String getVersionLabel(org.alfresco.webservice.types.NamedValue[] properties)
properties - public static java.lang.String getMimeType(java.util.List<org.alfresco.webservice.types.NamedValue> contentProperties)
contentProperties - public static java.util.Date getDatePropertyValue(org.alfresco.webservice.types.NamedValue[] properties,
java.lang.String qname)
throws java.text.ParseException
properties - java.text.ParseException