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.IDiagramMarshaller
createMarshaller()
IDiagramProfile.IDiagramUnmarshaller
createUnmarshaller()
String
getBpsimDisplay()
String
getFormsType()
String
getLocalHistoryEnabled()
String
getLocalHistoryTimeout()
String
getName()
Collection<String>
getPlugins()
Repository
getRepository()
String
getRepositoryGlobalDir()
String
getRepositoryGlobalDir(String uuid)
String
getRepositoryHost()
String
getRepositoryId()
String
getRepositoryName()
String
getRepositoryProtocol()
String
getRepositoryPwd()
String
getRepositoryRoot()
String
getRepositorySubdomain()
String
getRepositoryUsr()
String
getSerializedModelExtension()
String
getStencilSet()
Collection<String>
getStencilSetExtensions()
String
getStencilSetExtensionURL()
String
getStencilSetNamespaceURL()
String
getStencilSetURL()
String
getStoreSVGonSaveOption()
String
getTitle()
void
init(javax.servlet.ServletContext context)
-
-
-
Method Detail
-
getTitle
public String getTitle()
- Specified by:
getTitle
in interfaceIDiagramProfile
- Returns:
- the title of the profile.
-
getStencilSet
public String getStencilSet()
- Specified by:
getStencilSet
in interfaceIDiagramProfile
- Returns:
- the stencil set used by the profile.
-
getStencilSetExtensions
public Collection<String> getStencilSetExtensions()
- Specified by:
getStencilSetExtensions
in interfaceIDiagramProfile
- Returns:
- the stencil set extensions used by the profile
-
getPlugins
public Collection<String> getPlugins()
- Specified by:
getPlugins
in interfaceIDiagramProfile
- Returns:
- the plugins to load for the profile.
-
getName
public String getName()
- Specified by:
getName
in interfaceIDiagramProfile
- 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 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:
getRepositoryGlobalDir
in interfaceIDiagramProfile
-
getRepositoryGlobalDir
public String getRepositoryGlobalDir(String uuid)
- Specified by:
getRepositoryGlobalDir
in interfaceIDiagramProfile
-
getLocalHistoryEnabled
public String getLocalHistoryEnabled()
- Specified by:
getLocalHistoryEnabled
in interfaceIDiagramProfile
- Returns:
- the local history enabled.
-
getLocalHistoryTimeout
public String getLocalHistoryTimeout()
- Specified by:
getLocalHistoryTimeout
in interfaceIDiagramProfile
- Returns:
- the local history timeout.
-
getStoreSVGonSaveOption
public String getStoreSVGonSaveOption()
- Specified by:
getStoreSVGonSaveOption
in interfaceIDiagramProfile
- Returns:
- the store svg on save option.
-
getBpsimDisplay
public String getBpsimDisplay()
- Specified by:
getBpsimDisplay
in interfaceIDiagramProfile
- Returns:
- the bpsim display option.
-
getFormsType
public String getFormsType()
- Specified by:
getFormsType
in interfaceIDiagramProfile
- Returns:
- the forms type
-
getRepository
public Repository getRepository()
- Specified by:
getRepository
in interfaceIDiagramProfile
- Returns:
- the repository.
-
init
public void init(javax.servlet.ServletContext context)
- Specified by:
init
in interfaceIDiagramProfile
-
createMarshaller
public IDiagramProfile.IDiagramMarshaller createMarshaller()
- Specified by:
createMarshaller
in interfaceIDiagramProfile
- Returns:
- a marshaller to transform the json into the final model.
-
createUnmarshaller
public IDiagramProfile.IDiagramUnmarshaller createUnmarshaller()
- Specified by:
createUnmarshaller
in interfaceIDiagramProfile
- Returns:
- an unmarshaller to transform the model into the json.
-
getStencilSetURL
public String getStencilSetURL()
- Specified by:
getStencilSetURL
in interfaceIDiagramProfile
- Returns:
- the stencil url used by the profile.
-
getStencilSetNamespaceURL
public String getStencilSetNamespaceURL()
- Specified by:
getStencilSetNamespaceURL
in interfaceIDiagramProfile
- Returns:
- stencil namespace url.
-
getStencilSetExtensionURL
public String getStencilSetExtensionURL()
- Specified by:
getStencilSetExtensionURL
in interfaceIDiagramProfile
- Returns:
- stencil set extension url used by the profile.
-
-