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

Java VersionService类代码示例

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

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



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

示例1: setUp

import org.alfresco.service.cmr.version.VersionService; //导入依赖的package包/类
@Before
public void setUp() throws Exception
{
    ctx = ApplicationContextHelper.getApplicationContext();
    this.modelValidator = (ModelValidator)ctx.getBean("modelValidator");
    this.dictionaryDAO = (DictionaryDAO)ctx.getBean("dictionaryDAO");
    this.qnameDAO = (QNameDAO)ctx.getBean("qnameDAO");
    this.namespaceDAO = (NamespaceDAO)ctx.getBean("namespaceDAO");
    this.nodeService = (NodeService)ctx.getBean("NodeService");
    this.fileFolderService = (FileFolderService)ctx.getBean("FileFolderService");
    this.contentService = (ContentService)ctx.getBean("contentService");
    this.versionService = (VersionService)ctx.getBean("VersionService");
    this.transactionService = (TransactionService)ctx.getBean("TransactionService");
    this.nodeArchiveService = (NodeArchiveService)ctx.getBean("nodeArchiveService");

    this.modelName = "modelvalidatortest" + System.currentTimeMillis();
    addModel();
}
 
开发者ID:Alfresco,项目名称:alfresco-repository,代码行数:19,代码来源:ModelValidatorTest.java


示例2: createVersionImpl

import org.alfresco.service.cmr.version.VersionService; //导入依赖的package包/类
/**
  * On create version implementation method
  * 
  * @param nodeRef NodeRef
  * @param versionProperties Map<String, Serializable>
  */
 private void createVersionImpl(NodeRef nodeRef, Map<String, Serializable> versionProperties)
 {
 	final VersionService vs = this.versionService;
 	final NodeRef nf = nodeRef;
 	final Map<String, Serializable> vp = versionProperties;
     
 	AuthenticationUtil.runAs(new RunAsWork<Void>() {

 		@Override
public Void doWork() throws Exception {
	recordCreateVersion(nf, null);
       vs.createVersion(nf, vp);
	return null;
}
 	},AuthenticationUtil.getSystemUserName());
 	
 }
 
开发者ID:Alfresco,项目名称:alfresco-repository,代码行数:24,代码来源:VersionableAspect.java


示例3: testSupportedStores

import org.alfresco.service.cmr.version.VersionService; //导入依赖的package包/类
@Test
public void testSupportedStores() throws Exception
{
    NodeRefRadixHasher h = NodeRefRadixHasher.RADIX_36_HASHER;
    
    String[] storeProtocols = new String[] { StoreRef.PROTOCOL_WORKSPACE, StoreRef.PROTOCOL_ARCHIVE,
                StoreRef.PROTOCOL_AVM, StoreRef.PROTOCOL_DELETED, VersionService.VERSION_STORE_PROTOCOL };
    String[] storeIds = new String[] { "SpacesStore", VersionModel.STORE_ID, Version2Model.STORE_ID };

    for (int i = 0; i < storeProtocols.length; i++)
    {
        for (int j = 0; j < storeIds.length; j++)
        {
            NodeRef nr = new NodeRef(storeProtocols[i],
                                     storeIds[j],
                                     "0d3b26ff-c4c1-4680-8622-8608ea7ab4b2");
            Pair<String, String> nh = h.hash(nr);
            NodeRef nr2 = h.lookup(nh);
            assertEquals("Could match hash-lookup " + nr,
                         nr,
                         nr2);
        }
    }
}
 
开发者ID:Alfresco,项目名称:alfresco-repository,代码行数:25,代码来源:NodeRefRadixHasherTest.java


示例4: initStaticData

import org.alfresco.service.cmr.version.VersionService; //导入依赖的package包/类
@BeforeClass public static void initStaticData() throws Exception
{
    CONTENT_SERVICE       = APP_CONTEXT_INIT.getApplicationContext().getBean("ContentService", ContentService.class);
    NODE_SERVICE          = APP_CONTEXT_INIT.getApplicationContext().getBean("NodeService", NodeService.class);
    SERVICE_REGISTRY      = APP_CONTEXT_INIT.getApplicationContext().getBean("ServiceRegistry", ServiceRegistry.class);
    TRANSACTION_HELPER    = APP_CONTEXT_INIT.getApplicationContext().getBean("retryingTransactionHelper", RetryingTransactionHelper.class);
    PERMISSION_SERVICE    = APP_CONTEXT_INIT.getApplicationContext().getBean("permissionService", PermissionServiceSPI.class);
    SEARCH_SCRIPT         = APP_CONTEXT_INIT.getApplicationContext().getBean("searchScript", Search.class);
    VERSIONABLE_ASPECT    = APP_CONTEXT_INIT.getApplicationContext().getBean("versionableAspect", VersionableAspect.class);
    VERSION_SERVICE       = APP_CONTEXT_INIT.getApplicationContext().getBean("VersionService", VersionService.class);
    DICTIONARY_SERVICE    = APP_CONTEXT_INIT.getApplicationContext().getBean("DictionaryService", DictionaryService.class);       
    NAMESPACE_SERVICE     = APP_CONTEXT_INIT.getApplicationContext().getBean("namespaceService", NamespaceService.class);
    DICTIONARY_DAO        = APP_CONTEXT_INIT.getApplicationContext().getBean("dictionaryDAO", DictionaryDAO.class);
    TENANT_ADMIN_SERVICE  = APP_CONTEXT_INIT.getApplicationContext().getBean("tenantAdminService", TenantAdminService.class);
    MESSAGE_SERVICE       = APP_CONTEXT_INIT.getApplicationContext().getBean("messageService", MessageService.class);
    TRANSACTION_SERVICE   = APP_CONTEXT_INIT.getApplicationContext().getBean("transactionComponent", TransactionService.class);
    POLICY_COMPONENT      = APP_CONTEXT_INIT.getApplicationContext().getBean("policyComponent", PolicyComponent.class);

    USER_ONES_TEST_SITE = STATIC_TEST_SITES.createTestSiteWithUserPerRole(GUID.generate(), "sitePreset", SiteVisibility.PRIVATE, USER_ONE_NAME);
    USER_ONES_TEST_FILE = STATIC_TEST_NODES.createQuickFile(MimetypeMap.MIMETYPE_TEXT_PLAIN, USER_ONES_TEST_SITE.doclib, "test.txt", USER_ONE_NAME);		
}
 
开发者ID:Alfresco,项目名称:alfresco-repository,代码行数:22,代码来源:ScriptNodeTest.java


示例5: onSetUpInTransaction

import org.alfresco.service.cmr.version.VersionService; //导入依赖的package包/类
@Override
protected void onSetUpInTransaction() throws Exception
{
    nodeService = (NodeService)applicationContext.getBean(ServiceRegistry.NODE_SERVICE.getLocalName());
    importerService = (ImporterService)applicationContext.getBean(ServiceRegistry.IMPORTER_SERVICE.getLocalName());
    
    importerBootstrap = (ImporterBootstrap)applicationContext.getBean("spacesBootstrap");
    
    this.authenticationComponent = (AuthenticationComponent)this.applicationContext.getBean("authenticationComponent");
    
    this.authenticationComponent.setSystemUserAsCurrentUser();
    
    this.versionService = (VersionService)this.applicationContext.getBean("VersionService");
    
    // Create the store
    this.storeRef = nodeService.createStore(StoreRef.PROTOCOL_WORKSPACE, "Test_" + System.currentTimeMillis());
    
    TimeZone tz = TimeZone.getTimeZone("GMT");
    TimeZone.setDefault(tz);
    // Joda time has already grabbed the JVM zone so re-set it here
    DateTimeZone.setDefault(DateTimeZone.forTimeZone(tz));
}
 
开发者ID:Alfresco,项目名称:alfresco-repository,代码行数:23,代码来源:ImporterComponentTest.java


示例6: setUp

import org.alfresco.service.cmr.version.VersionService; //导入依赖的package包/类
@Before
public void setUp() throws Exception
{
    this.modelValidator = (ModelValidator)ctx.getBean("modelValidator");
    this.dictionaryDAO = (DictionaryDAO)ctx.getBean("dictionaryDAO");
    this.qnameDAO = (QNameDAO)ctx.getBean("qnameDAO");
    this.namespaceDAO = (NamespaceDAO)ctx.getBean("namespaceDAO");
    this.nodeService = (NodeService)ctx.getBean("NodeService");
    this.fileFolderService = (FileFolderService)ctx.getBean("FileFolderService");
    this.contentService = (ContentService)ctx.getBean("contentService");
    this.versionService = (VersionService)ctx.getBean("VersionService");
    this.transactionService = (TransactionService)ctx.getBean("TransactionService");
    this.nodeArchiveService = (NodeArchiveService)ctx.getBean("nodeArchiveService");

    this.modelName = "modelvalidatortest" + System.currentTimeMillis();
    addModel();
}
 
开发者ID:Alfresco,项目名称:community-edition-old,代码行数:18,代码来源:ModelValidatorTest.java


示例7: setUp

import org.alfresco.service.cmr.version.VersionService; //导入依赖的package包/类
@Override
protected void setUp() throws Exception
{
    super.setUp();
    checkOutCheckInService = VirtualCheckOutCheckInServiceExtensionTest.ctx.getBean("checkOutCheckInService",
                                                                                    CheckOutCheckInService.class);
    versionService = VirtualCheckOutCheckInServiceExtensionTest.ctx.getBean("versionService",
                                                                            VersionService.class);

    node = nodeService.getChildByName(virtualFolder1NodeRef,
                                      ContentModel.ASSOC_CONTAINS,
                                      "Node1");
    originalContentNodeRef = createContent(node,
                                           PROP_FILE_NAME,
                                           TEST_CONTENT_1,
                                           MimetypeMap.MIMETYPE_TEXT_PLAIN,
                                           "UTF-8").getChildRef();
    nodeService.addAspect(originalContentNodeRef,
                          ContentModel.ASPECT_VERSIONABLE,
                          null);
    physicalFileNodeRef = nodeService.getChildByName(virtualFolder1NodeRef,
                                                     ContentModel.ASSOC_CONTAINS,
                                                     PROP_FILE_NAME);
}
 
开发者ID:Alfresco,项目名称:community-edition-old,代码行数:25,代码来源:VirtualCheckOutCheckInServiceExtensionTest.java


示例8: HashStoreConfiguration

import org.alfresco.service.cmr.version.VersionService; //导入依赖的package包/类
private HashStoreConfiguration()
{
    classpathStore = new HashStore();

    storeProtocolStore = new HashStore();

    storeIdStore = new HashStore();

    storeProtocolStore.put(StoreRef.PROTOCOL_WORKSPACE,
                           "1");
    storeProtocolStore.put(StoreRef.PROTOCOL_ARCHIVE,
                           "2");
    storeProtocolStore.put(StoreRef.PROTOCOL_AVM,
                           "3");
    storeProtocolStore.put(StoreRef.PROTOCOL_DELETED,
                           "4");
    storeProtocolStore.put(StoreRef.PROTOCOL_TEST,
                           "5");
    storeProtocolStore.put(VersionService.VERSION_STORE_PROTOCOL,
                           "6");
    storeIdStore.put("SpacesStore",
                     "1");
    storeIdStore.put(VersionModel.STORE_ID,
                     "2");
    storeIdStore.put(Version2Model.STORE_ID,
                     "3");
}
 
开发者ID:Alfresco,项目名称:alfresco-repository,代码行数:28,代码来源:HashStoreConfiguration.java


示例9: setup

import org.alfresco.service.cmr.version.VersionService; //导入依赖的package包/类
@Before
public void setup() throws SystemException, NotSupportedException
{
    try
    {
        nodeService = (NodeService)ctx.getBean("nodeService");
        fileFolderService = (FileFolderService)ctx.getBean("fileFolderService");
        transactionService = (TransactionService)ctx.getBean("transactionService");
        bulkImporter = (MultiThreadedBulkFilesystemImporter)ctx.getBean("bulkFilesystemImporter");
        contentService = (ContentService)ctx.getBean("contentService");
        actionService = (ActionService)ctx.getBean("actionService");
        ruleService = (RuleService)ctx.getBean("ruleService");
        versionService = (VersionService)ctx.getBean("versionService");

        AuthenticationUtil.setFullyAuthenticatedUser(AuthenticationUtil.getAdminUserName());

        String s = "BulkFilesystemImport" + System.currentTimeMillis();

        txn = transactionService.getUserTransaction();
        txn.begin();

        AuthenticationUtil.pushAuthentication();
        AuthenticationUtil.setFullyAuthenticatedUser(AuthenticationUtil.getAdminUserName());

        StoreRef storeRef = nodeService.createStore(StoreRef.PROTOCOL_WORKSPACE, s);
        rootNodeRef = nodeService.getRootNode(storeRef);
        top = nodeService.createNode(rootNodeRef, ContentModel.ASSOC_CHILDREN, QName.createQName("{namespace}top"), ContentModel.TYPE_FOLDER).getChildRef();
        
        topLevelFolder = fileFolderService.create(top, s, ContentModel.TYPE_FOLDER);

        txn.commit();
    }
    catch(Throwable e)
    {
        fail(e.getMessage());
    }
}
 
开发者ID:Alfresco,项目名称:alfresco-repository,代码行数:38,代码来源:AbstractBulkImportTests.java


示例10: setUp

import org.alfresco.service.cmr.version.VersionService; //导入依赖的package包/类
@Before
public void setUp() throws Exception
{
    super.setUp();

    versionService = ctx.getBean("VersionService",
                                 VersionService.class);

    node2 = nodeService.getChildByName(virtualFolder1NodeRef,
                                       ContentModel.ASSOC_CONTAINS,
                                       "Node2");
    node2_1 = nodeService.getChildByName(node2,
                                         ContentModel.ASSOC_CONTAINS,
                                         "Node2_1");
}
 
开发者ID:Alfresco,项目名称:alfresco-repository,代码行数:16,代码来源:VirtualVersionServiceExtensionTest.java


示例11: setUp

import org.alfresco.service.cmr.version.VersionService; //导入依赖的package包/类
@Before
public void setUp() throws Exception
{
    super.setUp();
    PROP_WORKING_COPY_NAME = CheckOutCheckInServiceImpl
            .createWorkingCopyName(PROP_FILE_NAME,
                                   I18NUtil.getMessage("coci_service.working_copy_label"));
    
    checkOutCheckInService = ctx.getBean("checkOutCheckInService",
                                                                                    CheckOutCheckInService.class);
    versionService = ctx.getBean("versionService",
                                                                            VersionService.class);

    node = nodeService.getChildByName(virtualFolder1NodeRef,
                                      ContentModel.ASSOC_CONTAINS,
                                      "Node1");
    originalContentNodeRef = createContent(node,
                                           PROP_FILE_NAME,
                                           TEST_CONTENT_1,
                                           MimetypeMap.MIMETYPE_TEXT_PLAIN,
                                           "UTF-8").getChildRef();
    nodeService.addAspect(originalContentNodeRef,
                          ContentModel.ASPECT_VERSIONABLE,
                          null);
    physicalFileNodeRef = nodeService.getChildByName(virtualFolder1NodeRef,
                                                     ContentModel.ASSOC_CONTAINS,
                                                     PROP_FILE_NAME);
}
 
开发者ID:Alfresco,项目名称:alfresco-repository,代码行数:29,代码来源:VirtualCheckOutCheckInServiceExtensionTest.java


示例12: onSetUpInTransaction

import org.alfresco.service.cmr.version.VersionService; //导入依赖的package包/类
/**
 * On setup in transaction implementation
 */
@Override
protected void onSetUpInTransaction() 
    throws Exception 
{
    // Set the services
    this.cociService = (CheckOutCheckInService)this.applicationContext.getBean("checkOutCheckInService");
    this.contentService = (ContentService)this.applicationContext.getBean("contentService");
    this.versionService = (VersionService)this.applicationContext.getBean("versionService");
    this.authenticationService = (MutableAuthenticationService)this.applicationContext.getBean("authenticationService");
    this.lockService = (LockService)this.applicationContext.getBean("lockService");
    this.transactionService = (TransactionService)this.applicationContext.getBean("transactionComponent");
    this.permissionService = (PermissionService)this.applicationContext.getBean("permissionService");
    this.copyService = (CopyService)this.applicationContext.getBean("copyService");
    this.personService = (PersonService) this.applicationContext.getBean("PersonService");
    ServiceRegistry serviceRegistry = (ServiceRegistry) this.applicationContext.getBean("ServiceRegistry");
    this.fileFolderService = serviceRegistry.getFileFolderService();
    this.nodeService = serviceRegistry.getNodeService();
    
    // Authenticate as system to create initial test data set
    this.authenticationComponent = (AuthenticationComponent)this.applicationContext.getBean("authenticationComponent");
    authenticationComponent.setSystemUserAsCurrentUser();
    
    RetryingTransactionCallback<Void> processInitWork = new RetryingTransactionCallback<Void>()
    {
        public Void execute() throws Throwable
        {
            initTestData();
            return null;
        }
    };
    // do the init test data in a new retrying transaction because
    // there may be problems with the DB that needs to be retried; 
    // That is how Alfresco works, it relies on optimistic locking and retries
    transactionService.getRetryingTransactionHelper().doInTransaction(processInitWork, false, true);

}
 
开发者ID:Alfresco,项目名称:alfresco-repository,代码行数:40,代码来源:CheckOutCheckInServiceImplTest.java


示例13: initStaticData

import org.alfresco.service.cmr.version.VersionService; //导入依赖的package包/类
@BeforeClass public static void initStaticData() throws Exception
{
    COCI_SERVICE       = APP_CONTEXT_INIT.getApplicationContext().getBean("checkOutCheckInService", CheckOutCheckInService.class);
    CONTENT_SERVICE    = APP_CONTEXT_INIT.getApplicationContext().getBean("ContentService", ContentService.class);
    NODE_SERVICE       = APP_CONTEXT_INIT.getApplicationContext().getBean("NodeService", NodeService.class);
    SITE_SERVICE       = APP_CONTEXT_INIT.getApplicationContext().getBean("SiteService", SiteService.class);
    TRANSACTION_HELPER = APP_CONTEXT_INIT.getApplicationContext().getBean("retryingTransactionHelper", RetryingTransactionHelper.class);
    VERSION_SERVICE    = APP_CONTEXT_INIT.getApplicationContext().getBean("VersionService", VersionService.class);
    
    Repository repositoryHelper = APP_CONTEXT_INIT.getApplicationContext().getBean("repositoryHelper", Repository.class);
    COMPANY_HOME = repositoryHelper.getCompanyHome();
}
 
开发者ID:Alfresco,项目名称:alfresco-repository,代码行数:13,代码来源:TemporaryNodesTest.java


示例14: before

import org.alfresco.service.cmr.version.VersionService; //导入依赖的package包/类
@Before
public void before()
{
    this.actionService = (ActionService)ctx.getBean("actionService");
    this.ruleService = (RuleService)ctx.getBean("ruleService");
	this.fileFolderService = (FileFolderService)ctx.getBean("FileFolderService");
	this.transactionService = (TransactionService)ctx.getBean("transactionService");
	this.nodeService = (NodeService)ctx.getBean("NodeService");
	this.contentService = (ContentService)ctx.getBean("ContentService");
    this.versionService = (VersionService) ctx.getBean("versionService");
    this.lockService = (LockService) ctx.getBean("lockService");
    this.taggingService = (TaggingService) ctx.getBean("TaggingService");
    this.namespaceService = (NamespaceService) ctx.getBean("namespaceService");
    this.repositoryHelper = (Repository)ctx.getBean("repositoryHelper");
	this.factory = (AlfrescoCmisServiceFactory)ctx.getBean("CMISServiceFactory");
    this.versionService = (VersionService) ctx.getBean("versionService");
	this.cmisConnector = (CMISConnector) ctx.getBean("CMISConnector");
    this.nodeDAO = (NodeDAO) ctx.getBean("nodeDAO");
    this.authorityService = (AuthorityService)ctx.getBean("AuthorityService");
    this.auditSubsystem = (AuditModelRegistryImpl) ctx.getBean("Audit");
    this.permissionService = (PermissionService) ctx.getBean("permissionService");
	this.dictionaryDAO = (DictionaryDAO)ctx.getBean("dictionaryDAO");
	this.cmisDictionaryService = (CMISDictionaryService)ctx.getBean("OpenCMISDictionaryService1.1");
    this.auditDAO = (AuditDAO) ctx.getBean("auditDAO");
    this.nodeArchiveService = (NodeArchiveService) ctx.getBean("nodeArchiveService");
    this.dictionaryService = (DictionaryService) ctx.getBean("dictionaryService");
    this.workflowService = (WorkflowService) ctx.getBean("WorkflowService");
    this.workflowAdminService = (WorkflowAdminService) ctx.getBean("workflowAdminService");
    this.authenticationContext = (AuthenticationContext) ctx.getBean("authenticationContext");
    this.tenantAdminService = (TenantAdminService) ctx.getBean("tenantAdminService");
    this.tenantService = (TenantService) ctx.getBean("tenantService");
    this.searchService = (SearchService) ctx.getBean("SearchService");
    this.auditComponent = (AuditComponentImpl) ctx.getBean("auditComponent");

    this.globalProperties = (java.util.Properties) ctx.getBean("global-properties");
    this.globalProperties.setProperty(VersionableAspectTest.AUTO_VERSION_PROPS_KEY, "true");
}
 
开发者ID:Alfresco,项目名称:alfresco-repository,代码行数:38,代码来源:CMISTest.java


示例15: setUp

import org.alfresco.service.cmr.version.VersionService; //导入依赖的package包/类
@Override
protected void setUp() throws Exception
{
    super.setUp();

    versionService = ctx.getBean("VersionService",
                                 VersionService.class);

    node2 = nodeService.getChildByName(virtualFolder1NodeRef,
                                       ContentModel.ASSOC_CONTAINS,
                                       "Node2");
    node2_1 = nodeService.getChildByName(node2,
                                         ContentModel.ASSOC_CONTAINS,
                                         "Node2_1");
}
 
开发者ID:Alfresco,项目名称:community-edition-old,代码行数:16,代码来源:VirtualVersionServiceExtensionTest.java


示例16: getVersionService

import org.alfresco.service.cmr.version.VersionService; //导入依赖的package包/类
/**
 * @return versionService
 */
protected VersionService getVersionService()
{
   //check for null for cluster environment
   if (versionService == null)
   {
      versionService = Repository.getServiceRegistry(FacesContext.getCurrentInstance()).getVersionService();
   }
   return versionService;
}
 
开发者ID:Alfresco,项目名称:community-edition-old,代码行数:13,代码来源:MultilingualManageDialog.java


示例17: getVersionService

import org.alfresco.service.cmr.version.VersionService; //导入依赖的package包/类
protected VersionService getVersionService()
 {
     if (versionService == null)
     {
         versionService = Repository.getServiceRegistry(FacesContext.getCurrentInstance()).getVersionService();
     }
     return versionService;
}
 
开发者ID:Alfresco,项目名称:community-edition-old,代码行数:9,代码来源:NewEditionWizard.java


示例18: getVersionService

import org.alfresco.service.cmr.version.VersionService; //导入依赖的package包/类
protected VersionService getVersionService()
{
   if (versionService == null)
   {
      versionService = Repository.getServiceRegistry(FacesContext.getCurrentInstance()).getVersionService();
   }
   return versionService;
}
 
开发者ID:Alfresco,项目名称:community-edition-old,代码行数:9,代码来源:VersionedDocumentDetailsDialog.java


示例19: getVersionQueryService

import org.alfresco.service.cmr.version.VersionService; //导入依赖的package包/类
/**
 * @return Returns the VersionQueryService.
 */
public VersionService getVersionQueryService()
{
    if (this.versionQueryService == null)
    {
       this.versionQueryService = Repository.getServiceRegistry(FacesContext.getCurrentInstance()).getVersionService();
    }
    
    return this.versionQueryService;
}
 
开发者ID:Alfresco,项目名称:community-edition-old,代码行数:13,代码来源:CCProperties.java


示例20: initServices

import org.alfresco.service.cmr.version.VersionService; //导入依赖的package包/类
@Override
protected void initServices()
{
    super.initServices();

    versionService = (VersionService) applicationContext.getBean("VersionService");
    checkOutCheckInService = (CheckOutCheckInService) applicationContext.getBean("CheckOutCheckInService");
}
 
开发者ID:Alfresco,项目名称:records-management-old,代码行数:9,代码来源:RejectRecordTest.java



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


鲜花

握手

雷人

路过

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

请发表评论

全部评论

专题导读
上一篇:
Java IgnoredColumn类代码示例发布时间:2022-05-22
下一篇:
Java ResourceProto类代码示例发布时间: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