|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ManagementAPI
Workflow process deployment operations. Individual or grouped deployment of objects relating to the process definition: XPDL file, java class data Ofor hooks, mappers, performer assignments, ....
TxHook
,
Hook
Method Summary | |
---|---|
void |
deleteAllPackages()
Deletes from journal and history : all packages and their processes all instances of these processes. |
void |
deletePackage(org.ow2.bonita.facade.uuid.PackageDefinitionUUID pacDefinitionUUID)
Deletes from journal and history : the given package all its processes all instances of these processes. |
java.util.Map<java.lang.String,org.ow2.bonita.facade.def.majorElement.ProcessDefinition> |
deploy(org.ow2.bonita.facade.def.element.BusinessArchive businessArchive)
Deprecated. |
java.util.Map<java.lang.String,org.ow2.bonita.facade.def.majorElement.ProcessDefinition> |
deploy(java.net.URL xpdlURL,
java.lang.Class<?>[] classes)
Deprecated. |
java.util.Map<java.lang.String,org.ow2.bonita.facade.def.majorElement.ProcessDefinition> |
deployBar(byte[] barContent)
Deploys the businessArchive represented by this byte array. |
java.util.Map<java.lang.String,org.ow2.bonita.facade.def.majorElement.ProcessDefinition> |
deployBar(java.net.URL barFileURL)
Deploys the business archive represented by the given url. |
void |
deployClass(byte[] clazz)
Deploys a class giving its bytes table. |
void |
deployClasses(java.util.Collection<byte[]> classes)
Deploys several classes in global class repository giving a collection of data classes. |
void |
deployClassesInJar(byte[] classesArchive)
Deploys several classes in global class repository giving an archive containing the classes. |
java.util.Map<java.lang.String,org.ow2.bonita.facade.def.majorElement.ProcessDefinition> |
deployXpdl(byte[] xpdlFile)
Deprecated. |
java.util.Map<java.lang.String,org.ow2.bonita.facade.def.majorElement.ProcessDefinition> |
deployXpdl(java.net.URL xpdlURL)
Deprecated. |
java.util.Map<java.lang.String,org.ow2.bonita.facade.def.majorElement.ProcessDefinition> |
deployZip(byte[] zipFile)
Deprecated. |
java.util.Map<java.lang.String,org.ow2.bonita.facade.def.majorElement.ProcessDefinition> |
deployZip(java.net.URL barURL)
Deprecated. |
void |
removeClass(java.lang.String className)
Removes a class giving the class name. |
void |
removeClasses(java.lang.String[] classNames)
Removes classes giving there class names. |
void |
replaceClass(java.lang.String className,
byte[] newClazz)
Removes the class with the given className name. |
void |
undeploy(org.ow2.bonita.facade.uuid.PackageDefinitionUUID packageUUID)
Un-deploys a Workflow package giving the package UUID. |
Method Detail |
---|
@Deprecated java.util.Map<java.lang.String,org.ow2.bonita.facade.def.majorElement.ProcessDefinition> deployXpdl(java.net.URL xpdlURL) throws DeploymentException
xpdlURL
- the URL of the XPDL file.
ProcessDefinition
objects).
DeploymentException
- BonitaInternalException
- if an other exception occurs.@Deprecated java.util.Map<java.lang.String,org.ow2.bonita.facade.def.majorElement.ProcessDefinition> deployXpdl(byte[] xpdlFile) throws DeploymentException
xpdlFile
- the byte array of the XPDL file.
ProcessDefinition
objects).
DeploymentException
- BonitaInternalException
- if an other exception occurs.@Deprecated java.util.Map<java.lang.String,org.ow2.bonita.facade.def.majorElement.ProcessDefinition> deploy(java.net.URL xpdlURL, java.lang.Class<?>[] classes) throws DeploymentException
xpdlURL
- the URL of the XPDL file.classes
- the table of java classes.
ProcessDefinition
objects).
DeploymentException
- BonitaInternalException
- if an other exception occurs.@Deprecated java.util.Map<java.lang.String,org.ow2.bonita.facade.def.majorElement.ProcessDefinition> deployZip(java.net.URL barURL) throws DeploymentException
barURL
- the URL of the business archive
ProcessDefinition
objects).
DeploymentException
- BonitaInternalException
- if an other exception occurs.@Deprecated java.util.Map<java.lang.String,org.ow2.bonita.facade.def.majorElement.ProcessDefinition> deployZip(byte[] zipFile) throws DeploymentException
zipFile
- the bytes table of the zip file.
ProcessDefinition
objects).
DeploymentException
- BonitaInternalException
- if an other exception occurs.@Deprecated java.util.Map<java.lang.String,org.ow2.bonita.facade.def.majorElement.ProcessDefinition> deploy(org.ow2.bonita.facade.def.element.BusinessArchive businessArchive) throws DeploymentException
deployment
- the deployment object that should contain the XPDL file and the depending classes.
ProcessDefinition
objects).
DeploymentException
- BonitaInternalException
- if an exception occurs.java.util.Map<java.lang.String,org.ow2.bonita.facade.def.majorElement.ProcessDefinition> deployBar(java.net.URL barFileURL) throws DeploymentException
barFileURL:
- url of bar to deploy
DeploymentException
- if an error occurs while deploying the given Bar
BonitaInternalException
- if an exception occurs.java.util.Map<java.lang.String,org.ow2.bonita.facade.def.majorElement.ProcessDefinition> deployBar(byte[] barContent) throws DeploymentException
barContent:
- barContent to deploy
DeploymentException
- if an error occurs while deploying the given Bar
BonitaInternalException
- if an exception occurs.void deployClass(byte[] clazz) throws DeploymentException
clazz
- the bytes table of the class.
DeploymentException
- if there is already a deployed class with this name.
BonitaInternalException
- if an other exception occurs.void deployClasses(java.util.Collection<byte[]> classes) throws DeploymentException
classes
- a collection of classes. Each class is represented by a bytes table.
java.lang.IllegalArgumentException
- if classes is null parameter.
DeploymentException
- if there is already a deployed class with the name
BonitaInternalException
- if an other exception occurs.void deployClassesInJar(byte[] classesArchive) throws DeploymentException
classesArchive
- the archive containing the classes represented by a bytes table.
java.lang.IllegalArgumentException
- if the classes is null parameter.
DeploymentException
- if there is already a deployed class with this name or there's an IOException occurs.
BonitaInternalException
- if an other exception occurs.void undeploy(org.ow2.bonita.facade.uuid.PackageDefinitionUUID packageUUID) throws DeploymentException
packageUUID
- the package definition UUID.
This UUID can be retrieved from any DefinitionRecord
(e.g. ProcessDefinition
)
by calling DefinitionRecord.getPackageDefinitionUUID()
java.lang.IllegalStateException
- if the given parameter is null.
DeploymentException
- BonitaInternalException
- if an exception occurs.void removeClass(java.lang.String className) throws DeploymentException
className
- the name of the class.
DeploymentException
- if there's no class defined in global class repository with this name
or a deployed process is still using this class.
BonitaInternalException
- if an other exception occurs.void removeClasses(java.lang.String[] classNames) throws DeploymentException
classNames
- the table of class names.
DeploymentException
- if there's no class defined in global class repository with this name
or a deployed process is still using given classes (deployed into the global class repository).
BonitaInternalException
- if an other exception occurs.void replaceClass(java.lang.String className, byte[] newClazz) throws DeploymentException
className
- the class name to be replaced.newClazz
- the bytes table of the new class.
DeploymentException
- if the class to be replaced is not found
into the global class repository.
BonitaInternalException
- if an other exception occurs.void deletePackage(org.ow2.bonita.facade.uuid.PackageDefinitionUUID pacDefinitionUUID) throws PackageNotFoundException, UndeletablePackageException, UndeletableInstanceException
pacDefinitionUUID
- UUID of the package to delete
PackageNotFoundException
- if the package can't be found
UndeletablePackageException
- if at least one process instance can't be deleted
UndeletableInstanceException
- if at least one instance of this process can't be deleted
BonitaInternalException
- if an other exception occurs.void deleteAllPackages() throws UndeletableInstanceException, UndeletablePackageException
UndeletableInstanceException
- if at least one instance of this process can't be deleted
UndeletablePackaException
- if at least one instance of this process can't be deleted
BonitaInternalException
- if an other exception occurs.
UndeletablePackageException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |