//private readonly AlfrescoPagedResourcesAssembler<ProcessDefinition> pagedResourcesAssembler;

        //public virtual string handleAppException(ActivitiObjectNotFoundException ex)
        //{
        //    return ex.Message;
        //}


        //public virtual string handleDiagramInterchangeInfoNotFoundException(ActivitiInterchangeInfoNotFoundException ex)
        //{
        //    return ex.Message;
        //}


        /// <inheritdoc />
        public ProcessDefinitionControllerImpl(IProcessEngine processEngine,
                                               ProcessDefinitionConverter processDefinitionConverter,
                                               ProcessDefinitionResourceAssembler resourceAssembler,
                                               PageableProcessDefinitionRepositoryService pageableRepositoryService,
                                               SecurityPoliciesApplicationService securityPoliciesApplicationService)
        {
            this.repositoryService          = processEngine.RepositoryService;
            this.processDefinitionConverter = processDefinitionConverter;
            this.resourceAssembler          = resourceAssembler;
            this.pageableRepositoryService  = pageableRepositoryService;
            this.securityService            = securityPoliciesApplicationService;
        }
        //public virtual string handleAppException(ActivitiObjectNotFoundException ex)
        //{
        //    return ex.Message;
        //}

        /// <inheritdoc />

        public ProcessDefinitionAdminControllerImpl(ProcessDefinitionResourceAssembler resourceAssembler, PageableProcessDefinitionRepositoryService pageableRepositoryService)
        {
            this.resourceAssembler         = resourceAssembler;
            this.pageableRepositoryService = pageableRepositoryService;
        }
Ejemplo n.º 3
0
        //public virtual string handleAppException(ActivitiObjectNotFoundException ex)
        //{
        //    return ex.Message;
        //}

        /// <inheritdoc />

        public ProcessDefinitionAdminControllerImpl(ProcessDefinitionResourceAssembler resourceAssembler, PageableProcessDefinitionRepositoryService pageableRepositoryService, ExpressionTypeRegistry expressionTypeRegistry)
        {
            this.resourceAssembler         = resourceAssembler;
            this.pageableRepositoryService = pageableRepositoryService;
            this.expressionTypeRegistry    = expressionTypeRegistry;
        }