|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IGoalDAO
Method Summary | |
---|---|
void |
eraseGoal(java.lang.Integer grantId)
Remove a goal |
void |
ereseGoalKpis(java.lang.Integer goalNodeId)
Remove the list of kpi model instances linked to a goalNode |
void |
ereseGoalNode(java.lang.Integer goalNodeId)
Remove a goal node |
java.util.List<GoalNode> |
getChildrenNodes(java.lang.Integer nodeId)
Get the children of a goal node |
java.util.List<GoalKpi> |
getGoalKpi(java.lang.Integer goalNodeId)
get the list of kpi model instances linked to a goalNode |
java.util.List<Goal> |
getGoalsList()
Loading the list of the goals |
GoalNode |
getRootNode(java.lang.Integer goalId,
java.lang.Integer ouId)
Get the root node of a goal hierarchy linked to an ou and a grant |
void |
insertGoal(Goal goal)
Insert a goal |
void |
insertGoalKpis(java.util.List<GoalKpi> goalKpis,
java.lang.Integer goalNodeId)
Insert a list of goal kpi model instances |
void |
insertGoalNode(GoalNode goalNode,
java.lang.Integer fatherId)
Insert a goal node |
void |
updateGoalName(java.lang.Integer goalId,
java.lang.String newName)
Update a goal node |
void |
updateGoalNode(GoalNode goalNode)
Update a goal node |
Methods inherited from interface it.eng.spagobi.commons.dao.ISpagoBIDao |
---|
getUserProfile, setUserID, setUserProfile |
Method Detail |
---|
java.util.List<Goal> getGoalsList()
void eraseGoal(java.lang.Integer grantId)
grantId
- the id of the goal to removevoid insertGoal(Goal goal)
goal
- the goal to insertGoalNode getRootNode(java.lang.Integer goalId, java.lang.Integer ouId)
goalId
- the goal idouId
- the id of the ou node
java.util.List<GoalNode> getChildrenNodes(java.lang.Integer nodeId)
nodeId
- the id of the node
void insertGoalNode(GoalNode goalNode, java.lang.Integer fatherId)
goalNode
- the goal nodefatherId
- the id of the father node (can be null)void ereseGoalNode(java.lang.Integer goalNodeId)
goalNodeId
- the id of the goal node to removevoid updateGoalNode(GoalNode goalNode)
goalNode
- the goal node to updatevoid updateGoalName(java.lang.Integer goalId, java.lang.String newName)
goalId
- the id of the goalnewName
- the new name of the goalvoid insertGoalKpis(java.util.List<GoalKpi> goalKpis, java.lang.Integer goalNodeId)
goalKpis
- the list to addgoalNodeId
- the id of the goal node linked to the kpi model instancesjava.util.List<GoalKpi> getGoalKpi(java.lang.Integer goalNodeId)
goalNodeId
- the id of the goal node
void ereseGoalKpis(java.lang.Integer goalNodeId)
goalNodeId
- the id of the goal node
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |