org.jbpm.designer.web.profile.impl
Class JbpmProfileImpl
java.lang.Object
org.jbpm.designer.web.profile.impl.JbpmProfileImpl
- All Implemented Interfaces:
- IDiagramProfile
@ApplicationScoped
public class JbpmProfileImpl
- extends Object
- implements IDiagramProfile
The implementation of the jBPM profile for Process Designer.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JbpmProfileImpl
public JbpmProfileImpl(javax.servlet.ServletContext servletContext)
JbpmProfileImpl
public JbpmProfileImpl()
JbpmProfileImpl
public JbpmProfileImpl(javax.servlet.ServletContext servletContext,
boolean initializeLocalPlugins,
boolean initializeRepository)
getTitle
public String getTitle()
- Specified by:
getTitle
in interface IDiagramProfile
- Returns:
- the title of the profile.
getStencilSet
public String getStencilSet()
- Specified by:
getStencilSet
in interface IDiagramProfile
- Returns:
- the stencil set used by the profile.
getStencilSetExtensions
public Collection<String> getStencilSetExtensions()
- Specified by:
getStencilSetExtensions
in interface IDiagramProfile
- Returns:
- the stencil set extensions used by the profile
getPlugins
public Collection<String> getPlugins()
- Specified by:
getPlugins
in interface IDiagramProfile
- Returns:
- the plugins to load for the profile.
getName
public String getName()
- Specified by:
getName
in interface IDiagramProfile
- Returns:
- the name of the profile
it will be passed by the user when opening the editor.
getSerializedModelExtension
public String getSerializedModelExtension()
- Specified by:
getSerializedModelExtension
in interface IDiagramProfile
getLocalHistoryEnabled
public String getLocalHistoryEnabled()
- Specified by:
getLocalHistoryEnabled
in interface IDiagramProfile
- Returns:
- the local history enabled.
getLocalHistoryTimeout
public String getLocalHistoryTimeout()
- Specified by:
getLocalHistoryTimeout
in interface IDiagramProfile
- Returns:
- the local history timeout.
getStoreSVGonSaveOption
public String getStoreSVGonSaveOption()
- Specified by:
getStoreSVGonSaveOption
in interface IDiagramProfile
- Returns:
- the store svg on save option.
getRepository
public Repository getRepository()
- Specified by:
getRepository
in interface IDiagramProfile
- Returns:
- the repository.
init
public void init(javax.servlet.ServletContext context)
- Specified by:
init
in interface IDiagramProfile
setRepository
public void setRepository(Repository repository)
createMarshaller
public IDiagramProfile.IDiagramMarshaller createMarshaller()
- Specified by:
createMarshaller
in interface IDiagramProfile
- Returns:
- a marshaller to transform the json into the final model.
createUnmarshaller
public IDiagramProfile.IDiagramUnmarshaller createUnmarshaller()
- Specified by:
createUnmarshaller
in interface IDiagramProfile
- Returns:
- an unmarshaller to transform the model into the json.
getRepositoryGlobalDir
public String getRepositoryGlobalDir()
- Specified by:
getRepositoryGlobalDir
in interface IDiagramProfile
getRepositoryGlobalDir
public String getRepositoryGlobalDir(String uuid)
- Specified by:
getRepositoryGlobalDir
in interface IDiagramProfile
getDefinitions
public org.eclipse.bpmn2.Definitions getDefinitions(String xml)
getStencilSetURL
public String getStencilSetURL()
- Specified by:
getStencilSetURL
in interface IDiagramProfile
- Returns:
- the stencil url used by the profile.
getStencilSetNamespaceURL
public String getStencilSetNamespaceURL()
- Specified by:
getStencilSetNamespaceURL
in interface IDiagramProfile
- Returns:
- stencil namespace url.
getStencilSetExtensionURL
public String getStencilSetExtensionURL()
- Specified by:
getStencilSetExtensionURL
in interface IDiagramProfile
- Returns:
- stencil set extension url used by the profile.
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.