Class ServiceRepoUtils


  • public class ServiceRepoUtils
    extends Object
    • Constructor Detail

      • ServiceRepoUtils

        public ServiceRepoUtils()
    • Method Detail

      • installWorkItem

        public static void installWorkItem​(Map<String,​org.jbpm.process.workitem.WorkDefinitionImpl> workitemsFromRepo,
                                           String key,
                                           String uuid,
                                           Repository repository,
                                           org.uberfire.backend.vfs.VFSService vfsServices,
                                           javax.enterprise.event.Event<org.jbpm.designer.notification.DesignerWorkitemInstalledEvent> workitemInstalledEventEvent,
                                           javax.enterprise.event.Event<org.uberfire.workbench.events.NotificationEvent> notification,
                                           org.guvnor.common.services.project.service.POMService pomService,
                                           org.guvnor.common.services.project.service.ModuleService moduleService,
                                           org.guvnor.common.services.shared.metadata.MetadataService metadataService)
                                    throws IOException,
                                           org.uberfire.java.nio.file.FileAlreadyExistsException
        Throws:
        IOException
        org.uberfire.java.nio.file.FileAlreadyExistsException
      • getRepositoryDir

        public static String getRepositoryDir​(String uuid)
      • canUpdateProjectPomForWorkitem

        public static boolean canUpdateProjectPomForWorkitem​(org.jbpm.process.workitem.WorkDefinitionImpl workitem)