Class RecordCategoriesEntityResource

  • All Implemented Interfaces:
    org.alfresco.rest.framework.resource.actions.interfaces.EntityResourceAction.Delete, org.alfresco.rest.framework.resource.actions.interfaces.EntityResourceAction.ReadById<RecordCategory>, org.alfresco.rest.framework.resource.actions.interfaces.EntityResourceAction.Update<RecordCategory>, org.alfresco.rest.framework.resource.actions.interfaces.ResourceAction, org.springframework.beans.factory.InitializingBean

    @EntityResource(name="record-categories",
                    title="Record Categories")
    public class RecordCategoriesEntityResource
    extends Object
    implements org.alfresco.rest.framework.resource.actions.interfaces.EntityResourceAction.ReadById<RecordCategory>, org.alfresco.rest.framework.resource.actions.interfaces.EntityResourceAction.Delete, org.alfresco.rest.framework.resource.actions.interfaces.EntityResourceAction.Update<RecordCategory>, org.springframework.beans.factory.InitializingBean
    Record category entity resource
    Since:
    2.6
    Author:
    Ana Bozianu, Tuna Aksoy
    • Constructor Detail

      • RecordCategoriesEntityResource

        public RecordCategoriesEntityResource()
    • Method Detail

      • 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)
      • afterPropertiesSet

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

        public RecordCategory readById​(String recordCategoryId,
                                       org.alfresco.rest.framework.resource.parameters.Parameters parameters)
        Specified by:
        readById in interface org.alfresco.rest.framework.resource.actions.interfaces.EntityResourceAction.ReadById<RecordCategory>
      • update

        public RecordCategory update​(String recordCategoryId,
                                     RecordCategory recordCategoryInfo,
                                     org.alfresco.rest.framework.resource.parameters.Parameters parameters)
        Specified by:
        update in interface org.alfresco.rest.framework.resource.actions.interfaces.EntityResourceAction.Update<RecordCategory>
      • delete

        public void delete​(String recordCategoryId,
                           org.alfresco.rest.framework.resource.parameters.Parameters parameters)
        Specified by:
        delete in interface org.alfresco.rest.framework.resource.actions.interfaces.EntityResourceAction.Delete