Modifier and Type | Method and Description |
---|---|
ScriptNode |
ScriptExecutionDetails.getPersistedActionRef() |
Modifier and Type | Class and Description |
---|---|
class |
CategoryNode
Category Nodes from the classification helper have special support.
|
Modifier and Type | Field and Description |
---|---|
protected ScriptNode |
ScriptNode.parent |
Modifier and Type | Method and Description |
---|---|
ScriptNode |
ScriptNode.cancelCheckout()
Cancel the check-out of a working copy document.
|
ScriptNode |
ScriptNode.checkin()
Check-in a working copy document.
|
ScriptNode |
ScriptNode.checkin(String history)
Check-in a working copy document.
|
ScriptNode |
ScriptNode.checkin(String history,
boolean majorVersion)
Check-in a working copy document.
|
ScriptNode |
ScriptNode.checkout()
Perform a check-out of this document into the current parent space.
|
ScriptNode |
ScriptNode.checkout(ScriptNode destination)
Perform a check-out of this document into the specified destination space.
|
ScriptNode |
ScriptNode.checkoutForUpload()
Performs a check-out of this document for the purposes of an upload
|
ScriptNode |
ScriptNode.childByNamePath(String path)
childByNamePath returns the Node at the specified 'cm:name' based Path walking the children of this Node.
|
ScriptNode[] |
ScriptNode.childrenByTags(String tag)
Gets all (deep) children of this node that have the tag specified.
|
ScriptNode |
ScriptNode.copy(ScriptNode destination)
Copy this Node to a new parent destination.
|
ScriptNode |
ScriptNode.copy(ScriptNode destination,
boolean deepCopy)
Copy this Node and potentially all child nodes to a new parent destination.
|
ScriptNode |
ScriptNode.createFile(String name)
Create a new File (cm:content) node as a child of this node.
|
ScriptNode |
ScriptNode.createFile(String name,
String type)
Create a new File (cm:content) node as a child of this node.
|
ScriptNode |
ScriptNode.createFolder(String name)
Create a new folder (cm:folder) node as a child of this node.
|
ScriptNode |
ScriptNode.createFolder(String name,
String type)
Create a new folder (cm:folder) node as a child of this node.
|
ScriptNode |
ScriptNode.createFolderPath(String path)
Create a path of folder (cm:folder) nodes as a child of this node.
|
ScriptNode |
People.createGroup(ScriptNode parentGroup,
String groupName)
Create a new group with the specified unique name
|
ScriptNode |
People.createGroup(String groupName)
Create a new root level group with the specified unique name
|
ScriptNode |
ScriptNode.createNode(String name,
String type)
Create a new Node of the specified type as a child of this node.
|
ScriptNode |
ScriptNode.createNode(String name,
String type,
Object properties)
Create a new Node of the specified type as a child of this node.
|
ScriptNode |
ScriptNode.createNode(String name,
String type,
Object properties,
String assocType)
Create a new Node of the specified type as a child of this node.
|
ScriptNode |
ScriptNode.createNode(String name,
String type,
Object properties,
String assocType,
String assocName)
Create a new Node of the specified type as a child of this node.
|
ScriptNode |
ScriptNode.createNode(String name,
String type,
String assocType)
Create a new Node of the specified type as a child of this node.
|
ScriptNode |
People.createPerson(String userName)
Create a Person with the given user name
|
ScriptNode |
People.createPerson(String userName,
String firstName,
String lastName,
String emailAddress)
Create a Person with the given user name, firstName, lastName and emailAddress
|
ScriptNode |
People.createPerson(String userName,
String firstName,
String lastName,
String emailAddress,
String password,
boolean setAccountEnabled)
Create a Person with an optionally generated user name.
|
ScriptNode |
People.createPerson(String userName,
String firstName,
String lastName,
String emailAddress,
String password,
boolean setAccountEnabled,
boolean notifyByEmail)
Create a Person with an optionally generated user name
|
ScriptNode |
Search.findNode(org.alfresco.service.cmr.repository.NodeRef ref)
Find a single Node by the Node reference
|
ScriptNode |
Search.findNode(String ref)
Find a single Node by the Node reference
|
ScriptNode |
Search.findNode(String referenceType,
String[] reference)
Helper to convert a Web Script Request URL to a Node Ref
1) Node - {store_type}/{store_id}/{node_id}
Resolve to node via its Node Reference.
|
ScriptNode[] |
CategoryNode.getCategoryMembers() |
ScriptNode |
ScriptNode.getCheckedOut()
Gets the check-out of a working copy document
|
ScriptNode |
ChildAssociation.getChild() |
ScriptNode |
People.getGroup(String groupName)
Gets the Group given the group name
|
ScriptNode |
Imap.getImapHomeRef(String userName)
Searches NodeRef to the IMAP home for specified user
|
ScriptNode[] |
CategoryNode.getImmediateCategoryMembers() |
ScriptNode[] |
CategoryNode.getImmediateMembersAndSubCategories() |
ScriptNode[] |
CategoryNode.getMembersAndSubCategories() |
ScriptNode |
ScriptVersion.getNode()
Gets the node represented by this version
|
ScriptNode |
ScriptUtils.getNodeFromString(String nodeRefString)
Gets a JS node object from a string noderef
|
ScriptNode |
ScriptNode.getParent() |
ScriptNode |
ChildAssociation.getParent() |
ScriptNode |
People.getPerson(String username)
Gets the Person given the username
|
ScriptNode |
Association.getSource() |
ScriptNode |
Association.getTarget() |
ScriptNode |
ScriptNode.newInstance(FileInfo nodeInfo,
ServiceRegistry services,
org.mozilla.javascript.Scriptable scope) |
ScriptNode |
ScriptNode.newInstance(org.alfresco.service.cmr.repository.NodeRef nodeRef,
ServiceRegistry services,
org.mozilla.javascript.Scriptable scope)
Factory method
|
ScriptNode |
ScriptUtils.resolveNodeReference(String reference)
Use the Node Locator Service to find the a node reference from a number of possible locator types.
|
ScriptNode |
ScriptNode.revert(String history,
boolean majorVersion,
String versionLabel)
Revert this Node to the specified version.
|
ScriptNode |
ScriptNode.revert(String history,
boolean majorVersion,
String versionLabel,
boolean deep)
Revert this Node to the specified version and potentially all child nodes.
|
ScriptNode[] |
Search.tagSearch(String store,
String tag)
Searchs the store for all nodes with the given tag applied.
|
ScriptNode |
ScriptNode.transformDocument(String mimetype)
Transform a document to a new document mimetype format.
|
ScriptNode |
ScriptNode.transformDocument(String mimetype,
ScriptNode destination)
Transform a document to a new document mimetype format.
|
ScriptNode |
ScriptNode.transformImage(String mimetype)
Transform an image to a new image format.
|
ScriptNode |
ScriptNode.transformImage(String mimetype,
ScriptNode destination)
Transform an image to a new image mimetype format.
|
ScriptNode |
ScriptNode.transformImage(String mimetype,
String options)
Transform an image to a new image format.
|
ScriptNode |
ScriptNode.transformImage(String mimetype,
String options,
ScriptNode destination)
Transform an image to a new image mimetype format.
|
Modifier and Type | Method and Description |
---|---|
void |
People.addAuthority(ScriptNode parentGroup,
ScriptNode authority)
Add an authority (a user or group) to a group container as a new child
|
void |
ScriptNode.addNode(ScriptNode node)
Creates a new secondary association between the current node and the specified child node.
|
ScriptNode |
ScriptNode.checkout(ScriptNode destination)
Perform a check-out of this document into the specified destination space.
|
ScriptNode |
ScriptNode.copy(ScriptNode destination)
Copy this Node to a new parent destination.
|
ScriptNode |
ScriptNode.copy(ScriptNode destination,
boolean deepCopy)
Copy this Node and potentially all child nodes to a new parent destination.
|
Association |
ScriptNode.createAssociation(ScriptNode target,
String assocType)
Create an association between this node and the specified target node.
|
ScriptNode |
People.createGroup(ScriptNode parentGroup,
String groupName)
Create a new group with the specified unique name
|
void |
People.deleteGroup(ScriptNode group)
Deletes a group from the system.
|
String |
ScriptUtils.displayPath(ScriptNode node)
Function to return the cm:name display path for a node with minimum performance overhead.
|
void |
ScriptAction.execute(ScriptNode node)
Execute action.
|
void |
ScriptAction.execute(ScriptNode node,
boolean readOnly,
boolean newTxn)
Execute action, optionally starting a new, potentially read-only transaction.
|
void |
ScriptAction.executeAsynchronously(ScriptNode node)
Execute action.
|
protected void |
ScriptAction.executeAsynchronouslyImpl(ScriptNode node) |
protected void |
ScriptAction.executeImpl(ScriptNode node) |
Map<String,Boolean> |
People.getCapabilities(ScriptNode person)
Gets a map of capabilities (boolean assertions) for the given person.
|
org.mozilla.javascript.Scriptable |
People.getContainerGroups(ScriptNode person)
Gets the groups that contain the specified authority
|
String |
Presence.getDetails(ScriptNode person)
Query current online status of given person
|
String |
ApplicationScriptUtils.getDownloadAPIUrl(ScriptNode node) |
org.mozilla.javascript.Scriptable |
People.getMembers(ScriptNode group)
Gets the members (people) of a group (including all sub-groups)
|
org.mozilla.javascript.Scriptable |
People.getMembers(ScriptNode group,
boolean recurse)
Gets the members (people) of a group
|
boolean |
Presence.hasPresence(ScriptNode person)
Gets whether the Person has configured Presence parameters
|
boolean |
People.isAdmin(ScriptNode person)
Return true if the specified user is an Administrator authority.
|
boolean |
People.isGuest(ScriptNode person)
Return true if the specified user is an guest authority.
|
boolean |
ScriptNode.move(ScriptNode destination)
Move this Node to a new parent destination.
|
boolean |
ScriptNode.move(ScriptNode source,
ScriptNode destination)
Move this Node from specified parent to a new parent destination.
|
String |
ScriptNode.processTemplate(ScriptNode template)
Process a FreeMarker Template against the current node.
|
String |
ScriptNode.processTemplate(ScriptNode template,
Object args)
Process a FreeMarker Template against the current node.
|
void |
ScriptNode.removeAssociation(ScriptNode target,
String assocType)
Remove an association between this node and the specified target node.
|
void |
People.removeAuthority(ScriptNode parentGroup,
ScriptNode authority)
Remove an authority (a user or group) from a group
|
void |
ScriptNode.removeNode(ScriptNode node)
Remove an existing child node of this node.
|
org.mozilla.javascript.Scriptable |
Search.savedSearch(ScriptNode savedSearch)
Execute a saved Lucene search
|
void |
People.setQuota(ScriptNode person,
String quota)
Set the content quota in bytes for a person.
|
String |
ApplicationScriptUtils.toJSON(ScriptNode node)
Returns the JSON representation of a node.
|
String |
ApplicationScriptUtils.toJSON(ScriptNode node,
boolean useShortQNames)
Returns the JSON representation of this node.
|
ScriptNode |
ScriptNode.transformDocument(String mimetype,
ScriptNode destination)
Transform a document to a new document mimetype format.
|
ScriptNode |
ScriptNode.transformImage(String mimetype,
ScriptNode destination)
Transform an image to a new image mimetype format.
|
ScriptNode |
ScriptNode.transformImage(String mimetype,
String options,
ScriptNode destination)
Transform an image to a new image mimetype format.
|
Constructor and Description |
---|
ContentAwareScriptableQNameMap(ScriptNode factory,
ServiceRegistry services)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
ScriptRatingService.applyRating(ScriptNode node,
float rating,
String ratingSchemeName)
Applies the given rating to the specified node using the specified ratingScheme.
|
float |
ScriptRatingService.getAverageRating(ScriptNode node,
String ratingSchemeName)
Gets the average (mean) rating by all users on the specified node in the specified scheme.
|
float |
ScriptRatingService.getRating(ScriptNode node,
String ratingSchemeName)
Gets the rating applied to the specified node in the specified scheme by
the currently authenticated user.
|
Date |
ScriptRatingService.getRatingAppliedAt(ScriptNode node,
String ratingSchemeName)
Gets the rating applied date for the specified node in the specified scheme by
the currently authenticated user.
|
int |
ScriptRatingService.getRatingsCount(ScriptNode node,
String ratingSchemeName)
Gets the number of ratings applied to the specified node by all users in the specified
scheme.
|
float |
ScriptRatingService.getTotalRating(ScriptNode node,
String ratingSchemeName)
Gets the total (sum) rating by all users on the specified node in the specified scheme.
|
void |
ScriptRatingService.removeRating(ScriptNode node,
String ratingSchemeName)
Removes any rating by the current user in the specified scheme from the specified
noderef.
|
Modifier and Type | Method and Description |
---|---|
ScriptNode |
ScriptRenditionService.getRenditionByName(ScriptNode node,
String renditionName)
This method gets the rendition of the specified node identified by
the provided rendition name.
|
ScriptNode[] |
ScriptRenditionService.getRenditions(ScriptNode node)
This method gets all the renditions of the specified node.
|
ScriptNode[] |
ScriptRenditionService.getRenditions(ScriptNode node,
String mimeTypePrefix)
This method gets all the renditions of the specified node filtered by
MIME-type prefix.
|
ScriptNode |
ScriptRenditionService.render(ScriptNode sourceNode,
ScriptRenditionDefinition scriptRenditionDef) |
ScriptNode |
ScriptRenditionService.render(ScriptNode sourceNode,
String renditionDefQName)
This method renders the specified source node using the specified saved
rendition definition.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ScriptRenditionDefinition.executeImpl(ScriptNode node) |
ScriptNode |
ScriptRenditionService.getRenditionByName(ScriptNode node,
String renditionName)
This method gets the rendition of the specified node identified by
the provided rendition name.
|
ScriptNode[] |
ScriptRenditionService.getRenditions(ScriptNode node)
This method gets all the renditions of the specified node.
|
ScriptNode[] |
ScriptRenditionService.getRenditions(ScriptNode node,
String mimeTypePrefix)
This method gets all the renditions of the specified node filtered by
MIME-type prefix.
|
ScriptNode |
ScriptRenditionService.render(ScriptNode sourceNode,
ScriptRenditionDefinition scriptRenditionDef) |
ScriptNode |
ScriptRenditionService.render(ScriptNode sourceNode,
String renditionDefQName)
This method renders the specified source node using the specified saved
rendition definition.
|
Modifier and Type | Method and Description |
---|---|
ScriptNode[] |
ScriptReplicationDefinition.getPayload() |
Modifier and Type | Method and Description |
---|---|
protected void |
ScriptReplicationDefinition.executeImpl(ScriptNode node) |
void |
ScriptReplicationDefinition.setPayload(ScriptNode[] payloadNodes) |
Modifier and Type | Method and Description |
---|---|
ScriptNode |
ScriptGroup.getGroupNode()
Return a ScriptNode wrapping the group
|
ScriptNode |
ScriptUser.getPerson()
Return a ScriptNode wrapping the person
|
Modifier and Type | Method and Description |
---|---|
ScriptNode |
Site.aquireContainer(String componentId)
Gets and if missing, creates a new site container.
|
ScriptNode |
Site.aquireContainer(String componentId,
String folderType)
Gets and if missing, creates a new site container.
|
ScriptNode |
Site.aquireContainer(String componentId,
String folderType,
Object properties)
Gets and if missing, creates a new site container.
|
ScriptNode |
Site.createAndSaveContainer(String containerId,
String containerType,
String description)
This method creates a container of the specified id and type, sets the cm:description
on that container node to the specified value and saves the container node updates to the repository.
|
ScriptNode |
Site.createContainer(String componentId)
Creates a new site container
|
ScriptNode |
Site.createContainer(String componentId,
String folderType)
Creates a new site container
|
ScriptNode |
Site.createContainer(String componentId,
String folderType,
Object permissions)
Creates a new site container
|
ScriptNode |
Site.getContainer(String componentId)
Gets (or creates) the "container" folder for the specified component id
|
ScriptNode |
Site.getNode()
Get the site node, null if none
|
Modifier and Type | Method and Description |
---|---|
void |
ScriptSiteService.cleanSitePermissions(ScriptNode targetNode)
This method cleans up the permissions on the specified node and all its primary children.
|
void |
Site.resetAllPermissions(ScriptNode node)
Reset any permissions that have been set on the node.
|
void |
Site.setPermissions(ScriptNode node,
Object permissions)
Apply a set of permissions to the node.
|
Modifier and Type | Method and Description |
---|---|
ScriptNode |
ScriptTaggingService.createTag(String store,
String tag)
Create a tag in a given store
|
ScriptNode |
ScriptTaggingService.getTag(String store,
String tag)
Get a tag by name if available in a store
|
Modifier and Type | Class and Description |
---|---|
class |
ScriptThumbnail |
Modifier and Type | Method and Description |
---|---|
ScriptNode |
ScriptTransferService.remove(String targetName,
Object nodesToRemove)
Remove a set of nodes, with no callback
|
ScriptNode |
ScriptTransferService.transfer(String targetName,
Object nodesToTransfer)
Transfer a set of nodes, with no callback
|
ScriptNode |
ScriptTransferService.transferReadOnly(String targetName,
Object nodesToTransfer)
Transfer a set of nodes, with no callback.
|
Modifier and Type | Method and Description |
---|---|
ScriptNode |
AlfrescoScriptVirtualContext.getActualNode() |
Modifier and Type | Method and Description |
---|---|
ScriptNode |
ScriptCommentService.createCommentsFolder(ScriptNode node) |
Modifier and Type | Method and Description |
---|---|
ScriptNode |
ScriptCommentService.createCommentsFolder(ScriptNode node) |
Modifier and Type | Class and Description |
---|---|
class |
ActivitiScriptNode
Scriptable Node suitable for Activti Beanshell access
|
Modifier and Type | Method and Description |
---|---|
ScriptNode |
WorkflowManager.createPackage()
Create a workflow package (a container of content to route through a workflow)
|
Modifier and Type | Method and Description |
---|---|
JscriptWorkflowPath |
JscriptWorkflowDefinition.startWorkflow(ScriptNode workflowPackage,
Object properties)
Start workflow instance from workflow definition
|
Copyright © 2005–2017 Alfresco Software. All rights reserved.