jBPM Designer - Backend 6.0.3-SNAPSHOT

org.jbpm.designer.web.profile.impl
Class EpnProfileImpl

java.lang.Object
  extended by org.jbpm.designer.web.profile.impl.EpnProfileImpl
All Implemented Interfaces:
IDiagramProfile

@ApplicationScoped
public class EpnProfileImpl
extends Object
implements IDiagramProfile

The implementation of the epn 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
EpnProfileImpl()
           
EpnProfileImpl(javax.servlet.ServletContext servletContext)
           
EpnProfileImpl(javax.servlet.ServletContext servletContext, boolean initializeLocalPlugins)
           
 
Method Summary
 IDiagramProfile.IDiagramMarshaller createMarshaller()
           
 IDiagramProfile.IDiagramUnmarshaller createUnmarshaller()
           
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EpnProfileImpl

public EpnProfileImpl()

EpnProfileImpl

public EpnProfileImpl(javax.servlet.ServletContext servletContext)

EpnProfileImpl

public EpnProfileImpl(javax.servlet.ServletContext servletContext,
                      boolean initializeLocalPlugins)
Method Detail

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.

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

getSerializedModelExtension

public String getSerializedModelExtension()
Specified by:
getSerializedModelExtension in interface IDiagramProfile

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.

getPlugins

public Collection<String> getPlugins()
Specified by:
getPlugins in interface IDiagramProfile
Returns:
the plugins to load for the profile.

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.

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

jBPM Designer - Backend 6.0.3-SNAPSHOT

Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.