Interface AttributeAssignActionSetDAO
- All Superinterfaces:
GrouperDAO
- All Known Implementing Classes:
Hib3AttributeAssignActionSetDAO
attribute assign action set, links up actions with other actions (probably for privs)
-
Method Summary
Modifier and TypeMethodDescriptionattributeAssignActionsImpliedByThis
(String attributeAssignActionId) get all the THEN rows from attributeDefNameSet about this id.attributeAssignActionsImpliedByThisImmediate
(String attributeAssignActionId) get all the THEN rows from attributeDefNameSet about this id (immediate).attributeAssignActionsThatImplyThis
(String attributeAssignActionId) get all the IF rows from attributeAssignActionSet about this id.attributeAssignActionsThatImplyThisImmediate
(String attributeAssignActionId) get all the IF rows from attributeDefNameSet about this id (immediate only).void
delete
(AttributeAssignActionSet attributeAssignActionSet) delete an attribute assign action setvoid
deleteByIfHasAttributeAssignAction
(AttributeAssignAction attributeAssignAction) delete attributeAssignAction sets by owner, so the attributeAssignAction can be deletedfindByDepthOneForAttributeDef
(String attributeDefId) find by depth one for attribute deffind by set ownerfindByIfThenHasAttributeAssignActionId
(String attributeAssignActionSetForThens, String attributeAssignActionSetForIfs) this will help with deletes.findByIfThenImmediate
(String attributeAssignActionIdIf, String attributeAssignActionIdThen, boolean exceptionIfNotFound) find by if and then (not same) with depth of 1 (immediate)find by memberfindByUuidOrKey
(String id, String ifHasAttributeAssignActionId, String thenHasAttributeAssignActionId, String parentAttributeAssignActionSetId, int depth, boolean exceptionIfNull) find a record by uuid or keyvoid
saveOrUpdate
(AttributeAssignActionSet attributeAssignActionSet) insert or update an attributeAssignActionSetvoid
saveUpdateProperties
(AttributeAssignActionSet attributeAssignActionSet) save the update properties which are auto saved when business method is called
-
Method Details
-
saveOrUpdate
insert or update an attributeAssignActionSet- Parameters:
attributeAssignActionSet
-
-
delete
delete an attribute assign action set- Parameters:
attributeAssignActionSet
-
-
findById
AttributeAssignActionSet findById(String id, boolean exceptionIfNotFound) throws AttributeAssignActionSetNotFoundException - Parameters:
id
-exceptionIfNotFound
-- Returns:
- the attribute def name set or null if not there
- Throws:
AttributeAssignActionSetNotFoundException
-
findByIfHasAttributeAssignActionId
find by set owner- Parameters:
id
-- Returns:
- the attribute assign action set or null if not there
-
findByThenHasAttributeAssignActionId
find by member- Parameters:
id
-- Returns:
- the attribute assign action set or null if not there
-
findByIfThenHasAttributeAssignActionId
Set<AttributeAssignActionSet> findByIfThenHasAttributeAssignActionId(String attributeAssignActionSetForThens, String attributeAssignActionSetForIfs) this will help with deletes. It will find sets who have if's which match thens provided, and thens which match ifs provided. So if there is this path: A -> B -> C -> D And the inputs here are B and C (removing that path) Then return A -> C, A -> D, B -> C, B -> D
- Parameters:
attributeAssignActionSetForThens
-attributeAssignActionSetForIfs
-- Returns:
- the attribute assign action set or null if not there
-
findByIfThenImmediate
AttributeAssignActionSet findByIfThenImmediate(String attributeAssignActionIdIf, String attributeAssignActionIdThen, boolean exceptionIfNotFound) throws AttributeAssignActionSetNotFoundException find by if and then (not same) with depth of 1 (immediate)- Parameters:
attributeAssignActionIdIf
-attributeAssignActionIdThen
-exceptionIfNotFound
-- Returns:
- the attributeAssignActionSet
- Throws:
AttributeAssignActionSetNotFoundException
-
deleteByIfHasAttributeAssignAction
delete attributeAssignAction sets by owner, so the attributeAssignAction can be deleted- Parameters:
attributeAssignAction
-
-
attributeAssignActionsThatImplyThis
get all the IF rows from attributeAssignActionSet about this id. The ones returned imply that this is also assigned. Those are the parents, this is the child.- Parameters:
attributeAssignActionId
-- Returns:
- the AttributeAssignAction
-
attributeAssignActionsThatImplyThisImmediate
Set<AttributeAssignAction> attributeAssignActionsThatImplyThisImmediate(String attributeAssignActionId) get all the IF rows from attributeDefNameSet about this id (immediate only). The ones returned imply that this is also assigned. Those are the parents, this is the child.- Parameters:
attributeAssignActionId
-- Returns:
- the attributeAssignActionId
-
attributeAssignActionsImpliedByThis
get all the THEN rows from attributeDefNameSet about this id. The ones returned are implied if this one is assigned. Those are the children, this is the parent- Parameters:
attributeAssignActionId
-- Returns:
- the AttributeAssignAction
-
attributeAssignActionsImpliedByThisImmediate
Set<AttributeAssignAction> attributeAssignActionsImpliedByThisImmediate(String attributeAssignActionId) get all the THEN rows from attributeDefNameSet about this id (immediate). The ones returned are implied if this one is assigned. Those are the children, this is the parent- Parameters:
attributeAssignActionId
-- Returns:
- the AttributeDefName
-
findByUuidOrKey
AttributeAssignActionSet findByUuidOrKey(String id, String ifHasAttributeAssignActionId, String thenHasAttributeAssignActionId, String parentAttributeAssignActionSetId, int depth, boolean exceptionIfNull) find a record by uuid or key- Parameters:
id
-ifHasAttributeAssignActionId
-thenHasAttributeAssignActionId
-parentAttributeAssignActionSetId
-depth
-exceptionIfNull
-- Returns:
- the roleset or null
-
saveUpdateProperties
save the update properties which are auto saved when business method is called- Parameters:
attributeAssignActionSet
-
-
findByDepthOneForAttributeDef
find by depth one for attribute def- Parameters:
attributeDefId
-- Returns:
- the attribute assign action set or null if not there
-