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