public class ContentModelUtils extends Object
Constructor and Description |
---|
ContentModelUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
handleRemoteException(RemoteException e) |
static void |
handleRepositoryFaultException(org.alfresco.webservice.repository.RepositoryFault e) |
static boolean |
isDocument(org.alfresco.webservice.types.NamedValue[] properties)
this method checks if a node is a document: verify if exists a property named cm:content.
|
static boolean |
isFolder(String endpoint,
String username,
String password,
int socketTimeout,
org.alfresco.webservice.util.AuthenticationDetails session,
org.alfresco.webservice.types.Reference node)
Check if the current node has associated children
|
public static boolean isDocument(org.alfresco.webservice.types.NamedValue[] properties)
properties
- public static boolean isFolder(String endpoint, String username, String password, int socketTimeout, org.alfresco.webservice.util.AuthenticationDetails session, org.alfresco.webservice.types.Reference node) throws ManifoldCFException
session
- node
- ManifoldCFException
public static void handleRepositoryFaultException(org.alfresco.webservice.repository.RepositoryFault e) throws ManifoldCFException
ManifoldCFException
public static void handleRemoteException(RemoteException e) throws ManifoldCFException
ManifoldCFException