Interface RMNodes

  • All Superinterfaces:
    org.alfresco.rest.api.Nodes

    @Deprecated
    public interface RMNodes
    extends org.alfresco.rest.api.Nodes
    Deprecated.
    RM Nodes API
    Since:
    2.6
    Author:
    Ana Bozianu
    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      org.alfresco.service.namespace.QName getFilePlanType()
      Deprecated.
      Helper method to obtain file plan type or null if the rm site does not exist.
      org.alfresco.service.cmr.repository.NodeRef getOrCreatePath​(String parentFolderNodeId, String relativePath, org.alfresco.service.namespace.QName nodeTypeQName)
      Deprecated.
      Gets or creates the relative path starting from the provided parent folder.
      void validateNodeType​(String filePlanComponentId, org.alfresco.rest.api.model.Node filePlanComponentInfo, org.alfresco.rest.framework.resource.parameters.Parameters parameters, org.alfresco.service.namespace.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, org.alfresco.rest.framework.resource.parameters.Parameters parameters, org.alfresco.service.namespace.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, org.alfresco.service.namespace.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, unlock, updateContent, updateCustomAspects, updateNode, upload, validateAspects, validateNode, validateNode, validateNode, validateOrLookupNode, validateProperties
    • Method Detail

      • getOrCreatePath

        org.alfresco.service.cmr.repository.NodeRef getOrCreatePath​(String parentFolderNodeId,
                                                                    String relativePath,
                                                                    org.alfresco.service.namespace.QName nodeTypeQName)
        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 from
        relativePath - the relative path
        nodeTypeQName - the type of the node to be created
        Returns:
        reference to the last element of the created path
      • validateNodeType

        void validateNodeType​(String filePlanComponentId,
                              org.alfresco.rest.framework.resource.parameters.Parameters parameters,
                              org.alfresco.service.namespace.QName requestedTypeQName)
        Deprecated.
        Validates if the component with provided id and provided parameters belongs to the current endpoint.
        Parameters:
        filePlanComponentId - - file plan component id to check
        parameters - - provided parameters
        requestedTypeQName - - the requested type that identifies the endpoint we are in
      • validateNodeType

        void validateNodeType​(String filePlanComponentId,
                              org.springframework.extensions.webscripts.servlet.FormData formData,
                              org.alfresco.service.namespace.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 check
        formData - - provided formData
        requestedTypeQName - - the requested type that identifies the endpoint we are in
      • validateNodeType

        void validateNodeType​(String filePlanComponentId,
                              org.alfresco.rest.api.model.Node filePlanComponentInfo,
                              org.alfresco.rest.framework.resource.parameters.Parameters parameters,
                              org.alfresco.service.namespace.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 check
        filePlanComponentInfo - - new created file plan component info
        parameters - - provided parameters
        requestedTypeQName - - the requested type that identifies the endpoint we are in
      • validateRecord

        void validateRecord​(String filePlanComponentId)
        Deprecated.
        Validates if the filePlanComponent with provided id is a record.
        Parameters:
        filePlanComponentId -
      • getFilePlanType

        org.alfresco.service.namespace.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