public interface CompositeDAO extends GrouperDAO
Composite
DAO interface.Modifier and Type | Method and Description |
---|---|
void |
delete(Composite c)
Delete a composite
|
Set<Composite> |
findAsFactor(Group _g) |
Set<Composite> |
findAsFactor(String groupId) |
Set<Composite> |
findAsFactorOrHasMemberOfFactor(String groupId) |
Composite |
findAsOwner(Group _g,
boolean exceptionIfNotFound) |
Set<Composite> |
findByCreator(Member member)
find all composites by creator
|
Composite |
findByUuid(String uuid,
boolean exceptionIfNotFound) |
Composite |
findByUuidOrName(String uuid,
String factorOwnerUUID,
String leftFactorUUID,
String rightFactorUUID,
String type,
boolean exceptionIfNull)
find a composite by name or uuid
|
Composite |
findByUuidOrName(String uuid,
String factorOwnerUUID,
String leftFactorUUID,
String rightFactorUUID,
String type,
boolean exceptionIfNull,
QueryOptions queryOptions)
find a composite by name or uuid
|
Set<Composite> |
getAllComposites() |
void |
save(Composite c)
Save a composite
|
void |
saveUpdateProperties(Composite composite)
save the update properties which are auto saved when business method is called
|
void |
update(Composite c)
update a composite
|
void |
update(Set toAdd,
Set toDelete,
Set modGroups,
Set modStems) |
Set<Composite> findAsFactorOrHasMemberOfFactor(String groupId)
groupId
- Set<Composite> findAsFactor(Group _g) throws GrouperDAOException
GrouperDAOException
Set<Composite> findAsFactor(String groupId) throws GrouperDAOException
groupId
- GrouperDAOException
Composite findAsOwner(Group _g, boolean exceptionIfNotFound) throws CompositeNotFoundException, GrouperDAOException
CompositeNotFoundException
GrouperDAOException
Composite findByUuid(String uuid, boolean exceptionIfNotFound) throws CompositeNotFoundException, GrouperDAOException
CompositeNotFoundException
GrouperDAOException
Set<Composite> getAllComposites() throws GrouperDAOException
GrouperDAOException
void update(Set toAdd, Set toDelete, Set modGroups, Set modStems) throws GrouperDAOException
GrouperDAOException
Set<Composite> findByCreator(Member member)
member
- void save(Composite c)
c
- The composite to save.void update(Composite c)
c
- The composite to update.void delete(Composite c)
c
- The composite to delete.Composite findByUuidOrName(String uuid, String factorOwnerUUID, String leftFactorUUID, String rightFactorUUID, String type, boolean exceptionIfNull)
uuid
- factorOwnerUUID
- leftFactorUUID
- rightFactorUUID
- type
- exceptionIfNull
- Composite findByUuidOrName(String uuid, String factorOwnerUUID, String leftFactorUUID, String rightFactorUUID, String type, boolean exceptionIfNull, QueryOptions queryOptions)
uuid
- factorOwnerUUID
- leftFactorUUID
- rightFactorUUID
- type
- exceptionIfNull
- queryOptions
- void saveUpdateProperties(Composite composite)
composite
- Copyright © 2016 Internet2. All rights reserved.