public class OriginEntryGroupDaoOjb extends org.kuali.rice.core.framework.persistence.ojb.dao.PlatformAwareDaoBaseOjb implements OriginEntryGroupDao
Constructor and Description |
---|
OriginEntryGroupDaoOjb() |
Modifier and Type | Method and Description |
---|---|
void |
deleteGroups(Collection<OriginEntryGroup> groups)
Delete all the groups in the list.
|
Collection<OriginEntryGroup> |
getAllScrubbableBackupGroups()
Gets a collection of all backup groups that are scrubbable (i.e.
|
OriginEntryGroup |
getExactMatchingEntryGroup(Integer id)
We all know that computers aren't naturally exact.
|
Collection |
getGroupsToBackup(Date groupDate)
Get all the groups to be copied into the backup group
|
OriginEntryGroup |
getGroupWithMaxIdFromSource(String sourceCode)
Given an origin entry group source type (defined in OriginEntrySource)
|
Collection |
getMatchingGroups(Map searchCriteria)
Builds an OJB query out of the given map of criteria and fetches all the groups that match the criteria
|
Collection<OriginEntryGroup> |
getOlderGroups(Date day)
Get all the groups that are older than a date
|
Collection |
getPosterGroups(String groupSourceCode)
Get all the groups for the poster (that is to say, Groups with "Process" being true)
|
Collection<OriginEntryGroup> |
getRecentGroups(Date day)
Given a date, finds all origin entry groups that were created on or after that date
|
getDbPlatform, setDbPlatform
public OriginEntryGroupDaoOjb()
public OriginEntryGroup getGroupWithMaxIdFromSource(String sourceCode)
getGroupWithMaxIdFromSource
in interface OriginEntryGroupDao
sourceCode
- the source code of the groups to findOriginEntrySource
,
OriginEntryGroupDao.getGroupWithMaxIdFromSource(java.lang.String)
public Collection<OriginEntryGroup> getOlderGroups(Date day)
getOlderGroups
in interface OriginEntryGroupDao
day
- the date groups returned should be older thanOriginEntryGroupDao.getOlderGroups(Date)
public void deleteGroups(Collection<OriginEntryGroup> groups)
deleteGroups
in interface OriginEntryGroupDao
OriginEntryGroupDao.deleteGroups(java.util.Collection)
public Collection getMatchingGroups(Map searchCriteria)
getMatchingGroups
in interface OriginEntryGroupDao
searchCriteria
- a Map of search criteria to form the queryOriginEntryGroupDao.getMatchingGroups(java.util.Map)
public Collection getPosterGroups(String groupSourceCode)
getPosterGroups
in interface OriginEntryGroupDao
groupSourceCode
- the source code of origin entry groups to returnOriginEntryGroupDao.getPosterGroups(java.lang.String)
public Collection<OriginEntryGroup> getAllScrubbableBackupGroups()
getAllScrubbableBackupGroups
in interface OriginEntryGroupDao
OriginEntryGroupDao.getAllScrubbableBackupGroups()
public Collection getGroupsToBackup(Date groupDate)
getGroupsToBackup
in interface OriginEntryGroupDao
groupDate
- the date returned origin entry groups must have been created on or beforeorg.kuali.ole.gl.dataaccess.OriginEntryGroupDao#getScrubberGroups(java.sql.Date)
public OriginEntryGroup getExactMatchingEntryGroup(Integer id)
getExactMatchingEntryGroup
in interface OriginEntryGroupDao
id
- the id of the origin entry group to returnOriginEntryGroupDao.getExactMatchingEntryGroup(java.lang.Integer)
public Collection<OriginEntryGroup> getRecentGroups(Date day)
getRecentGroups
in interface OriginEntryGroupDao
day
- the date that defines recency - all qualifying origin entries groups will have been created on or after that dayOriginEntryGroupDao.getRecentGroups(Date)
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.