@Named(value="jbpmPreprocessingUnit") 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 |
protected javax.enterprise.event.Event<org.uberfire.workbench.events.NotificationEvent> |
notification |
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 |
protected javax.enterprise.event.Event<DesignerWorkitemInstalledEvent> |
workitemInstalledEventEvent |
| Constructor and Description |
|---|
JbpmPreprocessingUnit() |
| 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) |
protected static byte[] |
getBytesFromFile(File file) |
String |
getOutData() |
void |
init(javax.servlet.ServletContext servletContext,
String designerPath,
org.uberfire.backend.vfs.VFSService vfsService) |
void |
init(javax.servlet.ServletContext servletContext,
org.uberfire.backend.vfs.VFSService vfsService) |
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
@Inject protected javax.enterprise.event.Event<DesignerWorkitemInstalledEvent> workitemInstalledEventEvent
@Inject protected javax.enterprise.event.Event<org.uberfire.workbench.events.NotificationEvent> notification
public void init(javax.servlet.ServletContext servletContext,
org.uberfire.backend.vfs.VFSService vfsService)
public void init(javax.servlet.ServletContext servletContext,
String designerPath,
org.uberfire.backend.vfs.VFSService vfsService)
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) throws Exception
Exceptionprotected static String readFile(String pathname) throws IOException
IOExceptionprotected static byte[] getBytesFromFile(File file) throws IOException
IOExceptionCopyright © 2001–2017 JBoss by Red Hat. All rights reserved.