|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ChainManager
Management of Chain
's
Method Summary | |
---|---|
Chain |
create(Project project,
java.lang.String chainKey,
java.lang.String name,
java.lang.String description)
Creates a new Chain |
boolean |
exists(java.lang.String fullKey)
Checks if the Chain exists using the full key (eg BAM-BOO) |
java.util.Collection<Chain> |
getAllChains()
Returns all the Chain 's |
Chain |
getByChainKey(java.lang.String key)
Gets the Chain by its key (eg. |
Chain |
getByPlanKey(PlanKey planKey)
Gets the Chain by its PlanKey |
int |
getNextChainNumber(Chain chain)
Get Next Chain Number |
boolean |
isExistingKey(Project project,
java.lang.String key)
Checks if the Chain exists by its key |
boolean |
isExistingName(Project project,
java.lang.String name)
Checks if the Chain exists by its name |
void |
moveStage(Chain chain,
int newPosition,
ChainStage chainStage)
Move a ChainStage to a new position |
void |
save(Chain chain)
Saves the Chain |
Method Detail |
---|
@Nullable Chain getByPlanKey(@NotNull PlanKey planKey)
Chain
by its PlanKey
planKey
-
@Nullable Chain getByChainKey(@NotNull java.lang.String key)
Chain
by its key (eg. BAM-FOO)
key
-
@NotNull java.util.Collection<Chain> getAllChains()
Chain
's
@NotNull Chain create(@NotNull Project project, @NotNull java.lang.String chainKey, @NotNull java.lang.String name, java.lang.String description)
project
- chainKey
- name
- description
-
void save(@NotNull Chain chain)
Chain
chain
- boolean exists(@NotNull java.lang.String fullKey)
Chain
exists using the full key (eg BAM-BOO)
fullKey
-
boolean isExistingKey(@NotNull Project project, @NotNull java.lang.String key)
Chain
exists by its key
project
- key
-
boolean isExistingName(@NotNull Project project, @NotNull java.lang.String name)
Chain
exists by its name
name
-
int getNextChainNumber(@NotNull Chain chain)
chain
-
void moveStage(@NotNull Chain chain, int newPosition, @NotNull ChainStage chainStage)
ChainStage
to a new position
newPosition
- chain
- chainStage
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |