Package | Description |
---|---|
org.alfresco.rest.api | |
org.alfresco.rest.api.impl | |
org.alfresco.rest.api.model | |
org.alfresco.rest.api.nodes | |
org.alfresco.rest.api.search.impl | |
org.alfresco.rest.api.trashcan |
Modifier and Type | Method and Description |
---|---|
Node |
Nodes.createNode(String parentFolderNodeId,
Node nodeInfo,
Parameters parameters)
Create node - folder or (empty) file.
|
Node |
DeletedNodes.getDeletedNode(String originalId,
Parameters parameters,
boolean fullnode,
Map<String,UserInfo> mapUserInfo)
Gets a single deleted node by id.
|
Node |
Nodes.getFolderOrDocument(org.alfresco.service.cmr.repository.NodeRef nodeRef,
org.alfresco.service.cmr.repository.NodeRef parentNodeRef,
org.alfresco.service.namespace.QName nodeTypeQName,
List<String> includeParam,
Map<String,UserInfo> mapUserInfo)
Get the folder or document representation (as appropriate) for the given node.
|
Node |
Nodes.getFolderOrDocument(String nodeId,
Parameters parameters)
Get the folder or document representation (as appropriate) for the given node.
|
Node |
Nodes.getFolderOrDocumentFullInfo(org.alfresco.service.cmr.repository.NodeRef nodeRef,
org.alfresco.service.cmr.repository.NodeRef parentNodeRef,
org.alfresco.service.namespace.QName nodeTypeQName,
Parameters parameters,
Map<String,UserInfo> mapUserInfo) |
Node |
Nodes.getNode(String nodeId)
Get the node representation for the given node.
|
Node |
Nodes.lock(String nodeId,
LockInfo lockInfo,
Parameters parameters)
Lock a node
|
Node |
Nodes.moveOrCopyNode(String sourceNodeId,
String parentFolderNodeId,
String name,
Parameters parameters,
boolean isCopy)
Move or Copy node
|
Node |
DeletedNodes.restoreArchivedNode(String archivedId)
Restores a deleted node and returns it.
|
Node |
Nodes.unlock(String nodeId,
Parameters parameters)
Unlock a node
|
Node |
Nodes.updateContent(String fileNodeId,
BasicContentInfo contentInfo,
InputStream stream,
Parameters parameters)
Uploads file content (updates existing node with new content).
|
Node |
Nodes.updateNode(String nodeId,
Node entity,
Parameters parameters)
Update node meta-data.
|
Node |
Nodes.upload(String parentFolderNodeId,
org.springframework.extensions.webscripts.servlet.FormData formData,
Parameters parameters)
Uploads file content and meta-data into the repository.
|
Modifier and Type | Method and Description |
---|---|
CollectionWithPagingInfo<Node> |
Queries.findNodes(Parameters parameters)
Find Nodes
|
CollectionWithPagingInfo<Node> |
Nodes.listChildren(String parentFolderNodeId,
Parameters parameters)
Get list of children of a parent folder.
|
CollectionWithPagingInfo<Node> |
DeletedNodes.listDeleted(Parameters parameters)
Lists deleted nodes using a ArchivedNodesCannedQuery
|
Modifier and Type | Method and Description |
---|---|
Node |
Nodes.createNode(String parentFolderNodeId,
Node nodeInfo,
Parameters parameters)
Create node - folder or (empty) file.
|
Node |
Nodes.updateNode(String nodeId,
Node entity,
Parameters parameters)
Update node meta-data.
|
Modifier and Type | Method and Description |
---|---|
Node |
NodesImpl.createNode(String parentFolderNodeId,
Node nodeInfo,
Parameters parameters) |
Node |
DeletedNodesImpl.getDeletedNode(String originalId,
Parameters parameters,
boolean fullnode,
Map<String,UserInfo> mapUserInfo) |
Node |
NodesImpl.getFolderOrDocument(org.alfresco.service.cmr.repository.NodeRef nodeRef,
org.alfresco.service.cmr.repository.NodeRef parentNodeRef,
org.alfresco.service.namespace.QName nodeTypeQName,
List<String> includeParam,
Map<String,UserInfo> mapUserInfo) |
Node |
NodesImpl.getFolderOrDocument(String nodeId,
Parameters parameters) |
Node |
NodesImpl.getFolderOrDocumentFullInfo(org.alfresco.service.cmr.repository.NodeRef nodeRef,
org.alfresco.service.cmr.repository.NodeRef parentNodeRef,
org.alfresco.service.namespace.QName nodeTypeQName,
Parameters parameters,
Map<String,UserInfo> mapUserInfo) |
Node |
NodesImpl.getNode(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Deprecated.
review usage (backward compat')
|
Node |
NodesImpl.getNode(String nodeId)
Deprecated.
review usage (backward compat')
|
Node |
NodesImpl.lock(String nodeId,
LockInfo lockInfo,
Parameters parameters) |
Node |
NodesImpl.moveOrCopyNode(String sourceNodeId,
String targetParentId,
String name,
Parameters parameters,
boolean isCopy) |
Node |
DeletedNodesImpl.restoreArchivedNode(String archivedId) |
Node |
NodesImpl.unlock(String nodeId,
Parameters parameters) |
Node |
NodesImpl.updateContent(String fileNodeId,
BasicContentInfo contentInfo,
InputStream stream,
Parameters parameters) |
Node |
NodesImpl.updateNode(String nodeId,
Node nodeInfo,
Parameters parameters) |
Node |
NodesImpl.upload(String parentFolderNodeId,
org.springframework.extensions.webscripts.servlet.FormData formData,
Parameters parameters) |
Modifier and Type | Method and Description |
---|---|
CollectionWithPagingInfo<Node> |
QueriesImpl.findNodes(Parameters parameters) |
CollectionWithPagingInfo<Node> |
NodesImpl.listChildren(String parentFolderNodeId,
Parameters parameters) |
CollectionWithPagingInfo<Node> |
DeletedNodesImpl.listDeleted(Parameters parameters) |
Modifier and Type | Method and Description |
---|---|
Node |
NodesImpl.createNode(String parentFolderNodeId,
Node nodeInfo,
Parameters parameters) |
Node |
NodesImpl.updateNode(String nodeId,
Node nodeInfo,
Parameters parameters) |
protected org.alfresco.service.cmr.repository.NodeRef |
NodesImpl.updateNodeImpl(String nodeId,
Node nodeInfo,
Parameters parameters) |
Modifier and Type | Class and Description |
---|---|
class |
Document
Representation of a document node.
|
class |
Folder
Representation of a folder node.
|
Modifier and Type | Method and Description |
---|---|
int |
Node.compareTo(Node node) |
Modifier and Type | Method and Description |
---|---|
Node |
NodesEntityResource.copyById(String nodeId,
NodeTarget target,
Parameters parameters,
WithResponse withResponse) |
Node |
NodeChildrenRelation.create(String parentFolderNodeId,
org.springframework.extensions.webscripts.servlet.FormData formData,
Parameters parameters,
WithResponse withResponse) |
Node |
NodesEntityResource.lock(String nodeId,
LockInfo lockInfo,
Parameters parameters,
WithResponse withResponse) |
Node |
NodesEntityResource.moveById(String nodeId,
NodeTarget target,
Parameters parameters,
WithResponse withResponse) |
Node |
NodesEntityResource.readById(String nodeId,
Parameters parameters)
Returns information regarding the node 'nodeId' - folder or document
|
Node |
NodeVersionsRelation.readById(String nodeId,
String versionId,
Parameters parameters) |
Node |
NodeVersionsRelation.revertById(String nodeId,
String versionId,
VersionOptions versionOptions,
Parameters parameters,
WithResponse withResponse) |
Node |
NodesEntityResource.unlock(String nodeId,
Void ignore,
Parameters parameters,
WithResponse withResponse) |
Node |
NodesEntityResource.update(String nodeId,
Node nodeInfo,
Parameters parameters)
Update info on the node 'nodeId' - folder or document
Can update name (which is a "rename" and hence must be unique within the current parent folder)
or update other properties.
|
Node |
NodesEntityResource.updateProperty(String fileNodeId,
BasicContentInfo contentInfo,
InputStream stream,
Parameters parameters)
Upload new version of content
This allow binary content update of an existing file/content node.
|
Modifier and Type | Method and Description |
---|---|
List<Node> |
NodeChildrenRelation.create(String parentFolderNodeId,
List<Node> nodeInfos,
Parameters parameters)
Create one or more nodes (folder or empty file) below parent folder.
|
protected CollectionWithPagingInfo<Node> |
AbstractNodeRelation.listNodeChildAssocs(List<org.alfresco.service.cmr.repository.ChildAssociationRef> childAssocRefs,
Parameters parameters,
Boolean isPrimary,
boolean returnChild) |
protected CollectionWithPagingInfo<Node> |
AbstractNodeRelation.listNodePeerAssocs(List<org.alfresco.service.cmr.repository.AssociationRef> assocRefs,
Parameters parameters,
boolean returnTarget) |
CollectionWithPagingInfo<Node> |
NodeVersionsRelation.readAll(String nodeId,
Parameters parameters)
List version history
|
CollectionWithPagingInfo<Node> |
NodeSecondaryChildrenRelation.readAll(String parentNodeId,
Parameters parameters)
List secondary children only
|
CollectionWithPagingInfo<Node> |
NodeSourcesRelation.readAll(String targetNodeId,
Parameters parameters)
List sources
|
CollectionWithPagingInfo<Node> |
NodeChildrenRelation.readAll(String parentFolderNodeId,
Parameters parameters)
List folder children - returns a filtered/sorted/paged list of nodes that are immediate children of the parent folder
|
CollectionWithPagingInfo<Node> |
NodeParentsRelation.readAll(String childNodeId,
Parameters parameters)
List child node's parent(s) based on (parent ->) child associations.
|
CollectionWithPagingInfo<Node> |
NodeTargetsRelation.readAll(String sourceNodeId,
Parameters parameters)
List targets
|
Modifier and Type | Method and Description |
---|---|
void |
NodeVersionsRelation.mapVersionInfo(Version v,
Node aNode,
org.alfresco.service.cmr.repository.NodeRef nodeRef) |
Node |
NodesEntityResource.update(String nodeId,
Node nodeInfo,
Parameters parameters)
Update info on the node 'nodeId' - folder or document
Can update name (which is a "rename" and hence must be unique within the current parent folder)
or update other properties.
|
Modifier and Type | Method and Description |
---|---|
List<Node> |
NodeChildrenRelation.create(String parentFolderNodeId,
List<Node> nodeInfos,
Parameters parameters)
Create one or more nodes (folder or empty file) below parent folder.
|
Modifier and Type | Method and Description |
---|---|
Node |
ResultMapper.getNode(org.alfresco.service.cmr.search.ResultSetRow aRow,
Params params,
Map<String,UserInfo> mapUserInfo,
boolean isHistory)
Builds a node representation based on a ResultSetRow;
|
Modifier and Type | Method and Description |
---|---|
CollectionWithPagingInfo<Node> |
ResultMapper.toCollectionWithPagingInfo(Params params,
SearchRequestContext searchRequestContext,
SearchQuery searchQuery,
org.alfresco.service.cmr.search.ResultSet results)
Turns the results into a CollectionWithPagingInfo
|
Modifier and Type | Method and Description |
---|---|
Node |
TrashcanEntityResource.readById(String nodeId,
Parameters parameters) |
Node |
TrashcanEntityResource.restoreDeletedNode(String nodeId,
Void ignored,
Parameters parameters,
WithResponse withResponse) |
Modifier and Type | Method and Description |
---|---|
CollectionWithPagingInfo<Node> |
TrashcanEntityResource.readAll(Parameters params) |
Copyright © 2005–2017 Alfresco Software. All rights reserved.