当前位置: 首页>>代码示例>>Java>>正文


Java WorkflowAuthorityManager类代码示例

本文整理汇总了Java中org.alfresco.repo.workflow.WorkflowAuthorityManager的典型用法代码示例。如果您正苦于以下问题:Java WorkflowAuthorityManager类的具体用法?Java WorkflowAuthorityManager怎么用?Java WorkflowAuthorityManager使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


WorkflowAuthorityManager类属于org.alfresco.repo.workflow包,在下文中一共展示了WorkflowAuthorityManager类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: ActivitiWorkflowManager

import org.alfresco.repo.workflow.WorkflowAuthorityManager; //导入依赖的package包/类
public ActivitiWorkflowManager(ActivitiWorkflowEngine workflowEngine,
        ActivitiPropertyConverter propertyConverter,
        WorkflowPropertyHandlerRegistry handlerRegistry, 
        WorkflowNodeConverter nodeConverter,
        WorkflowAuthorityManager workflowAuthorityManager)
{
    this.workflowEngine = workflowEngine;
    this.propertyConverter = propertyConverter;
    this.handlerRegistry = handlerRegistry;
    this.nodeConverter = nodeConverter;
    this.workflowAuthorityManager = workflowAuthorityManager;
}
 
开发者ID:Alfresco,项目名称:alfresco-repository,代码行数:13,代码来源:ActivitiWorkflowManager.java

示例2: ActivitiPropertyConverter

import org.alfresco.repo.workflow.WorkflowAuthorityManager; //导入依赖的package包/类
public ActivitiPropertyConverter(ActivitiUtil activitiUtil,
        WorkflowObjectFactory factory,
        WorkflowPropertyHandlerRegistry handlerRegistry,
        WorkflowAuthorityManager authorityManager,
        MessageService messageService,
        WorkflowNodeConverter nodeConverter)
{
    this.activitiUtil = activitiUtil;
    this.factory = factory;
    this.handlerRegistry = handlerRegistry;
    this.authorityManager = authorityManager;
    this.messageService = messageService;
    this.nodeConverter = nodeConverter;
    this.typeManager = new ActivitiTaskTypeManager(factory, activitiUtil.getFormService());
}
 
开发者ID:Alfresco,项目名称:alfresco-repository,代码行数:16,代码来源:ActivitiPropertyConverter.java

示例3: getObject

import org.alfresco.repo.workflow.WorkflowAuthorityManager; //导入依赖的package包/类
/**
* {@inheritDoc}
*/
@Override
public ActivitiWorkflowManager getObject() throws Exception
{
    if (messageService == null)
    {
        throw new WorkflowException("MessageService not specified");
    }
    if (serviceRegistry == null)
    {
        throw new WorkflowException("ServiceRegistry not specified");
    }
    if (tenantService == null)
    {
        throw new WorkflowException("TenantService not specified");
    }
    ActivitiNodeConverter nodeConverter = new ActivitiNodeConverter(serviceRegistry);
    DefaultWorkflowPropertyHandler defaultPropertyHandler = new DefaultWorkflowPropertyHandler();
    defaultPropertyHandler.setMessageService(messageService);
    defaultPropertyHandler.setNodeConverter(nodeConverter);
    
    WorkflowQNameConverter qNameConverter = new WorkflowQNameConverter(namespaceService);
    WorkflowPropertyHandlerRegistry handlerRegistry = new WorkflowPropertyHandlerRegistry(defaultPropertyHandler, qNameConverter);
    
    WorkflowAuthorityManager authorityManager = new WorkflowAuthorityManager(authorityDAO);
    QName defaultStartTaskType = WorkflowModel.TYPE_ACTIVTI_START_TASK;
    WorkflowObjectFactory factory = new WorkflowObjectFactory(qNameConverter, tenantService, messageService, dictionaryService, engineId, defaultStartTaskType);
    ActivitiUtil activitiUtil = new ActivitiUtil(processEngine, deployWorkflowsInTenant);
    ActivitiPropertyConverter propertyConverter = new ActivitiPropertyConverter(activitiUtil, factory, handlerRegistry, authorityManager, messageService, nodeConverter);
    ActivitiTypeConverter typeConverter = new ActivitiTypeConverter(processEngine, factory, propertyConverter, deployWorkflowsInTenant);
    
    ActivitiWorkflowEngine workflowEngine = new ActivitiWorkflowEngine();
    workflowEngine.setActivitiUtil(activitiUtil);
    workflowEngine.setAuthorityManager(authorityManager);
    workflowEngine.setBPMEngineRegistry(bpmEngineRegistry);
    workflowEngine.setEngineId(engineId);
    workflowEngine.setFactory(factory);
    workflowEngine.setMessageService(messageService);
    workflowEngine.setNamespaceService(namespaceService);
    workflowEngine.setNodeConverter(nodeConverter);
    workflowEngine.setDictionaryService(dictionaryService);
    workflowEngine.setNodeService(nodeService);
    workflowEngine.setPersonService(personService);
    workflowEngine.setPropertyConverter(propertyConverter);
    workflowEngine.setTenantService(tenantService);
    workflowEngine.setTypeConverter(typeConverter);
    workflowEngine.setRepositoryHelper(repositoryHelper);
    return new ActivitiWorkflowManager(workflowEngine, propertyConverter, handlerRegistry, nodeConverter, authorityManager);
}
 
开发者ID:Alfresco,项目名称:alfresco-repository,代码行数:52,代码来源:ActivitiWorkflowManagerFactory.java

示例4: getWorkflowAuthorityManager

import org.alfresco.repo.workflow.WorkflowAuthorityManager; //导入依赖的package包/类
/**
 * @return the workflowAuthorityManager
 */
public WorkflowAuthorityManager getWorkflowAuthorityManager()
{
    return workflowAuthorityManager;
}
 
开发者ID:Alfresco,项目名称:alfresco-repository,代码行数:8,代码来源:ActivitiWorkflowManager.java

示例5: setWorkflowAuthorityManager

import org.alfresco.repo.workflow.WorkflowAuthorityManager; //导入依赖的package包/类
/**
 * @param authorityManager the authorityManager to set
 */
public void setWorkflowAuthorityManager(WorkflowAuthorityManager authorityManager)
{
    this.authorityManager = authorityManager;
}
 
开发者ID:Alfresco,项目名称:alfresco-repository,代码行数:8,代码来源:ActivitiPooledActorsPropertyHandler.java

示例6: setAuthorityManager

import org.alfresco.repo.workflow.WorkflowAuthorityManager; //导入依赖的package包/类
/**
 * Sets the Authority DAO
/**
 * @param authorityManager the authorityManager to set
 */
public void setAuthorityManager(WorkflowAuthorityManager authorityManager)
{
    this.authorityManager = authorityManager;
}
 
开发者ID:Alfresco,项目名称:alfresco-repository,代码行数:10,代码来源:ActivitiWorkflowEngine.java


注:本文中的org.alfresco.repo.workflow.WorkflowAuthorityManager类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。