• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

Java BehaviourFilter类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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

示例1: FileFolderLoader

import org.alfresco.repo.policy.BehaviourFilter; //导入依赖的package包/类
/**
 * @param repoState             keep track of repository readiness
 * @param transactionService    ensure proper rollback, where required
 * @param repositoryHelper      access standard repository paths
 * @param fileFolderService     perform actual file-folder manipulation
 */
public FileFolderLoader(
        RepositoryState repoState,
        TransactionService transactionService,
        Repository repositoryHelper,
        FileFolderService fileFolderService,
        NodeService nodeService,
        ContentService contentService,
        BehaviourFilter policyBehaviourFilter)
{
    this.repoState = repoState;
    this.transactionService = transactionService;
    this.repositoryHelper = repositoryHelper;
    this.fileFolderService = fileFolderService;
    this.nodeService = nodeService;
    this.contentService = contentService;
    this.policyBehaviourFilter = policyBehaviourFilter;
    
    this.normalDistribution = new NormalDistributionHelper();
}
 
开发者ID:Alfresco,项目名称:alfresco-repository,代码行数:26,代码来源:FileFolderLoader.java


示例2: TaskFormPersister

import org.alfresco.repo.policy.BehaviourFilter; //导入依赖的package包/类
public TaskFormPersister(ContentModelItemData<WorkflowTask> itemData,
            NamespaceService namespaceService,
            DictionaryService dictionaryService,
            WorkflowService workflowService,
            NodeService nodeService,
            AuthenticationService authenticationService,
            BehaviourFilter behaviourFilter, Log logger)
{
    super(itemData, namespaceService, dictionaryService, logger);
    WorkflowTask item = itemData.getItem();

    // make sure that the task is not already completed
    if (item.getState().equals(WorkflowTaskState.COMPLETED))
    {
        throw new AlfrescoRuntimeException("workflowtask.already.done.error");
    }

    // make sure the current user is able to edit the task
    if (!workflowService.isTaskEditable(item, authenticationService.getCurrentUserName()))
    {
        throw new AccessDeniedException("Failed to update task with id '" + item.getId() + "'.");
    }
    
    this.updater = new TaskUpdater(item.getId(), workflowService, nodeService, behaviourFilter);
}
 
开发者ID:Alfresco,项目名称:alfresco-repository,代码行数:26,代码来源:TaskFormPersister.java


示例3: makeFolders

import org.alfresco.repo.policy.BehaviourFilter; //导入依赖的package包/类
/**
 * Same as above, with option to disable parent behaviour(s) when creating sub-folder
 * 
 * @param service FileFolderService
 * @param parentNodeRef NodeRef
 * @param folderTypeQName QName
 * @param behaviourFilter BehaviourFilter
 * @return FileInfo
 */
public static FileInfo makeFolders(FileFolderService service, NodeRef parentNodeRef, List<String> pathElements,
            QName folderTypeQName, BehaviourFilter behaviourFilter, Set<QName> parentBehavioursToDisable)
{
    validate(pathElements, service, folderTypeQName);

    List<PathElementDetails> list = new ArrayList<>(pathElements.size());
    for (String pathElement : pathElements)
    {
        list.add(new PathElementDetails(pathElement, null));
    }

    FileInfo fileInfo = makeFolders(service, null, parentNodeRef, list, folderTypeQName, behaviourFilter, parentBehavioursToDisable);

    // Should we check the type?
    return fileInfo;
}
 
开发者ID:Alfresco,项目名称:alfresco-repository,代码行数:26,代码来源:FileFolderUtil.java


示例4: setUp

import org.alfresco.repo.policy.BehaviourFilter; //导入依赖的package包/类
@Override
protected void setUp() throws Exception
{
    super.setUp();
    
    repoAdminService = (RepoAdminService) ctx.getBean("RepoAdminService");
    dictionaryService = (DictionaryService) ctx.getBean("DictionaryService");
    transactionService = (TransactionService) ctx.getBean("TransactionService");
    nodeService = (NodeService) ctx.getBean("NodeService");
    contentService = (ContentService) ctx.getBean("ContentService");
    searchService = (SearchService) ctx.getBean("SearchService");
    namespaceService = (NamespaceService) ctx.getBean("NamespaceService");
    behaviourFilter = (BehaviourFilter)ctx.getBean("policyBehaviourFilter");
    dictionaryDAO = (DictionaryDAO) ctx.getBean("dictionaryDAO");
    
    DbNodeServiceImpl dbNodeService = (DbNodeServiceImpl)ctx.getBean("dbNodeService");
    dbNodeService.setEnableTimestampPropagation(false);
    
    AuthenticationUtil.setFullyAuthenticatedUser(AuthenticationUtil.getAdminUserName());
}
 
开发者ID:Alfresco,项目名称:alfresco-repository,代码行数:21,代码来源:RepoAdminServiceImplTest.java


示例5: initTestsContext

import org.alfresco.repo.policy.BehaviourFilter; //导入依赖的package包/类
@BeforeClass public static void initTestsContext() throws Exception
{
    ApplicationContext testContext = APP_CONTEXT_INIT.getApplicationContext();
    
    PRIVATE_REMOTE_CREDENTIALS_SERVICE = (RemoteCredentialsService)testContext.getBean("remoteCredentialsService");
    REMOTE_CREDENTIALS_SERVICE = (RemoteCredentialsService)testContext.getBean("RemoteCredentialsService");
    
    AUTHENTICATION_SERVICE = (MutableAuthenticationService)testContext.getBean("authenticationService");
    BEHAVIOUR_FILTER       = (BehaviourFilter)testContext.getBean("policyBehaviourFilter");
    DICTIONARY_SERVICE     = (DictionaryService)testContext.getBean("dictionaryService");
    NAMESPACE_SERVICE      = (NamespaceService)testContext.getBean("namespaceService");
    REPOSITORY_HELPER      = (Repository)testContext.getBean("repositoryHelper");
    NODE_SERVICE           = (NodeService)testContext.getBean("nodeService");
    PUBLIC_NODE_SERVICE    = (NodeService)testContext.getBean("NodeService");
    PERSON_SERVICE         = (PersonService)testContext.getBean("personService");
    TRANSACTION_HELPER     = (RetryingTransactionHelper)testContext.getBean("retryingTransactionHelper");
    TRANSACTION_SERVICE    = (TransactionService)testContext.getBean("TransactionService");
    PERMISSION_SERVICE     = (PermissionService)testContext.getBean("permissionService");

    // Switch to a test shared system container
    RemoteCredentialsServiceImpl.setSharedCredentialsSystemContainerName(SHARED_SYSTEM_CONTAINER_NAME);
}
 
开发者ID:Alfresco,项目名称:alfresco-repository,代码行数:23,代码来源:RemoteCredentialsServicesTest.java


示例6: initBasicServices

import org.alfresco.repo.policy.BehaviourFilter; //导入依赖的package包/类
@BeforeClass public static void initBasicServices() throws Exception
{
    behaviourFilter = (BehaviourFilter)APP_CONTEXT_INIT.getApplicationContext().getBean("policyBehaviourFilter");
    contentService = (ContentService)APP_CONTEXT_INIT.getApplicationContext().getBean("ContentService");
    nodeService = (NodeService)APP_CONTEXT_INIT.getApplicationContext().getBean("NodeService");
    repositoryHelper = (Repository)APP_CONTEXT_INIT.getApplicationContext().getBean("repositoryHelper");
    siteService = (SiteService)APP_CONTEXT_INIT.getApplicationContext().getBean("SiteService");
    transactionHelper = (RetryingTransactionHelper)APP_CONTEXT_INIT.getApplicationContext().getBean("retryingTransactionHelper");

    authenticationComponent = (AuthenticationComponent)APP_CONTEXT_INIT.getApplicationContext().getBean("authenticationComponent");
    commentService = (CommentService)APP_CONTEXT_INIT.getApplicationContext().getBean("commentService");
    authenticationService = (MutableAuthenticationService)APP_CONTEXT_INIT.getApplicationContext().getBean("AuthenticationService");
    personService = (PersonService)APP_CONTEXT_INIT.getApplicationContext().getBean("PersonService");
    postDAO = (ActivityPostDAO)APP_CONTEXT_INIT.getApplicationContext().getBean("postDAO");
    permissionServiceImpl = (PermissionServiceImpl)APP_CONTEXT_INIT.getApplicationContext().getBean("permissionServiceImpl");
    permissionModelDAO = (ModelDAO)APP_CONTEXT_INIT.getApplicationContext().getBean("permissionsModelDAO");
    lockService = (LockService)APP_CONTEXT_INIT.getApplicationContext().getBean("lockService");

    COMPANY_HOME = repositoryHelper.getCompanyHome();
}
 
开发者ID:Alfresco,项目名称:alfresco-repository,代码行数:21,代码来源:CommentsTest.java


示例7: setUp

import org.alfresco.repo.policy.BehaviourFilter; //导入依赖的package包/类
@Override
public void setUp() throws Exception
{
    ServiceRegistry serviceRegistry = (ServiceRegistry) ctx.getBean(ServiceRegistry.SERVICE_REGISTRY);
    // Set the services
    this.transactionService = serviceRegistry.getTransactionService();
    this.nodeService = serviceRegistry.getNodeService();
    this.contentService = serviceRegistry.getContentService();
    this.behaviourFilter = (BehaviourFilter) ctx.getBean("policyBehaviourFilter");
    
    AuthenticationUtil.setRunAsUserSystem();
    
    // Create the store and get the root node reference
    this.storeRef = this.nodeService.createStore(StoreRef.PROTOCOL_WORKSPACE, "Test_" + System.currentTimeMillis());
    this.rootNodeRef = this.nodeService.getRootNode(storeRef);
}
 
开发者ID:Alfresco,项目名称:alfresco-repository,代码行数:17,代码来源:AuditableAspectTest.java


示例8: initTestsContext

import org.alfresco.repo.policy.BehaviourFilter; //导入依赖的package包/类
@BeforeClass public static void initTestsContext() throws Exception
{
    AUTHENTICATION_SERVICE = (MutableAuthenticationService)testContext.getBean("authenticationService");
    BEHAVIOUR_FILTER       = (BehaviourFilter)testContext.getBean("policyBehaviourFilter");
    BLOG_SERVICE           = (BlogService)testContext.getBean("blogService");
    DICTIONARY_SERVICE     = (DictionaryService)testContext.getBean("dictionaryService");
    NODE_SERVICE           = (NodeService)testContext.getBean("nodeService");
    PERSON_SERVICE         = (PersonService)testContext.getBean("personService");
    TRANSACTION_HELPER     = (RetryingTransactionHelper)testContext.getBean("retryingTransactionHelper");
    SITE_SERVICE           = (SiteService)testContext.getBean("siteService");
    TAGGING_SERVICE        = (TaggingService)testContext.getBean("TaggingService");
    
    AuthenticationUtil.setFullyAuthenticatedUser(ADMIN_USER);
    createUser(TEST_USER);
    
    // We need to create the test site as the test user so that they can contribute content to it in tests below.
    AuthenticationUtil.setFullyAuthenticatedUser(TEST_USER);
    createTestSiteWithBlogContainer();
}
 
开发者ID:Alfresco,项目名称:alfresco-repository,代码行数:20,代码来源:BlogServiceImplTest.java


示例9: initTestsContext

import org.alfresco.repo.policy.BehaviourFilter; //导入依赖的package包/类
@BeforeClass public static void initTestsContext() throws Exception
{
    AUTHENTICATION_SERVICE = (MutableAuthenticationService)testContext.getBean("authenticationService");
    BEHAVIOUR_FILTER       = (BehaviourFilter)testContext.getBean("policyBehaviourFilter");
    LINKS_SERVICE          = (LinksService)testContext.getBean("LinksService");
    NODE_SERVICE           = (NodeService)testContext.getBean("nodeService");
    PUBLIC_NODE_SERVICE    = (NodeService)testContext.getBean("NodeService");
    PERSON_SERVICE         = (PersonService)testContext.getBean("personService");
    TRANSACTION_HELPER     = (RetryingTransactionHelper)testContext.getBean("retryingTransactionHelper");
    PERMISSION_SERVICE     = (PermissionService)testContext.getBean("permissionService");
    SITE_SERVICE           = (SiteService)testContext.getBean("siteService");
    CONTENT_SERVICE        = (ContentService)testContext.getBean("ContentService");

    // Do the setup as admin
    AuthenticationUtil.setFullyAuthenticatedUser(ADMIN_USER);
    createUser(TEST_USER);
    
    // We need to create the test site as the test user so that they can contribute content to it in tests below.
    AuthenticationUtil.setFullyAuthenticatedUser(TEST_USER);
    createTestSites();
}
 
开发者ID:Alfresco,项目名称:alfresco-repository,代码行数:22,代码来源:LinksServiceImplTest.java


示例10: deleteTenant

import org.alfresco.repo.policy.BehaviourFilter; //导入依赖的package包/类
private static void deleteTenant()
{
    TRANSACTION_HELPER.doInTransaction(new RetryingTransactionHelper.RetryingTransactionCallback<Void>()
    {
       @Override
       public Void execute() throws Throwable
       {
           // TODO: WARNING: HACK for ALF-19155: MT deleteTenant does not work
           //       PersonService prevents 'guest' authorities from being deleted
           {
               BehaviourFilter behaviourFilter = (BehaviourFilter) testContext.getBean("policyBehaviourFilter");
               behaviourFilter.disableBehaviour(ContentModel.TYPE_PERSON);
               behaviourFilter.disableBehaviour(ContentModel.ASPECT_UNDELETABLE);
           }
           TENANT_ADMIN_SERVICE.deleteTenant(TENANT_DOMAIN);
           return null;
       }
    });
}
 
开发者ID:Alfresco,项目名称:alfresco-repository,代码行数:20,代码来源:DiscussionServiceImplTest.java


示例11: AbstractBulkFilesystemImporter

import org.alfresco.repo.policy.BehaviourFilter; //导入依赖的package包/类
protected AbstractBulkFilesystemImporter(final ServiceRegistry       serviceRegistry,
                                         final BehaviourFilter       behaviourFilter,
                                         final ContentStore          configuredContentStore,
                                         final BulkImportStatusImpl  importStatus,
                                         final DataDictionaryBuilder dataDictionaryBuilder)
{
    this.serviceRegistry        = serviceRegistry;
    this.behaviourFilter        = behaviourFilter;
    this.configuredContentStore = configuredContentStore;
    
    this.fileFolderService = serviceRegistry.getFileFolderService();
    this.nodeService       = serviceRegistry.getNodeService();
    this.contentService    = serviceRegistry.getContentService();
    this.versionService    = serviceRegistry.getVersionService();
    this.mimeTypeService   = serviceRegistry.getMimetypeService();
    this.dictionaryService = serviceRegistry.getDictionaryService();
    
    this.importStatus      = importStatus;
    
    this.dataDictionaryBuilder = dataDictionaryBuilder;
    this.importFilters         = new ArrayList<ImportFilter>();
}
 
开发者ID:pmonks,项目名称:alfresco-bulk-filesystem-import,代码行数:23,代码来源:AbstractBulkFilesystemImporter.java


示例12: initBasicServices

import org.alfresco.repo.policy.BehaviourFilter; //导入依赖的package包/类
@BeforeClass public static void initBasicServices() throws Exception
{
    behaviourFilter = (BehaviourFilter)APP_CONTEXT_INIT.getApplicationContext().getBean("policyBehaviourFilter");
    contentService = (ContentService)APP_CONTEXT_INIT.getApplicationContext().getBean("ContentService");
    nodeService = (NodeService)APP_CONTEXT_INIT.getApplicationContext().getBean("NodeService");
    repositoryHelper = (Repository)APP_CONTEXT_INIT.getApplicationContext().getBean("repositoryHelper");
    siteService = (SiteService)APP_CONTEXT_INIT.getApplicationContext().getBean("SiteService");
    transactionHelper = (RetryingTransactionHelper)APP_CONTEXT_INIT.getApplicationContext().getBean("retryingTransactionHelper");
    
    authenticationComponent = (AuthenticationComponent)APP_CONTEXT_INIT.getApplicationContext().getBean("authenticationComponent");
    commentService = (CommentService)APP_CONTEXT_INIT.getApplicationContext().getBean("commentService");
    authenticationService = (MutableAuthenticationService)APP_CONTEXT_INIT.getApplicationContext().getBean("AuthenticationService");
    personService = (PersonService)APP_CONTEXT_INIT.getApplicationContext().getBean("PersonService");
    postDAO = (ActivityPostDAO)APP_CONTEXT_INIT.getApplicationContext().getBean("postDAO");
    permissionServiceImpl = (PermissionServiceImpl)APP_CONTEXT_INIT.getApplicationContext().getBean("permissionServiceImpl");
    permissionModelDAO = (ModelDAO)APP_CONTEXT_INIT.getApplicationContext().getBean("permissionsModelDAO");
    
    COMPANY_HOME = repositoryHelper.getCompanyHome();
}
 
开发者ID:Alfresco,项目名称:community-edition-old,代码行数:20,代码来源:CommentsTest.java


示例13: initTestsContext

import org.alfresco.repo.policy.BehaviourFilter; //导入依赖的package包/类
@BeforeClass public static void initTestsContext() throws Exception
{
    AUTHENTICATION_SERVICE = (MutableAuthenticationService)testContext.getBean("authenticationService");
    BEHAVIOUR_FILTER       = (BehaviourFilter)testContext.getBean("policyBehaviourFilter");
    LINKS_SERVICE          = (LinksService)testContext.getBean("LinksService");
    NODE_SERVICE           = (NodeService)testContext.getBean("nodeService");
    PUBLIC_NODE_SERVICE    = (NodeService)testContext.getBean("NodeService");
    PERSON_SERVICE         = (PersonService)testContext.getBean("personService");
    TRANSACTION_HELPER     = (RetryingTransactionHelper)testContext.getBean("retryingTransactionHelper");
    PERMISSION_SERVICE     = (PermissionService)testContext.getBean("permissionService");
    SITE_SERVICE           = (SiteService)testContext.getBean("siteService");
    CONTENT_SERVICE        = (ContentService)testContext.getBean("ContentService");
    TAGGING_SERVICE        = (TaggingService)testContext.getBean("TaggingService");

    // Do the setup as admin
    AuthenticationUtil.setFullyAuthenticatedUser(ADMIN_USER);
    createUser(TEST_USER);
    
    // We need to create the test site as the test user so that they can contribute content to it in tests below.
    AuthenticationUtil.setFullyAuthenticatedUser(TEST_USER);
    createTestSites();
}
 
开发者ID:Alfresco,项目名称:community-edition-old,代码行数:23,代码来源:LinksServiceImplTest.java


示例14: initTestsContext

import org.alfresco.repo.policy.BehaviourFilter; //导入依赖的package包/类
@BeforeClass public static void initTestsContext() throws Exception
{
    AUTHENTICATION_SERVICE = (MutableAuthenticationService)testContext.getBean("authenticationService");
    BEHAVIOUR_FILTER       = (BehaviourFilter)testContext.getBean("policyBehaviourFilter");
    DISCUSSION_SERVICE     = (DiscussionService)testContext.getBean("DiscussionService");
    NODE_SERVICE           = (NodeService)testContext.getBean("nodeService");
    PUBLIC_NODE_SERVICE    = (NodeService)testContext.getBean("NodeService");
    PERSON_SERVICE         = (PersonService)testContext.getBean("personService");
    TRANSACTION_HELPER     = (RetryingTransactionHelper)testContext.getBean("retryingTransactionHelper");
    PERMISSION_SERVICE     = (PermissionService)testContext.getBean("permissionService");
    SITE_SERVICE           = (SiteService)testContext.getBean("SiteService");
    TAGGING_SERVICE        = (TaggingService)testContext.getBean("TaggingService");
    TENANT_ADMIN_SERVICE   = testContext.getBean("tenantAdminService", TenantAdminService.class);

    createTenant();
    
    // Do the setup as admin
    AuthenticationUtil.setFullyAuthenticatedUser(ADMIN_USER);
    createUser(TEST_USER);
    
    // We need to create the test site as the test user so that they can contribute content to it in tests below.
    AuthenticationUtil.setFullyAuthenticatedUser(TEST_USER);
    createTestSites();
}
 
开发者ID:Alfresco,项目名称:community-edition-old,代码行数:25,代码来源:DiscussionServiceImplTest.java


示例15: WorkflowFormPersister

import org.alfresco.repo.policy.BehaviourFilter; //导入依赖的package包/类
public WorkflowFormPersister(ContentModelItemData<?> itemData,
            NamespaceService namespaceService,
            DictionaryService dictionaryService,
            WorkflowService workflowService,
            NodeService nodeService,
            BehaviourFilter behaviourFilter, Log logger)
{
    super(itemData, namespaceService, dictionaryService, logger);
    WorkflowDefinition definition = (WorkflowDefinition) itemData.getItem();
    this.builder = new WorkflowBuilder(definition, workflowService, nodeService, behaviourFilter);
}
 
开发者ID:Alfresco,项目名称:alfresco-repository,代码行数:12,代码来源:WorkflowFormPersister.java


示例16: RenditionNodeManager

import org.alfresco.repo.policy.BehaviourFilter; //导入依赖的package包/类
/**
 * 
 * @param sourceNode the source node which is being rendered.
 * @param tempRenditionNode the temporary rendition
 * @param location the proposed location of the rendition node.
 * @param renditionDefinition RenditionDefinition
 * @param nodeService NodeService
 * @param renditionService RenditionService
 * @param behaviourFilter BehaviourFilter
 */
public RenditionNodeManager(NodeRef sourceNode, NodeRef tempRenditionNode, RenditionLocation location,
            RenditionDefinition renditionDefinition, NodeService nodeService, RenditionService renditionService,
            BehaviourFilter behaviourFilter)
{
    this.sourceNode = sourceNode;
    this.tempRenditionNode = tempRenditionNode;
    this.location = location;
    this.renditionDefinition = renditionDefinition;
    this.nodeService = nodeService;
    this.renditionService = renditionService;
    this.behaviourFilter = behaviourFilter;
    
    this.existingLinkedRendition = getExistingRendition();

    if (logger.isDebugEnabled())
    {
        StringBuilder msg = new StringBuilder();
        msg.append("Creating/updating rendition based on:").append(LINE_BREAK)
           .append("    sourceNode: ").append(sourceNode).append(LINE_BREAK)
           .append("    tempRendition: ").append(tempRenditionNode).append(LINE_BREAK)
           .append("    parentNode: ").append(location.getParentRef()).append(LINE_BREAK)
           .append("    childNode: ").append(location.getChildRef()).append(LINE_BREAK)
           .append("    childName: ").append(location.getChildName()).append(LINE_BREAK)
           .append("    renditionDefinition.name: ").append(renditionDefinition.getRenditionName());
        logger.debug(msg.toString());
    }
}
 
开发者ID:Alfresco,项目名称:alfresco-repository,代码行数:38,代码来源:RenditionNodeManager.java


示例17: TaskUpdater

import org.alfresco.repo.policy.BehaviourFilter; //导入依赖的package包/类
public TaskUpdater(String taskId,
            WorkflowService workflowService,
            NodeService nodeService,
            BehaviourFilter behaviourFilter)
{
    this.taskId = taskId;
    this.workflowService = workflowService;
    this.packageMgr = new PackageManager(workflowService, nodeService, behaviourFilter, LOGGER);
}
 
开发者ID:Alfresco,项目名称:alfresco-repository,代码行数:10,代码来源:TaskUpdater.java


示例18: PackageManager

import org.alfresco.repo.policy.BehaviourFilter; //导入依赖的package包/类
public PackageManager(WorkflowService workflowService,
            NodeService nodeService,
            BehaviourFilter behaviourFilter,
            Log logger)
{
    this.workflowService = workflowService;
    this.nodeService = nodeService;
    this.behaviourFilter =behaviourFilter;
    this.logger = logger ==null ? LOGGER : logger;
}
 
开发者ID:Alfresco,项目名称:alfresco-repository,代码行数:11,代码来源:PackageManager.java


示例19: WorkflowBuilder

import org.alfresco.repo.policy.BehaviourFilter; //导入依赖的package包/类
public WorkflowBuilder(WorkflowDefinition definition,
            WorkflowService workflowService,
            NodeService nodeService,
            BehaviourFilter behaviourFilter)
{
    this.workflowService = workflowService;
    this.packageMgr = new PackageManager(workflowService, nodeService, behaviourFilter, null);
    this.definition = definition;
}
 
开发者ID:Alfresco,项目名称:alfresco-repository,代码行数:10,代码来源:WorkflowBuilder.java


示例20: NodeStringLengthWorker

import org.alfresco.repo.policy.BehaviourFilter; //导入依赖的package包/类
public NodeStringLengthWorker(
        NodeDAO nodeDAO, JobLockService jobLockService, TransactionService transactionService, QNameDAO qnameDAO,
        BehaviourFilter behaviourFilter,
        int queryRange, int threadCount)
{
    this.nodeDAO = nodeDAO;
    this.jobLockService = jobLockService;
    this.transactionService = transactionService;
    this.qnameDAO = qnameDAO;
    this.behaviourFilter = behaviourFilter;
    
    this.queryRange = queryRange;
    this.threadCount = threadCount;
    this.batchSize = 100;
}
 
开发者ID:Alfresco,项目名称:alfresco-repository,代码行数:16,代码来源:NodeStringLengthWorker.java



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Java DeferredResource类代码示例发布时间:2022-05-22
下一篇:
Java TupleQueryResultHandler类代码示例发布时间:2022-05-22
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap