public interface ActualEnvironment
Modifier and Type | Method and Description |
---|---|
void |
addAspect(org.alfresco.service.cmr.repository.NodeRef nodeRef,
org.alfresco.service.namespace.QName aspectTypeQName,
Map<org.alfresco.service.namespace.QName,Serializable> aspectProperties) |
FileInfo |
create(org.alfresco.service.cmr.repository.NodeRef parentNodeRef,
String name,
org.alfresco.service.namespace.QName typeQName) |
Object |
createScriptVirtualContext(VirtualContext context) |
void |
delete(org.alfresco.service.cmr.repository.NodeRef nodeRef) |
Object |
executeScript(org.alfresco.service.cmr.repository.NodeRef templateNodeRef,
Map<String,Object> model) |
Object |
executeScript(String classpath,
Map<String,Object> model) |
boolean |
exists(org.alfresco.service.cmr.repository.NodeRef nodeRef) |
boolean |
exists(String classpath) |
org.alfresco.service.cmr.repository.NodeRef |
findNodeRef(String referenceType,
String[] reference) |
org.alfresco.service.cmr.repository.NodeRef |
findQNamePath(String[] patheElements) |
Set<org.alfresco.service.namespace.QName> |
getAspects(org.alfresco.service.cmr.repository.NodeRef nodeRef) |
List<org.alfresco.service.cmr.repository.ChildAssociationRef> |
getChildAssocs(org.alfresco.service.cmr.repository.NodeRef nodeRef,
org.alfresco.service.namespace.QNamePattern typeQNamePattern,
org.alfresco.service.namespace.QNamePattern qnamePattern,
int maxResults,
boolean preload) |
org.alfresco.service.cmr.repository.NodeRef |
getChildByName(org.alfresco.service.cmr.repository.NodeRef nodeRef,
org.alfresco.service.namespace.QName assocTypeQName,
String childName) |
String |
getCurrentUser() |
org.alfresco.service.namespace.NamespacePrefixResolver |
getNamespacePrefixResolver() |
org.alfresco.service.cmr.repository.Path |
getPath(org.alfresco.service.cmr.repository.NodeRef nodeRef) |
org.alfresco.service.cmr.repository.ChildAssociationRef |
getPrimaryParent(org.alfresco.service.cmr.repository.NodeRef nodeRef) |
Map<org.alfresco.service.namespace.QName,Serializable> |
getProperties(org.alfresco.service.cmr.repository.NodeRef nodeRef) |
Serializable |
getProperty(org.alfresco.service.cmr.repository.NodeRef nodeRef,
org.alfresco.service.namespace.QName qname) |
org.alfresco.service.cmr.repository.NodeRef |
getTargetAssocs(org.alfresco.service.cmr.repository.NodeRef nodeRef,
org.alfresco.service.namespace.QName aspectTypeQName) |
org.alfresco.service.namespace.QName |
getType(org.alfresco.service.cmr.repository.NodeRef nodeRef) |
org.alfresco.service.cmr.repository.ContentWriter |
getWriter(org.alfresco.service.cmr.repository.NodeRef nodeRef,
org.alfresco.service.namespace.QName propertyQName,
boolean update) |
boolean |
hasAspect(org.alfresco.service.cmr.repository.NodeRef nodeRef,
org.alfresco.service.namespace.QName aspectTypeQName) |
boolean |
hasPermission(org.alfresco.service.cmr.repository.NodeRef nodeRef,
String perm) |
boolean |
isSubClass(org.alfresco.service.namespace.QName className,
org.alfresco.service.namespace.QName ofClassName) |
InputStream |
openContentStream(org.alfresco.service.cmr.repository.NodeRef nodeRef) |
InputStream |
openContentStream(String classpath) |
org.alfresco.service.cmr.search.ResultSet |
query(org.alfresco.service.cmr.search.SearchParameters searchParameters) |
org.alfresco.service.namespace.QName getType(org.alfresco.service.cmr.repository.NodeRef nodeRef)
boolean isSubClass(org.alfresco.service.namespace.QName className, org.alfresco.service.namespace.QName ofClassName)
org.alfresco.service.cmr.repository.NodeRef getTargetAssocs(org.alfresco.service.cmr.repository.NodeRef nodeRef, org.alfresco.service.namespace.QName aspectTypeQName)
Serializable getProperty(org.alfresco.service.cmr.repository.NodeRef nodeRef, org.alfresco.service.namespace.QName qname) throws ActualEnvironmentException
ActualEnvironmentException
Map<org.alfresco.service.namespace.QName,Serializable> getProperties(org.alfresco.service.cmr.repository.NodeRef nodeRef)
boolean hasAspect(org.alfresco.service.cmr.repository.NodeRef nodeRef, org.alfresco.service.namespace.QName aspectTypeQName)
Set<org.alfresco.service.namespace.QName> getAspects(org.alfresco.service.cmr.repository.NodeRef nodeRef)
String getCurrentUser()
org.alfresco.service.cmr.repository.Path getPath(org.alfresco.service.cmr.repository.NodeRef nodeRef)
org.alfresco.service.cmr.repository.ChildAssociationRef getPrimaryParent(org.alfresco.service.cmr.repository.NodeRef nodeRef)
List<org.alfresco.service.cmr.repository.ChildAssociationRef> getChildAssocs(org.alfresco.service.cmr.repository.NodeRef nodeRef, org.alfresco.service.namespace.QNamePattern typeQNamePattern, org.alfresco.service.namespace.QNamePattern qnamePattern, int maxResults, boolean preload) throws org.alfresco.service.cmr.repository.InvalidNodeRefException
org.alfresco.service.cmr.repository.InvalidNodeRefException
org.alfresco.service.cmr.repository.NodeRef getChildByName(org.alfresco.service.cmr.repository.NodeRef nodeRef, org.alfresco.service.namespace.QName assocTypeQName, String childName)
org.alfresco.service.namespace.NamespacePrefixResolver getNamespacePrefixResolver()
InputStream openContentStream(org.alfresco.service.cmr.repository.NodeRef nodeRef) throws ActualEnvironmentException
ActualEnvironmentException
InputStream openContentStream(String classpath) throws ActualEnvironmentException
ActualEnvironmentException
org.alfresco.service.cmr.search.ResultSet query(org.alfresco.service.cmr.search.SearchParameters searchParameters)
Object executeScript(String classpath, Map<String,Object> model) throws ActualEnvironmentException
ActualEnvironmentException
Object executeScript(org.alfresco.service.cmr.repository.NodeRef templateNodeRef, Map<String,Object> model) throws ActualEnvironmentException
ActualEnvironmentException
Object createScriptVirtualContext(VirtualContext context) throws ActualEnvironmentException
ActualEnvironmentException
org.alfresco.service.cmr.repository.NodeRef findNodeRef(String referenceType, String[] reference)
org.alfresco.service.cmr.repository.NodeRef findQNamePath(String[] patheElements)
boolean exists(org.alfresco.service.cmr.repository.NodeRef nodeRef)
boolean exists(String classpath)
void delete(org.alfresco.service.cmr.repository.NodeRef nodeRef)
FileInfo create(org.alfresco.service.cmr.repository.NodeRef parentNodeRef, String name, org.alfresco.service.namespace.QName typeQName) throws FileExistsException
FileExistsException
org.alfresco.service.cmr.repository.ContentWriter getWriter(org.alfresco.service.cmr.repository.NodeRef nodeRef, org.alfresco.service.namespace.QName propertyQName, boolean update) throws org.alfresco.service.cmr.repository.InvalidNodeRefException, org.alfresco.service.cmr.dictionary.InvalidTypeException
org.alfresco.service.cmr.repository.InvalidNodeRefException
org.alfresco.service.cmr.dictionary.InvalidTypeException
void addAspect(org.alfresco.service.cmr.repository.NodeRef nodeRef, org.alfresco.service.namespace.QName aspectTypeQName, Map<org.alfresco.service.namespace.QName,Serializable> aspectProperties) throws org.alfresco.service.cmr.repository.InvalidNodeRefException, org.alfresco.service.cmr.dictionary.InvalidAspectException
org.alfresco.service.cmr.repository.InvalidNodeRefException
org.alfresco.service.cmr.dictionary.InvalidAspectException
boolean hasPermission(org.alfresco.service.cmr.repository.NodeRef nodeRef, String perm)
Copyright © 2005–2017 Alfresco Software. All rights reserved.