Class OAuth2Dao
- java.lang.Object
-
- org.apache.openmeetings.db.dao.server.OAuth2Dao
-
- All Implemented Interfaces:
IDataProviderDao<OAuthServer>
@Repository @Transactional public class OAuth2Dao extends Object implements IDataProviderDao<OAuthServer>
-
-
Constructor Summary
Constructors Constructor Description OAuth2Dao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longcount()Count the number of instances ofIDataProviderDaolongcount(String search)Count the number of instances ofIDataProviderDaovoiddelete(OAuthServer server, Long userId)Delete an instance ofIDataProviderDaoList<OAuthServer>get(long start, long count)Get a list of instances ofIDataProviderDaoOAuthServerget(Long id)Get an instance of anIDataProviderDaoList<OAuthServer>get(String search, long start, long count, String order)Get a list of instances ofIDataProviderDaoList<OAuthServer>getActive()OAuthServerupdate(OAuthServer server, Long userId)Update an instance ofIDataProviderDao-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.openmeetings.db.dao.IDataProviderDao
get
-
-
-
-
Method Detail
-
getActive
public List<OAuthServer> getActive()
-
get
public OAuthServer get(Long id)
Description copied from interface:IDataProviderDaoGet an instance of anIDataProviderDao- Specified by:
getin interfaceIDataProviderDao<OAuthServer>- Parameters:
id- - id of instance to retrieve- Returns:
- instance with the id gived
-
get
public List<OAuthServer> get(long start, long count)
Description copied from interface:IDataProviderDaoGet a list of instances ofIDataProviderDao- Specified by:
getin interfaceIDataProviderDao<OAuthServer>- Parameters:
start- - the start to range to retrievecount- - maximum instance count to retrieve- Returns:
- list of instances in the range specified
-
get
public List<OAuthServer> get(String search, long start, long count, String order)
Description copied from interface:IDataProviderDaoGet a list of instances ofIDataProviderDao- Specified by:
getin interfaceIDataProviderDao<OAuthServer>- Parameters:
search- - string search criteria to filter entitiesstart- - the start to range to retrievecount- - maximum instance count to retrieveorder- - column and sort order- Returns:
- list of instances in the range specified
-
count
public long count()
Description copied from interface:IDataProviderDaoCount the number of instances ofIDataProviderDao- Specified by:
countin interfaceIDataProviderDao<OAuthServer>- Returns:
- count of instances
-
count
public long count(String search)
Description copied from interface:IDataProviderDaoCount the number of instances ofIDataProviderDao- Specified by:
countin interfaceIDataProviderDao<OAuthServer>- Parameters:
search- - string search criteria to filter entities- Returns:
- count of instances satisfying given search criteria
-
update
public OAuthServer update(OAuthServer server, Long userId)
Description copied from interface:IDataProviderDaoUpdate an instance ofIDataProviderDao- Specified by:
updatein interfaceIDataProviderDao<OAuthServer>- Parameters:
server- - entity to be updateduserId- - user performed update- Returns:
- - updated entity
-
delete
public void delete(OAuthServer server, Long userId)
Description copied from interface:IDataProviderDaoDelete an instance ofIDataProviderDao- Specified by:
deletein interfaceIDataProviderDao<OAuthServer>- Parameters:
server- - entity to be deleteduserId- - user performed delete
-
-