Interface CompositeDAO
- All Superinterfaces:
GrouperDAO
- All Known Implementing Classes:
Hib3CompositeDAO
Basic
Composite
DAO interface.- Since:
- 1.2.0
- Version:
- $Id: CompositeDAO.java,v 1.12 2009-08-12 12:44:45 shilen Exp $
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Delete a compositefind
(GrouperSession grouperSession, String parentStemId, Stem.Scope stemScope, Subject subject, Set<Privilege> privileges) find composites securefindAsFactor
(Group _g) findAsFactor
(String groupId) findAsFactorOrHasMemberOfFactor
(String groupId) findAsOwner
(Group _g, boolean exceptionIfNotFound) findByCreator
(Member member) find all composites by creatorfindByUuid
(String uuid, boolean exceptionIfNotFound) findByUuidOrName
(String uuid, String factorOwnerUUID, String leftFactorUUID, String rightFactorUUID, String type, boolean exceptionIfNull) find a composite by name or uuidfindByUuidOrName
(String uuid, String factorOwnerUUID, String leftFactorUUID, String rightFactorUUID, String type, boolean exceptionIfNull, QueryOptions queryOptions) find a composite by name or uuidvoid
Save a compositevoid
saveUpdateProperties
(Composite composite) save the update properties which are auto saved when business method is calledvoid
update a compositevoid
-
Method Details
-
findAsFactorOrHasMemberOfFactor
- Parameters:
groupId
-- Returns:
- Set of composites
- Since:
- 1.5.0
-
findAsFactor
- Throws:
GrouperDAOException
- Since:
- 1.2.0
-
findAsFactor
- Parameters:
groupId
-- Returns:
- set of composites
- Throws:
GrouperDAOException
- Since:
- 1.5.0
-
findAsOwner
Composite findAsOwner(Group _g, boolean exceptionIfNotFound) throws CompositeNotFoundException, GrouperDAOException - Throws:
CompositeNotFoundException
GrouperDAOException
- Since:
- 1.2.0
-
findByUuid
Composite findByUuid(String uuid, boolean exceptionIfNotFound) throws CompositeNotFoundException, GrouperDAOException - Throws:
CompositeNotFoundException
GrouperDAOException
- Since:
- 1.2.0
-
getAllComposites
- Throws:
GrouperDAOException
- Since:
- 1.3.1
-
update
- Throws:
GrouperDAOException
- Since:
- 1.2.0
-
findByCreator
find all composites by creator- Parameters:
member
-- Returns:
- the composites
-
save
Save a composite- Parameters:
c
- The composite to save.
-
update
update a composite- Parameters:
c
- The composite to update.
-
delete
Delete a composite- Parameters:
c
- The composite to delete.
-
findByUuidOrName
Composite findByUuidOrName(String uuid, String factorOwnerUUID, String leftFactorUUID, String rightFactorUUID, String type, boolean exceptionIfNull) find a composite by name or uuid- Parameters:
uuid
-factorOwnerUUID
-leftFactorUUID
-rightFactorUUID
-type
-exceptionIfNull
-- Returns:
- the composite or null
-
findByUuidOrName
Composite findByUuidOrName(String uuid, String factorOwnerUUID, String leftFactorUUID, String rightFactorUUID, String type, boolean exceptionIfNull, QueryOptions queryOptions) find a composite by name or uuid- Parameters:
uuid
-factorOwnerUUID
-leftFactorUUID
-rightFactorUUID
-type
-exceptionIfNull
-queryOptions
-- Returns:
- the composite or null
-
saveUpdateProperties
save the update properties which are auto saved when business method is called- Parameters:
composite
-
-
find
Set<Composite> find(GrouperSession grouperSession, String parentStemId, Stem.Scope stemScope, Subject subject, Set<Privilege> privileges) find composites secure- Parameters:
parentStemId
-stemScope
-- Returns:
- composites
-