Class DefaultProfileImpl
- java.lang.Object
-
- org.jbpm.designer.web.profile.impl.DefaultProfileImpl
-
- All Implemented Interfaces:
IDiagramProfile
@ApplicationScoped public class DefaultProfileImpl extends Object implements IDiagramProfile
The implementation of the default profile for Process Designer.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jbpm.designer.web.profile.IDiagramProfile
IDiagramProfile.IDiagramMarshaller, IDiagramProfile.IDiagramUnmarshaller
-
-
Constructor Summary
Constructors Constructor Description DefaultProfileImpl()DefaultProfileImpl(javax.servlet.ServletContext servletContext)DefaultProfileImpl(javax.servlet.ServletContext servletContext, boolean initializeLocalPlugins)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IDiagramProfile.IDiagramMarshallercreateMarshaller()IDiagramProfile.IDiagramUnmarshallercreateUnmarshaller()StringgetBpsimDisplay()StringgetFormsType()StringgetLocalHistoryEnabled()StringgetLocalHistoryTimeout()StringgetName()Collection<String>getPlugins()RepositorygetRepository()StringgetRepositoryGlobalDir()StringgetRepositoryGlobalDir(String uuid)StringgetRepositoryHost()StringgetRepositoryId()StringgetRepositoryName()StringgetRepositoryProtocol()StringgetRepositoryPwd()StringgetRepositoryRoot()StringgetRepositorySubdomain()StringgetRepositoryUsr()StringgetSerializedModelExtension()StringgetStencilSet()Collection<String>getStencilSetExtensions()StringgetStencilSetExtensionURL()StringgetStencilSetNamespaceURL()StringgetStencilSetURL()StringgetStoreSVGonSaveOption()StringgetTitle()voidinit(javax.servlet.ServletContext context)
-
-
-
Method Detail
-
getTitle
public String getTitle()
- Specified by:
getTitlein interfaceIDiagramProfile- Returns:
- the title of the profile.
-
getStencilSet
public String getStencilSet()
- Specified by:
getStencilSetin interfaceIDiagramProfile- Returns:
- the stencil set used by the profile.
-
getStencilSetExtensions
public Collection<String> getStencilSetExtensions()
- Specified by:
getStencilSetExtensionsin interfaceIDiagramProfile- Returns:
- the stencil set extensions used by the profile
-
getPlugins
public Collection<String> getPlugins()
- Specified by:
getPluginsin interfaceIDiagramProfile- Returns:
- the plugins to load for the profile.
-
getName
public String getName()
- Specified by:
getNamein interfaceIDiagramProfile- Returns:
- the name of the profile it will be passed by the user when opening the editor.
-
getSerializedModelExtension
public String getSerializedModelExtension()
- Specified by:
getSerializedModelExtensionin interfaceIDiagramProfile
-
getRepositoryId
public String getRepositoryId()
-
getRepositoryRoot
public String getRepositoryRoot()
-
getRepositoryName
public String getRepositoryName()
-
getRepositoryHost
public String getRepositoryHost()
-
getRepositoryProtocol
public String getRepositoryProtocol()
-
getRepositorySubdomain
public String getRepositorySubdomain()
-
getRepositoryUsr
public String getRepositoryUsr()
-
getRepositoryPwd
public String getRepositoryPwd()
-
getRepositoryGlobalDir
public String getRepositoryGlobalDir()
- Specified by:
getRepositoryGlobalDirin interfaceIDiagramProfile
-
getRepositoryGlobalDir
public String getRepositoryGlobalDir(String uuid)
- Specified by:
getRepositoryGlobalDirin interfaceIDiagramProfile
-
getLocalHistoryEnabled
public String getLocalHistoryEnabled()
- Specified by:
getLocalHistoryEnabledin interfaceIDiagramProfile- Returns:
- the local history enabled.
-
getLocalHistoryTimeout
public String getLocalHistoryTimeout()
- Specified by:
getLocalHistoryTimeoutin interfaceIDiagramProfile- Returns:
- the local history timeout.
-
getStoreSVGonSaveOption
public String getStoreSVGonSaveOption()
- Specified by:
getStoreSVGonSaveOptionin interfaceIDiagramProfile- Returns:
- the store svg on save option.
-
getBpsimDisplay
public String getBpsimDisplay()
- Specified by:
getBpsimDisplayin interfaceIDiagramProfile- Returns:
- the bpsim display option.
-
getFormsType
public String getFormsType()
- Specified by:
getFormsTypein interfaceIDiagramProfile- Returns:
- the forms type
-
getRepository
public Repository getRepository()
- Specified by:
getRepositoryin interfaceIDiagramProfile- Returns:
- the repository.
-
init
public void init(javax.servlet.ServletContext context)
- Specified by:
initin interfaceIDiagramProfile
-
createMarshaller
public IDiagramProfile.IDiagramMarshaller createMarshaller()
- Specified by:
createMarshallerin interfaceIDiagramProfile- Returns:
- a marshaller to transform the json into the final model.
-
createUnmarshaller
public IDiagramProfile.IDiagramUnmarshaller createUnmarshaller()
- Specified by:
createUnmarshallerin interfaceIDiagramProfile- Returns:
- an unmarshaller to transform the model into the json.
-
getStencilSetURL
public String getStencilSetURL()
- Specified by:
getStencilSetURLin interfaceIDiagramProfile- Returns:
- the stencil url used by the profile.
-
getStencilSetNamespaceURL
public String getStencilSetNamespaceURL()
- Specified by:
getStencilSetNamespaceURLin interfaceIDiagramProfile- Returns:
- stencil namespace url.
-
getStencilSetExtensionURL
public String getStencilSetExtensionURL()
- Specified by:
getStencilSetExtensionURLin interfaceIDiagramProfile- Returns:
- stencil set extension url used by the profile.
-
-