|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PlanDependencyManager
Method Summary | |
---|---|
void |
adjustChildDependencyList(java.lang.String dependencyType,
Plan plan,
java.util.Set<PlanKey> newChildPlanKeys,
boolean overwriteExisting)
Update the existing children dependencies of the given plan and dependency Type to match the provided list of new children. |
void |
adjustParentDependencyList(java.lang.String dependencyType,
Plan plan,
java.util.Set<PlanKey> newParentPlanKeys,
boolean overwriteExisting)
Update the existing parent dependencies of the given plan and dependency Type to match the provided list of new parents. |
java.util.Set<PlanDependency> |
getAllDependencies()
Retrieves all dependency relationships in the system regardless of the plans involved |
java.util.Set<java.lang.String> |
getChildChainKeys(Plan plan)
Retrieves all chain that are children of the current plan |
java.util.Set<PlanDependency> |
getChildPlanDependencies(Plan plan)
Retrievs all plan dependencies in which the given plan features as a parent |
java.util.Set<java.lang.String> |
getChildPlanKeys(Plan plan)
Retrievs all plan that are children of the current plan |
java.util.Set<java.lang.String> |
getNotEditableChildKeys(Plan plan)
Retrieves a list of keys representing the children that are not editable of the given plan |
java.util.Set<java.lang.String> |
getNotEditableParentKeys(Plan plan)
Retrieves a list of keys representing the children that are not editable of the given plan |
java.util.Set<java.lang.String> |
getParentChainKeys(Plan plan)
Retrieves all chain that are children of the current plan |
java.util.Set<PlanDependency> |
getParentPlanDependencies(Plan plan)
Retrievs all plan dependencies in which the given plan features as a child |
java.util.Set<java.lang.String> |
getParentPlanKeys(Plan plan)
Retrievs all plans that are a parent of the current plan |
void |
removeAllDependenciesForPlan(Plan plan)
Deletes any existing dependency featuring the given plan. |
boolean |
savePlanDependency(PlanDependency dependency)
Save the given dependency. |
Method Detail |
---|
@NotNull java.util.Set<PlanDependency> getAllDependencies()
@NotNull java.util.Set<PlanDependency> getChildPlanDependencies(@NotNull Plan plan)
plan
- - the parent
@NotNull java.util.Set<PlanDependency> getParentPlanDependencies(@NotNull Plan plan)
plan
- - the child
void removeAllDependenciesForPlan(@NotNull Plan plan)
plan
- to be removed@NotNull java.util.Set<java.lang.String> getChildPlanKeys(@NotNull Plan plan)
plan
- - the parent
@NotNull java.util.Set<java.lang.String> getParentPlanKeys(@NotNull Plan plan)
plan
- - the child
@NotNull java.util.Set<java.lang.String> getChildChainKeys(@NotNull Plan plan)
plan
- - the parent
@NotNull java.util.Set<java.lang.String> getParentChainKeys(@NotNull Plan plan)
plan
- - the parent
boolean savePlanDependency(@Nullable PlanDependency dependency)
dependency
- to save
@NotNull java.util.Set<java.lang.String> getNotEditableChildKeys(@NotNull Plan plan)
plan
- parent
@NotNull java.util.Set<java.lang.String> getNotEditableParentKeys(@NotNull Plan plan)
plan
- parent
void adjustChildDependencyList(@NotNull java.lang.String dependencyType, @NotNull Plan plan, @NotNull java.util.Set<PlanKey> newChildPlanKeys, boolean overwriteExisting)
dependencyType
- of the dependencies being adjustedplan
- parentnewChildPlanKeys
- the new list of parents (as plan keys)overwriteExisting
- whether or not to overwrite any existing dependencies (of a different type) with one of the new typevoid adjustParentDependencyList(@NotNull java.lang.String dependencyType, @NotNull Plan plan, @NotNull java.util.Set<PlanKey> newParentPlanKeys, boolean overwriteExisting)
dependencyType
- of the dependencies being adjustedplan
- parentnewParentPlanKeys
- the new list of parents (as plan keys)overwriteExisting
- whether or not to overwrite any existing dependencies (of a different type) with one of the new type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |