Package org.alfresco.rm.rest.api
Interface RMNodes
- All Superinterfaces:
Nodes
Deprecated.
RM Nodes API
- Since:
- 2.6
- Author:
- Ana Bozianu
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Deprecated.static final String
Deprecated.static final String
Deprecated.static final String
Deprecated.static final String
Deprecated.static final String
Deprecated.static final String
Deprecated.static final String
Deprecated.static final String
Deprecated.static final String
Deprecated.Fields inherited from interface org.alfresco.rest.api.Nodes
OP_CREATE, OP_DELETE, OP_UPDATE, OP_UPDATE_PERMISSIONS, PARAM_ASSOC_TYPE, PARAM_AUTO_RENAME, PARAM_CREATEBYUSER, PARAM_CREATEDAT, PARAM_INCLUDE_ALLOWABLEOPERATIONS, PARAM_INCLUDE_ASPECTNAMES, PARAM_INCLUDE_ASSOCIATION, PARAM_INCLUDE_DEFINITION, PARAM_INCLUDE_ISFAVORITE, PARAM_INCLUDE_ISLINK, PARAM_INCLUDE_ISLOCKED, PARAM_INCLUDE_PATH, PARAM_INCLUDE_PERMISSIONS, PARAM_INCLUDE_PROPERTIES, PARAM_INCLUDE_SUBTYPES, PARAM_ISFILE, PARAM_ISFOLDER, PARAM_ISPRIMARY, PARAM_MIMETYPE, PARAM_MODIFIEDAT, PARAM_MODIFIEDBYUSER, PARAM_NAME, PARAM_NODETYPE, PARAM_OVERWRITE, PARAM_PERMANENT, PARAM_RELATIVE_PATH, PARAM_SIZEINBYTES, PARAM_VERSION_COMMENT, PARAM_VERSION_MAJOR, PATH_MY, PATH_ROOT, PATH_SHARED
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Helper method to obtain file plan type or null if the rm site does not exist.getOrCreatePath
(String parentFolderNodeId, String relativePath, QName nodeTypeQName) Deprecated.Gets or creates the relative path starting from the provided parent folder.void
validateNodeType
(String filePlanComponentId, Node filePlanComponentInfo, Parameters parameters, QName requestedTypeQName) Deprecated.Validates if the component with provided id, relativePath from new created filePlanComponent and provided parameters belongs to the current endpoint.void
validateNodeType
(String filePlanComponentId, Parameters parameters, QName requestedTypeQName) Deprecated.Validates if the component with provided id and provided parameters belongs to the current endpoint.void
validateNodeType
(String filePlanComponentId, org.springframework.extensions.webscripts.servlet.FormData formData, QName requestedTypeQName) Deprecated.Validates if the component with provided id and provided parameters from formData belongs to the current endpoint.void
validateRecord
(String filePlanComponentId) Deprecated.Validates if the filePlanComponent with provided id is a record.Methods inherited from interface org.alfresco.rest.api.Nodes
addChildren, addCustomAspects, addTargets, createNode, createQName, deleteNode, getAssocType, getAssocType, getContent, getContent, getDocument, getFolder, getFolderOrDocument, getFolderOrDocument, getFolderOrDocumentFullInfo, getNode, isSubClass, listChildren, lock, lookupPathInfo, mapFromNodeAspects, mapFromNodeProperties, mapToNodeAspects, mapToNodeProperties, moveOrCopyNode, nodeMatches, requestContentDirectUrl, requestContentDirectUrl, requestContentDirectUrl, requestContentDirectUrl, unlock, updateContent, updateCustomAspects, updateNode, upload, validateAspects, validateNode, validateNode, validateNode, validateOrLookupNode, validateProperties
-
Field Details
-
PATH_FILE_PLAN
Deprecated.- See Also:
-
PATH_TRANSFERS
Deprecated.- See Also:
-
PATH_UNFILED
Deprecated.- See Also:
-
PATH_HOLDS
Deprecated.- See Also:
-
PARAM_INCLUDE_HAS_RETENTION_SCHEDULE
Deprecated.- See Also:
-
PARAM_INCLUDE_IS_CLOSED
Deprecated.- See Also:
-
PARAM_INCLUDE_IS_COMPLETED
Deprecated.- See Also:
-
PARAM_INCLUDE_TRANSFER_PDF_INDICATOR
Deprecated.- See Also:
-
PARAM_INCLUDE_TRANSFER_LOCATION
Deprecated.- See Also:
-
PARAM_INCLUDE_TRANSFER_ACCESSION_INDICATOR
Deprecated.- See Also:
-
-
Method Details
-
getOrCreatePath
Deprecated.Gets or creates the relative path starting from the provided parent folder. The method decides the type of the created elements considering the parent container's type and the type of the node to be created.- Parameters:
parentFolderNodeId
- the parent folder to start fromrelativePath
- the relative pathnodeTypeQName
- the type of the node to be created- Returns:
- reference to the last element of the created path
-
validateNodeType
Deprecated.Validates if the component with provided id and provided parameters belongs to the current endpoint.- Parameters:
filePlanComponentId
- - file plan component id to checkparameters
- - provided parametersrequestedTypeQName
- - the requested type that identifies the endpoint we are in
-
validateNodeType
void validateNodeType(String filePlanComponentId, org.springframework.extensions.webscripts.servlet.FormData formData, QName requestedTypeQName) Deprecated.Validates if the component with provided id and provided parameters from formData belongs to the current endpoint.- Parameters:
filePlanComponentId
- - file plan component id to checkformData
- - provided formDatarequestedTypeQName
- - the requested type that identifies the endpoint we are in
-
validateNodeType
void validateNodeType(String filePlanComponentId, Node filePlanComponentInfo, Parameters parameters, QName requestedTypeQName) Deprecated.Validates if the component with provided id, relativePath from new created filePlanComponent and provided parameters belongs to the current endpoint.- Parameters:
filePlanComponentId
- - file plan component id to checkfilePlanComponentInfo
- - new created file plan component infoparameters
- - provided parametersrequestedTypeQName
- - the requested type that identifies the endpoint we are in
-
validateRecord
Deprecated.Validates if the filePlanComponent with provided id is a record.- Parameters:
filePlanComponentId
-
-
getFilePlanType
QName getFilePlanType()Deprecated.Helper method to obtain file plan type or null if the rm site does not exist.- Returns:
- file plan type or null
-