Package de.mid.innovator.srv2api.icw2ac
Class ACPartitionHelper
- java.lang.Object
-
- de.mid.innovator.srv2api.icw2ac.ACPartitionHelper
-
public abstract class ACPartitionHelper extends java.lang.Object
An activity partition is a kind of activity group that identifies actions that have common characteristics. Partitions divide the nodes and edges to constrain and show a view of the contained nodes. Partitions can share contents.- See Also:
ACPartition
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
assignPartitionsToNodes(SrvContext srvCtx, java.util.List<? extends ACActivityNode> seqNode, java.util.List<? extends ACActivityGroup> seqGroup)
static ACPartition
create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer)
Create a new Activity Partition with template and container.static ACPartition
create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer)
Create a new Activity Partition with stereotype and container.static ACPartition
insertAtSelection(SrvContext srvCtx, MMCreateTemplate ohTemplatePartition, java.util.List<? extends ACPartition> seqPartitionSelection, K_INSERT kInsertAt)
Inserts a newACPartition
using a partition template.
-
-
-
Method Detail
-
assignPartitionsToNodes
public static void assignPartitionsToNodes(SrvContext srvCtx, java.util.List<? extends ACActivityNode> seqNode, java.util.List<? extends ACActivityGroup> seqGroup) throws InoNetException, SrvErrorException
Assigns each of the nodes to all of the partitions without removing any nodes from the partitions. Assignments are, therefore, only added but not deleted.- Parameters:
srvCtx
- The context of the related innovator server.seqNode
-seqGroup
-- Throws:
InoNetException
SrvErrorException
-
insertAtSelection
public static ACPartition insertAtSelection(SrvContext srvCtx, MMCreateTemplate ohTemplatePartition, java.util.List<? extends ACPartition> seqPartitionSelection, K_INSERT kInsertAt) throws InoNetException, SrvErrorException
Inserts a newACPartition
using a partition template. If theACPartition
has to be inserted relative to one or more other partitions, these partitions, and the insertion position may be specified.- Parameters:
srvCtx
- The context of the related innovator server.ohTemplatePartition
- the template for the new partitionseqPartitionSelection
- The list of selected partitions (mandatory, at least one partition).kInsertAt
- specifies where to insert the new relative to the selected partition- Throws:
InoNetException
SrvErrorException
-
create
public static ACPartition create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer) throws InoNetException, SrvErrorException
Create a new Activity Partition with stereotype and container.- Parameters:
srvCtx
- The context of the related innovator server.ohStereotype
- Stereotype for the new elementohContainer
- Container for the new element- Throws:
InoNetException
SrvErrorException
-
create
public static ACPartition create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer) throws InoNetException, SrvErrorException
Create a new Activity Partition with template and container.- Parameters:
srvCtx
- The context of the related innovator server.ohTemplate
- Template for the new elementohContainer
- Container for the new element- Throws:
InoNetException
SrvErrorException
-
-