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


Java RepositoryService类代码示例

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


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

示例1: AppSetup

import org.guvnor.structure.repositories.RepositoryService; //导入依赖的package包/类
@Inject
public AppSetup(@Named("ioStrategy") final IOService ioService,
                final RepositoryService repositoryService,
                final OrganizationalUnitService organizationalUnitService,
                final KieProjectService projectService,
                final ConfigurationService configurationService,
                final ConfigurationFactory configurationFactory,
                final Event<ApplicationStarted> applicationStartedEvent) {
    super(ioService,
          repositoryService,
          organizationalUnitService,
          projectService,
          configurationService,
          configurationFactory);

    this.applicationStartedEvent = applicationStartedEvent;
}
 
开发者ID:kiegroup,项目名称:optaplanner-wb,代码行数:18,代码来源:AppSetup.java

示例2: CreateRepositoryWizard

import org.guvnor.structure.repositories.RepositoryService; //导入依赖的package包/类
@Inject
public CreateRepositoryWizard(final RepositoryInfoPage infoPage,
                              final RepositoryStructurePage structurePage,
                              final CreateRepositoryWizardModel model,
                              final Caller<RepositoryService> repositoryService,
                              final Caller<RepositoryStructureService> repositoryStructureService,
                              final Caller<ProjectRepositoryResolver> repositoryResolverService,
                              final Caller<AssetManagementService> assetManagementService,
                              final Event<NotificationEvent> notification,
                              final SessionInfo sessionInfo,
                              final ConflictingRepositoriesPopup conflictingRepositoriesPopup,
                              final POMDefaultOptions pomDefaultOptions,
                              final AuthorizationManager authorizationManager) {
    this.infoPage = infoPage;
    this.structurePage = structurePage;
    this.model = model;
    this.repositoryService = repositoryService;
    this.repositoryStructureService = repositoryStructureService;
    this.repositoryResolverService = repositoryResolverService;
    this.assetManagementService = assetManagementService;
    this.notification = notification;
    this.sessionInfo = sessionInfo;
    this.conflictingRepositoriesPopup = conflictingRepositoriesPopup;
    this.pomDefaultOptions = pomDefaultOptions;
    this.authorizationManager = authorizationManager;
}
 
开发者ID:kiegroup,项目名称:appformer,代码行数:27,代码来源:CreateRepositoryWizard.java

示例3: OrganizationalUnitManagerPresenterImpl

import org.guvnor.structure.repositories.RepositoryService; //导入依赖的package包/类
@Inject
public OrganizationalUnitManagerPresenterImpl(final OrganizationalUnitManagerView view,
                                              final Caller<OrganizationalUnitService> organizationalUnitService,
                                              final Caller<RepositoryService> repositoryService,
                                              final OrganizationalUnitController organizationalUnitController,
                                              final AddOrganizationalUnitPopup addOrganizationalUnitPopup,
                                              final EditOrganizationalUnitPopup editOrganizationalUnitPopup,
                                              final Event<AfterCreateOrganizationalUnitEvent> createOUEvent,
                                              final Event<AfterDeleteOrganizationalUnitEvent> deleteOUEvent) {
    this.view = PortablePreconditions.checkNotNull("view",
                                                   view);
    this.organizationalUnitService = PortablePreconditions.checkNotNull("organizationalUnitService",
                                                                        organizationalUnitService);
    this.repositoryService = PortablePreconditions.checkNotNull("repositoryService",
                                                                repositoryService);
    this.controller = PortablePreconditions.checkNotNull("organizationalUnitController",
                                                         organizationalUnitController);
    this.addOrganizationalUnitPopup = PortablePreconditions.checkNotNull("addOrganizationalUnitPopup",
                                                                         addOrganizationalUnitPopup);
    this.editOrganizationalUnitPopup = PortablePreconditions.checkNotNull("editOrganizationalUnitPopup",
                                                                          editOrganizationalUnitPopup);
    this.createOUEvent = PortablePreconditions.checkNotNull("createOUEvent",
                                                            createOUEvent);
    this.deleteOUEvent = PortablePreconditions.checkNotNull("deleteOUEvent",
                                                            deleteOUEvent);
}
 
开发者ID:kiegroup,项目名称:appformer,代码行数:27,代码来源:OrganizationalUnitManagerPresenterImpl.java

示例4: CloneRepositoryPresenter

import org.guvnor.structure.repositories.RepositoryService; //导入依赖的package包/类
@Inject
public CloneRepositoryPresenter(final RepositoryPreferences repositoryPreferences,
                                final CloneRepositoryView view,
                                final Caller<RepositoryService> repositoryService,
                                final Caller<OrganizationalUnitService> organizationalUnitService,
                                final PlaceManager placeManager,
                                final AuthorizationManager authorizationManager,
                                final SessionInfo sessionInfo) {
    this.repositoryPreferences = repositoryPreferences;
    this.view = view;
    this.repositoryService = repositoryService;
    this.organizationalUnitService = organizationalUnitService;
    this.placeManager = placeManager;
    this.authorizationManager = authorizationManager;
    this.sessionInfo = sessionInfo;
}
 
开发者ID:kiegroup,项目名称:appformer,代码行数:17,代码来源:CloneRepositoryPresenter.java

示例5: AppSetup

import org.guvnor.structure.repositories.RepositoryService; //导入依赖的package包/类
@Inject
public AppSetup(@Named("ioStrategy") final IOService ioService,
                final RepositoryService repositoryService,
                final OrganizationalUnitService organizationalUnitService,
                final KieModuleService moduleService,
                final ConfigurationService configurationService,
                final ConfigurationFactory configurationFactory,
                final WorkbenchConfigurationHelper workbenchConfigurationHelper,
                final Event<ApplicationStarted> applicationStartedEvent) {
    super(ioService,
          repositoryService,
          organizationalUnitService,
          moduleService,
          configurationService,
          configurationFactory);
    this.workbenchConfigurationHelper = workbenchConfigurationHelper;
    this.applicationStartedEvent = applicationStartedEvent;
}
 
开发者ID:kiegroup,项目名称:drools-wb,代码行数:19,代码来源:AppSetup.java

示例6: ProjectScreenServiceImpl

import org.guvnor.structure.repositories.RepositoryService; //导入依赖的package包/类
@Inject
public ProjectScreenServiceImpl(final WorkspaceProjectService projectService,
                                final RepositoryService repositoryService,
                                final KieModuleService moduleService,
                                final ProjectScreenModelLoader loader,
                                final ProjectScreenModelSaver saver,
                                final RepositoryCopier repositoryCopier,
                                final POMService pomService,
                                final MetadataService metadataService) {
    this.projectService = projectService;
    this.repositoryService = repositoryService;
    this.moduleService = moduleService;
    this.loader = loader;
    this.saver = saver;
    this.repositoryCopier = repositoryCopier;
    this.pomService = pomService;
    this.metadataService = metadataService;
}
 
开发者ID:kiegroup,项目名称:kie-wb-common,代码行数:19,代码来源:ProjectScreenServiceImpl.java

示例7: ExamplesServiceImpl

import org.guvnor.structure.repositories.RepositoryService; //导入依赖的package包/类
@Inject
public ExamplesServiceImpl(final @Named("ioStrategy") IOService ioService,
                           final ConfigurationFactory configurationFactory,
                           final RepositoryFactory repositoryFactory,
                           final KieModuleService moduleService,
                           final RepositoryService repositoryService,
                           final RepositoryCopier repositoryCopier,
                           final OrganizationalUnitService ouService,
                           final WorkspaceProjectService projectService,
                           final MetadataService metadataService,
                           final SpacesAPI spaces,
                           final Event<NewProjectEvent> newProjectEvent,
                           final ProjectScreenService projectScreenService) {
    this.ioService = ioService;
    this.configurationFactory = configurationFactory;
    this.repositoryFactory = repositoryFactory;
    this.moduleService = moduleService;
    this.repositoryService = repositoryService;
    this.repositoryCopier = repositoryCopier;
    this.ouService = ouService;
    this.projectService = projectService;
    this.metadataService = metadataService;
    this.spaces = spaces;
    this.newProjectEvent = newProjectEvent;
    this.projectScreenService = projectScreenService;
}
 
开发者ID:kiegroup,项目名称:kie-wb-common,代码行数:27,代码来源:ExamplesServiceImpl.java

示例8: ACLMigrationTool

import org.guvnor.structure.repositories.RepositoryService; //导入依赖的package包/类
@Inject
public ACLMigrationTool(OrganizationalUnitService organizationalUnitService,
                        RepositoryService repositoryService,
                        Instance<ProjectService<?>> projectServices,
                        PermissionManager permissionManager,
                        AuthorizationPolicyStorage authorizationPolicyStorage) {
    this.organizationalUnitService = organizationalUnitService;
    this.repositoryService = repositoryService;
    this.projectServices = projectServices;
    this.permissionManager = permissionManager;
    this.authorizationPolicyStorage = authorizationPolicyStorage;
}
 
开发者ID:kiegroup,项目名称:appformer,代码行数:13,代码来源:ACLMigrationTool.java

示例9: RepositoryInfoPage

import org.guvnor.structure.repositories.RepositoryService; //导入依赖的package包/类
@Inject
public RepositoryInfoPage(RepositoryInfoPageView view,
                          Caller<OrganizationalUnitService> organizationalUnitService,
                          Caller<RepositoryService> repositoryService) {
    this.view = view;
    view.init(this);
    this.organizationalUnitService = organizationalUnitService;
    this.repositoryService = repositoryService;
}
 
开发者ID:kiegroup,项目名称:appformer,代码行数:10,代码来源:RepositoryInfoPage.java

示例10: RepositoryInfoPageExtended

import org.guvnor.structure.repositories.RepositoryService; //导入依赖的package包/类
public RepositoryInfoPageExtended(RepositoryInfoPageView view,
                                  Caller<OrganizationalUnitService> organizationalUnitService,
                                  Caller<RepositoryService> repositoryService,
                                  boolean ouMandatory,
                                  WizardPageStatusChangeEventMock event) {

    super(view,
          organizationalUnitService,
          repositoryService);
    this.ouMandatory = ouMandatory;
    super.wizardPageStatusChangeEvent = event;
    //emulates the invocation of the @PostConstruct method.
    super.init();
}
 
开发者ID:kiegroup,项目名称:appformer,代码行数:15,代码来源:RepositoryInfoPageTest.java

示例11: AssetManagementServiceImpl

import org.guvnor.structure.repositories.RepositoryService; //导入依赖的package包/类
@Inject
public AssetManagementServiceImpl(final Event<NewBranchEvent> newBranchEvent,
                                  final Event<ConfigureRepositoryEvent> configureRepositoryEvent,
                                  final POMService pomService,
                                  @Named("ioStrategy") final IOService ioService,
                                  final RepositoryService repositoryService,
                                  final Instance<ProjectService<?>> projectService) {
    this.ioService = ioService;
    this.newBranchEvent = newBranchEvent;
    this.configureRepositoryEvent = configureRepositoryEvent;
    this.pomService = pomService;
    this.repositoryService = repositoryService;
    this.projectService = projectService;
}
 
开发者ID:kiegroup,项目名称:appformer,代码行数:15,代码来源:AssetManagementServiceImpl.java

示例12: RepositoryEditorPresenter

import org.guvnor.structure.repositories.RepositoryService; //导入依赖的package包/类
@Inject
public RepositoryEditorPresenter(final View view,
                                 final Caller<RepositoryService> repositoryService,
                                 final Caller<RepositoryServiceEditor> repositoryServiceEditor,
                                 final Event<NotificationEvent> notification,
                                 final PlaceManager placeManager,
                                 final RepositoryController repositoryController) {
    this.view = view;
    this.repositoryService = repositoryService;
    this.repositoryServiceEditor = repositoryServiceEditor;
    this.notification = notification;
    this.placeManager = placeManager;
    this.repositoryController = repositoryController;
}
 
开发者ID:kiegroup,项目名称:appformer,代码行数:15,代码来源:RepositoryEditorPresenter.java

示例13: RepositoriesPresenter

import org.guvnor.structure.repositories.RepositoryService; //导入依赖的package包/类
@Inject
public RepositoriesPresenter(final RepositoriesView view,
                             final GuvnorStructureContext guvnorStructureContext,
                             final Caller<RepositoryService> repositoryService,
                             final RepositoryController repositoryController) {
    this.view = view;
    this.guvnorStructureContext = guvnorStructureContext;
    this.repositoryService = repositoryService;
    this.repositoryController = repositoryController;

    changeHandlerRegistration = guvnorStructureContext.addGuvnorStructureContextChangeHandler(this);

    view.setPresenter(this);
}
 
开发者ID:kiegroup,项目名称:appformer,代码行数:15,代码来源:RepositoriesPresenter.java

示例14: before

import org.guvnor.structure.repositories.RepositoryService; //导入依赖的package包/类
@Before
public void before() {
    repositoryServiceCaller = new CallerMock<RepositoryService>(repositoryService);
    repositoryServiceEditorCaller = new CallerMock<RepositoryServiceEditor>(repositoryServiceEditor);
    presenter = new RepositoryEditorPresenter(view,
                                              repositoryServiceCaller,
                                              repositoryServiceEditorCaller,
                                              notification,
                                              placeManager,
                                              repositoryController);

    repositoryInfo = new RepositoryInfo("repository",
                                        "repository",
                                        "owner",
                                        root,
                                        new ArrayList<PublicURI>(),
                                        new ArrayList<VersionRecord>());
    repositoryHistory = Collections.EMPTY_LIST;

    when(repositoryService.getRepositoryInfo(any(String.class))).thenReturn(repositoryInfo);
    when(repositoryService.getRepositoryHistory(any(String.class),
                                                any(Integer.class))).thenReturn(repositoryHistory);
    when(repositoryServiceEditor.revertHistory(any(String.class),
                                               eq(root),
                                               any(String.class),
                                               any(VersionRecord.class))).thenReturn(repositoryHistory);

    //Each test needs the Presenter to be initialised
    place.addParameter("alias",
                       "repository");
    presenter.onStartup(place);
}
 
开发者ID:kiegroup,项目名称:appformer,代码行数:33,代码来源:RepositoryEditorPresenterTest.java

示例15: RsCreateRepositoryFailAnswer

import org.guvnor.structure.repositories.RepositoryService; //导入依赖的package包/类
public RsCreateRepositoryFailAnswer(Message message,
                                    Throwable cause,
                                    Repository repository,
                                    RepositoryService repoService) {
    this.message = message;
    this.cause = cause;
    this.repository = repository;
    this.repoService = repoService;
}
 
开发者ID:kiegroup,项目名称:appformer,代码行数:10,代码来源:RsCreateRepositoryFailAnswer.java


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