public class JbpmPreprocessingUnit extends Object implements IDiagramPreprocessingUnit
| Modifier and Type | Class and Description |
|---|---|
class |
JbpmPreprocessingUnit.WorkItemDisplayNameComparator |
| Modifier and Type | Field and Description |
|---|---|
static String |
CUSTOMEDITORS_EXT |
static String |
CUSTOMEDITORS_NAME |
static String |
DEFAULT_CATEGORY_NAME |
static String |
DEFAULT_THEME_NAME |
static String |
INCLUDE_DATA_OBJECT |
static String |
PATTERNS_EXT |
static String |
PATTERNS_NAME |
static String |
PROCESSDICTIONARY_NAME |
static String |
STENCILSET_PATH |
static String |
THEME_COOKIE_NAME |
static String |
THEME_EXT |
static String |
THEME_NAME |
static String |
WORKITEM_DEFINITION_EXT |
| Constructor and Description |
|---|
JbpmPreprocessingUnit() |
JbpmPreprocessingUnit(javax.servlet.ServletContext servletContext,
String designerPath,
org.uberfire.backend.vfs.VFSService vfsService,
javax.enterprise.event.Event<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.ProjectService projectService,
org.guvnor.common.services.shared.metadata.MetadataService metadataService) |
JbpmPreprocessingUnit(javax.servlet.ServletContext servletContext,
org.uberfire.backend.vfs.VFSService vfsService,
javax.enterprise.event.Event<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.ProjectService projectService,
org.guvnor.common.services.shared.metadata.MetadataService metadataService) |
| Modifier and Type | Method and Description |
|---|---|
static String |
createAbsoluteIconPath(String assetPath,
String iconPath) |
void |
evaluateWorkDefinitions(Map<String,org.jbpm.process.workitem.WorkDefinitionImpl> workDefinitions,
Asset<String> widAsset,
String assetLocation,
Repository repository,
IDiagramProfile profile) |
protected static byte[] |
getBytesFromFile(File file) |
String |
getOutData() |
void |
preprocess(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
IDiagramProfile profile,
javax.servlet.ServletContext serlvetContext,
boolean readOnly,
boolean viewLocked,
org.uberfire.io.IOService ioService,
RepositoryDescriptor descriptor) |
protected static String |
readFile(String pathname) |
public static final String STENCILSET_PATH
public static final String WORKITEM_DEFINITION_EXT
public static final String THEME_NAME
public static final String THEME_EXT
public static final String PATTERNS_NAME
public static final String PATTERNS_EXT
public static final String DEFAULT_THEME_NAME
public static final String CUSTOMEDITORS_NAME
public static final String PROCESSDICTIONARY_NAME
public static final String CUSTOMEDITORS_EXT
public static final String THEME_COOKIE_NAME
public static final String DEFAULT_CATEGORY_NAME
public static final String INCLUDE_DATA_OBJECT
public JbpmPreprocessingUnit()
public JbpmPreprocessingUnit(javax.servlet.ServletContext servletContext,
org.uberfire.backend.vfs.VFSService vfsService,
javax.enterprise.event.Event<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.ProjectService projectService,
org.guvnor.common.services.shared.metadata.MetadataService metadataService)
public JbpmPreprocessingUnit(javax.servlet.ServletContext servletContext,
String designerPath,
org.uberfire.backend.vfs.VFSService vfsService,
javax.enterprise.event.Event<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.ProjectService projectService,
org.guvnor.common.services.shared.metadata.MetadataService metadataService)
public String getOutData()
getOutData in interface IDiagramPreprocessingUnitpublic void preprocess(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
IDiagramProfile profile,
javax.servlet.ServletContext serlvetContext,
boolean readOnly,
boolean viewLocked,
org.uberfire.io.IOService ioService,
RepositoryDescriptor descriptor)
preprocess in interface IDiagramPreprocessingUnitpublic void evaluateWorkDefinitions(Map<String,org.jbpm.process.workitem.WorkDefinitionImpl> workDefinitions, Asset<String> widAsset, String assetLocation, Repository repository, IDiagramProfile profile) throws Exception
Exceptionprotected static String readFile(String pathname) throws IOException
IOExceptionprotected static byte[] getBytesFromFile(File file) throws IOException
IOExceptionCopyright © 2001–2016 JBoss by Red Hat. All rights reserved.