edu.internet2.middleware.grouper.internal.dao
Interface GroupTypeDAO

All Superinterfaces:
GrouperDAO
All Known Implementing Classes:
Hib3GroupTypeDAO

public interface GroupTypeDAO
extends GrouperDAO

Basic GroupType DAO interface.

Since:
1.2.0
Version:
$Id: GroupTypeDAO.java,v 1.10 2009-03-15 06:37:22 mchyzer Exp $
Author:
blair christensen.

Method Summary
 void createField(Field _f)
           
 void createOrUpdate(GroupType _gt)
           
 void delete(GroupType _gt, Set fields)
           
 void deleteField(Field _f)
           
 boolean existsByName(String name)
           
 Set<GroupType> findAll()
           
 Set<GroupType> findAllByCreator(Member member)
          find all groupTypes by creator
 GroupType findByUuid(String uuid)
          Deprecated. use overload instead
 GroupType findByUuid(String uuid, boolean exceptionIfNull)
           
 GroupType findByUuidOrName(String uuid, String name, boolean exceptionIfNull)
           
 void saveUpdateProperties(GroupType groupType)
          save the update properties which are auto saved when business method is called
 void update(GroupType groupType)
          update in db
 

Method Detail

createOrUpdate

void createOrUpdate(GroupType _gt)
                    throws GrouperDAOException
Parameters:
_gt -
Throws:
GrouperDAOException

createField

void createField(Field _f)
                 throws GrouperDAOException
Parameters:
_f -
Throws:
GrouperDAOException
Since:
1.2.0

delete

void delete(GroupType _gt,
            Set fields)
            throws GrouperDAOException
Parameters:
_gt -
fields -
Throws:
GrouperDAOException
Since:
1.2.0

deleteField

void deleteField(Field _f)
                 throws GrouperDAOException
Parameters:
_f -
Throws:
GrouperDAOException
Since:
1.2.0

existsByName

boolean existsByName(String name)
                     throws GrouperDAOException
Parameters:
name -
Returns:
boolean
Throws:
GrouperDAOException
Since:
1.2.0

findAll

Set<GroupType> findAll()
                       throws GrouperDAOException
Returns:
set of types
Throws:
GrouperDAOException
Since:
1.2.0

findByUuid

@Deprecated
GroupType findByUuid(String uuid)
                     throws GrouperDAOException,
                            SchemaException
Deprecated. use overload instead

Parameters:
uuid -
Returns:
uuid
Throws:
GrouperDAOException
SchemaException
Since:
1.2.0

findByUuid

GroupType findByUuid(String uuid,
                     boolean exceptionIfNull)
                     throws GrouperDAOException,
                            SchemaException
Parameters:
uuid -
exceptionIfNull -
Returns:
uuid
Throws:
GrouperDAOException
SchemaException
Since:
1.2.0

findAllByCreator

Set<GroupType> findAllByCreator(Member member)
find all groupTypes by creator

Parameters:
member -
Returns:
the groupTypes

findByUuidOrName

GroupType findByUuidOrName(String uuid,
                           String name,
                           boolean exceptionIfNull)
                           throws GrouperDAOException
Parameters:
uuid -
name -
exceptionIfNull -
Returns:
the stem or null
Throws:
GrouperDAOException
Since:
1.6.0

update

void update(GroupType groupType)
            throws GrouperDAOException
update in db

Parameters:
groupType -
Throws:
GrouperDAOException

saveUpdateProperties

void saveUpdateProperties(GroupType groupType)
save the update properties which are auto saved when business method is called

Parameters:
groupType -