com.atlassian.bamboo.plan
Interface FilteringPlanManager

All Superinterfaces:
PlanManager
All Known Implementing Classes:
PlanManagerImpl

public interface FilteringPlanManager
extends PlanManager


Method Summary
<T extends Plan>
java.util.List<T>
getAllPlansForClone(java.lang.Class<T> planType)
          Returns all Plan's filtered by Class Return list filtered to show only plans the current user is allowed to clone.
<T extends Plan>
java.util.List<T>
getRunnablePlansByProject(Project project, java.lang.Class<T> planType)
          Returns all Plan's filtered by Project and Class.
 
Methods inherited from interface com.atlassian.bamboo.plan.PlanManager
assertPlanPermission, createPlan, deletePlan, filterFavouritedPlans, getAllPlans, getAllPlans, getAllPlansByProject, getAllPlansMarkedForDeletion, getAllPlansUnrestricted, getFavouritePlans, getPlanById, getPlanById, getPlanByKey, getPlanByKey, getPlanByKey, getPlanByKey, getPlanByKeyIfOfType, getPlanByKeyIfOfType, getPlanByName, getPlanByPartialKeyAndName, getPlanByResultKey, getPlanByResultKey, getPlanClass, getPlanCount, getPlanCount, getPlanIdentifierForPermissionCheckingByKey, getPlanIdentifiersForProject, getPlansByProject, getPlansByProject, getProjectPlanMap, isChainNameConflicting, isPlanCreationAllowed, movePlanToProject, savePlan, setPlanSuspendedState, triggerConfigUpdatedEventsForPlansInProject, updateNamesAndDescription
 

Method Detail

getAllPlansForClone

@NotNull
<T extends Plan> java.util.List<T> getAllPlansForClone(java.lang.Class<T> planType)
Returns all Plan's filtered by Class Return list filtered to show only plans the current user is allowed to clone.

Parameters:
planType - the class type of the plans you want returned
Returns:
plans

getRunnablePlansByProject

@NotNull
<T extends Plan> java.util.List<T> getRunnablePlansByProject(Project project,
                                                                     java.lang.Class<T> planType)
Returns all Plan's filtered by Project and Class. Only plans runnable by user will be returned.

Parameters:
project - - that the plans will belong to
planType - - the type of the plan to retrieve
Returns:
plans contained within the given project and of the given type


Copyright © 2012 Atlassian. All Rights Reserved.