Class RecordCategoryChildrenRelation

  • All Implemented Interfaces:
    org.alfresco.rest.framework.resource.actions.interfaces.MultiPartRelationshipResourceAction.Create<RecordCategoryChild>, org.alfresco.rest.framework.resource.actions.interfaces.RelationshipResourceAction.Create<RecordCategoryChild>, org.alfresco.rest.framework.resource.actions.interfaces.RelationshipResourceAction.Read<RecordCategoryChild>, org.alfresco.rest.framework.resource.actions.interfaces.ResourceAction

    @RelationshipResource(name="children",
                          entityResource=RecordCategoriesEntityResource.class,
                          title="Children of a record category")
    public class RecordCategoryChildrenRelation
    extends Object
    implements org.alfresco.rest.framework.resource.actions.interfaces.RelationshipResourceAction.Read<RecordCategoryChild>, org.alfresco.rest.framework.resource.actions.interfaces.RelationshipResourceAction.Create<RecordCategoryChild>, org.alfresco.rest.framework.resource.actions.interfaces.MultiPartRelationshipResourceAction.Create<RecordCategoryChild>
    Record category children relation
    Since:
    2.6
    Author:
    Ana Bozianu, Tuna Aksoy
    • Constructor Detail

      • RecordCategoryChildrenRelation

        public RecordCategoryChildrenRelation()
    • Method Detail

      • setSearchTypesFactory

        public void setSearchTypesFactory​(SearchTypesFactory searchTypesFactory)
      • setFileFolderService

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

        public void setNodesModelFactory​(ApiNodesModelFactory nodesModelFactory)
      • setTransactionService

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

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

        public RecordCategoryChild 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<RecordCategoryChild>