|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.webservice.util.Utils
public class Utils
This class provides a number of common utility methods usful when using the web service API
Constructor Summary | |
---|---|
Utils()
|
Method Summary | |
---|---|
static org.alfresco.webservice.types.NamedValue |
createNamedValue(java.lang.String name,
java.lang.String value)
Creates a single valued named value. |
static org.alfresco.webservice.types.NamedValue |
createNamedValue(java.lang.String name,
java.lang.String[] values)
Creates a multi-valued named value |
static java.lang.String |
getNodeRef(org.alfresco.webservice.types.Reference reference)
Gets the node reference string for a given Reference object |
static java.lang.String |
getStoreRef(org.alfresco.webservice.types.Store store)
Gets the store reference string for a given Store object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Utils()
Method Detail |
---|
public static org.alfresco.webservice.types.NamedValue createNamedValue(java.lang.String name, java.lang.String value)
name
- the namevalue
- the value
public static org.alfresco.webservice.types.NamedValue createNamedValue(java.lang.String name, java.lang.String[] values)
name
- the namevalues
- the array of values
public static java.lang.String getStoreRef(org.alfresco.webservice.types.Store store)
store
- the store
public static java.lang.String getNodeRef(org.alfresco.webservice.types.Reference reference)
reference
- the reference
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |