Interface AttributeDefNameSetDAO
- All Superinterfaces:
GrouperDAO
- All Known Implementing Classes:
Hib3AttributeDefNameSetDAO
attribute def name set, links up attributes with other attributes (probably for privs)
-
Method Summary
Modifier and TypeMethodDescriptionattributeDefNamesImpliedByThis
(String attributeDefNameId) get all the THEN rows from attributeDefNameSet about this id.attributeDefNamesImpliedByThisImmediate
(String attributeDefNameId) get all the THEN rows from attributeDefNameSet about this id (immediate).attributeDefNamesThatImplyThis
(String attributeDefNameId) get all the IF rows from attributeDefNameSet about this id.attributeDefNamesThatImplyThisImmediate
(String attributeDefNameId) get all the IF rows from attributeDefNameSet about this id (immediate only).void
delete
(AttributeDefNameSet attributeDefNameSet) delete an attribute def name setvoid
deleteByIfHasAttributeDefName
(AttributeDefName attributeDefName) delete attributeDefName sets by owner, so the attributeDefName can be deletedfindByDepthOneForAttributeDef
(String attributeDefId) find by depth one for attribute deffind by set ownerfindByIfThenHasAttributeDefNameId
(String attributeDefNameSetForThens, String attributeDefNameSetForIfs) this will help with deletes.findByIfThenImmediate
(String attributeDefNameIdIf, String attributeDefNameIdThen, boolean exceptionIfNotFound) find by if and then (not same) with depth of 1 (immediate)find by memberfindByUuidOrKey
(String id, String ifHasAttributeDefNameId, String thenHasAttributedefNameId, String parentAttributeDefNameSetId, int depth, boolean exceptionIfNull) find a record by uuid or keyvoid
saveOrUpdate
(AttributeDefNameSet attributeDefNameSet) insert or update an attribute def name setvoid
saveUpdateProperties
(AttributeDefNameSet attributeDefNameSet) save the update properties which are auto saved when business method is called
-
Method Details
-
saveOrUpdate
insert or update an attribute def name set- Parameters:
attributeDefNameSet
-
-
delete
delete an attribute def name set- Parameters:
attributeDefNameSet
-
-
findById
AttributeDefNameSet findById(String id, boolean exceptionIfNotFound) throws AttributeDefNameSetNotFoundException - Parameters:
id
-exceptionIfNotFound
-- Returns:
- the attribute def name set or null if not there
- Throws:
AttributeDefNameSetNotFoundException
-
findByIfHasAttributeDefNameId
find by set owner- Parameters:
id
-- Returns:
- the attribute def name set or null if not there
-
findByThenHasAttributeDefNameId
find by member- Parameters:
id
-- Returns:
- the attribute def name set or null if not there
-
findByDepthOneForAttributeDef
find by depth one for attribute def- Parameters:
attributeDefId
-- Returns:
- the attribute def name set or null if not there
-
findByIfThenHasAttributeDefNameId
Set<AttributeDefNameSet> findByIfThenHasAttributeDefNameId(String attributeDefNameSetForThens, String attributeDefNameSetForIfs) 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:
attributeDefNameSetForThens
-attributeDefNameSetForIfs
-- Returns:
- the attribute def name set or null if not there
-
findByIfThenImmediate
AttributeDefNameSet findByIfThenImmediate(String attributeDefNameIdIf, String attributeDefNameIdThen, boolean exceptionIfNotFound) throws AttributeDefNameSetNotFoundException find by if and then (not same) with depth of 1 (immediate)- Parameters:
attributeDefNameIdIf
-attributeDefNameIdThen
-exceptionIfNotFound
-- Returns:
- the attributeDefNameSet
- Throws:
AttributeDefNameSetNotFoundException
-
deleteByIfHasAttributeDefName
delete attributeDefName sets by owner, so the attributeDefName can be deleted- Parameters:
attributeDefName
-
-
attributeDefNamesThatImplyThis
get all the IF rows from attributeDefNameSet about this id. The ones returned imply that this is also assigned. Those are the parents, this is the child.- Parameters:
attributeDefNameId
-- Returns:
- the AttributeDefName
-
attributeDefNamesThatImplyThisImmediate
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:
attributeDefNameId
-- Returns:
- the AttributeDefName
-
attributeDefNamesImpliedByThis
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:
attributeDefNameId
-- Returns:
- the AttributeDefName
-
attributeDefNamesImpliedByThisImmediate
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:
attributeDefNameId
-- Returns:
- the AttributeDefName
-
findByUuidOrKey
AttributeDefNameSet findByUuidOrKey(String id, String ifHasAttributeDefNameId, String thenHasAttributedefNameId, String parentAttributeDefNameSetId, int depth, boolean exceptionIfNull) find a record by uuid or key- Parameters:
id
-ifHasAttributeDefNameId
-thenHasAttributedefNameId
-parentAttributeDefNameSetId
-depth
-exceptionIfNull
-- Returns:
- the AttributeDefNameSet or null
-
saveUpdateProperties
save the update properties which are auto saved when business method is called- Parameters:
attributeDefNameSet
-
-