Class FilePlanChildrenRelation

  • All Implemented Interfaces:
    org.alfresco.rest.framework.resource.actions.interfaces.MultiPartRelationshipResourceAction.Create<RecordCategory>, org.alfresco.rest.framework.resource.actions.interfaces.RelationshipResourceAction.Create<RecordCategory>, org.alfresco.rest.framework.resource.actions.interfaces.RelationshipResourceAction.Read<RecordCategory>, org.alfresco.rest.framework.resource.actions.interfaces.ResourceAction, org.springframework.beans.factory.InitializingBean

    @RelationshipResource(name="categories",
                          entityResource=FilePlanEntityResource.class,
                          title="Category children of file plan")
    public class FilePlanChildrenRelation
    extends Object
    implements org.alfresco.rest.framework.resource.actions.interfaces.RelationshipResourceAction.Read<RecordCategory>, org.alfresco.rest.framework.resource.actions.interfaces.RelationshipResourceAction.Create<RecordCategory>, org.alfresco.rest.framework.resource.actions.interfaces.MultiPartRelationshipResourceAction.Create<RecordCategory>, org.springframework.beans.factory.InitializingBean
    File plan children relation
    Since:
    2.6
    Author:
    Ramona Popa
    • Constructor Detail

      • FilePlanChildrenRelation

        public FilePlanChildrenRelation()
    • Method Detail

      • setFileFolderService

        public void setFileFolderService​(org.alfresco.service.cmr.model.FileFolderService fileFolderService)
      • setNodesModelFactory

        public void setNodesModelFactory​(ApiNodesModelFactory nodesModelFactory)
      • setSearchTypesFactory

        public void setSearchTypesFactory​(SearchTypesFactory searchTypesFactory)
      • setTransactionService

        public void setTransactionService​(org.alfresco.service.transaction.TransactionService transactionService)
      • afterPropertiesSet

        public void afterPropertiesSet()
                                throws Exception
        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
        Throws:
        Exception
      • readAll

        public org.alfresco.rest.framework.resource.parameters.CollectionWithPagingInfo<RecordCategory> readAll​(String filePlanId,
                                                                                                                org.alfresco.rest.framework.resource.parameters.Parameters parameters)
        Specified by:
        readAll in interface org.alfresco.rest.framework.resource.actions.interfaces.RelationshipResourceAction.Read<RecordCategory>
      • create

        public List<RecordCategory> create​(String filePlanId,
                                           List<RecordCategory> nodeInfos,
                                           org.alfresco.rest.framework.resource.parameters.Parameters parameters)
        Specified by:
        create in interface org.alfresco.rest.framework.resource.actions.interfaces.RelationshipResourceAction.Create<RecordCategory>
      • create

        public RecordCategory create​(String entityResourceId,
                                     org.springframework.extensions.webscripts.servlet.FormData formData,
                                     org.alfresco.rest.framework.resource.parameters.Parameters parameters,
                                     org.alfresco.rest.framework.webscripts.WithResponse withResponse)
        Specified by:
        create in interface org.alfresco.rest.framework.resource.actions.interfaces.MultiPartRelationshipResourceAction.Create<RecordCategory>
        See Also:
        MultiPartRelationshipResourceAction.Create.create(java.lang.String, org.springframework.extensions.webscripts.servlet.FormData, org.alfresco.rest.framework.resource.parameters.Parameters, org.alfresco.rest.framework.webscripts.WithResponse)