org.jbpm.designer.web.profile.impl
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultProfileImpl
public DefaultProfileImpl()
DefaultProfileImpl
public DefaultProfileImpl(javax.servlet.ServletContext servletContext)
DefaultProfileImpl
public DefaultProfileImpl(javax.servlet.ServletContext servletContext,
boolean initializeLocalPlugins)
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
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 interface IDiagramProfile
getRepositoryGlobalDir
public String getRepositoryGlobalDir(String uuid)
- Specified by:
getRepositoryGlobalDir 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
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.
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-2015 JBoss by Red Hat. All Rights Reserved.