本文整理汇总了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;
}
示例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());
}
示例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);
}
示例4: getWorkflowAuthorityManager
import org.alfresco.repo.workflow.WorkflowAuthorityManager; //导入依赖的package包/类
/**
* @return the workflowAuthorityManager
*/
public WorkflowAuthorityManager getWorkflowAuthorityManager()
{
return workflowAuthorityManager;
}
示例5: setWorkflowAuthorityManager
import org.alfresco.repo.workflow.WorkflowAuthorityManager; //导入依赖的package包/类
/**
* @param authorityManager the authorityManager to set
*/
public void setWorkflowAuthorityManager(WorkflowAuthorityManager authorityManager)
{
this.authorityManager = authorityManager;
}
示例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;
}