|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.liquidsite.core.data.AbstractPeer
org.liquidsite.core.data.GroupPeer
A group database peer. This class contains static methods that handles all accesses to the LS_GROUP table.
| Method Summary | |
static void |
doDelete(DataSource src,
GroupData data)
Deletes a group from the data source. |
static void |
doDeleteDomain(DataSource src,
java.lang.String domain)
Deletes all groups in a domain from the data source. |
static void |
doInsert(DataSource src,
GroupData data)
Inserts a new group into the data source. |
static java.util.ArrayList |
doSelectByDomain(DataSource src,
java.lang.String domain,
java.lang.String filter)
Returns a list of matching groups in a specified domain. |
static GroupData |
doSelectByName(DataSource src,
java.lang.String domain,
java.lang.String name)
Returns a group with a specified name. |
static void |
doUpdate(DataSource src,
GroupData data)
Updates a group in the data source. |
protected AbstractData |
getDataObject()
Returns a new instance of the data object. |
| Methods inherited from class org.liquidsite.core.data.AbstractPeer |
count, delete, insert, select, selectList, update |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static java.util.ArrayList doSelectByDomain(DataSource src,
java.lang.String domain,
java.lang.String filter)
throws DataObjectException
src - the data source to usedomain - the domain namefilter - the search filter (empty for all)
DataObjectException - if the data source couldn't be
accessed properly
public static GroupData doSelectByName(DataSource src,
java.lang.String domain,
java.lang.String name)
throws DataObjectException
src - the data source to usedomain - the domain namename - the group name
DataObjectException - if the data source couldn't be
accessed properly
public static void doInsert(DataSource src,
GroupData data)
throws DataObjectException
src - the data source to usedata - the group data object
DataObjectException - if the data source couldn't be
accessed properly
public static void doUpdate(DataSource src,
GroupData data)
throws DataObjectException
src - the data source to usedata - the group data object
DataObjectException - if the data source couldn't be
accessed properly
public static void doDelete(DataSource src,
GroupData data)
throws DataObjectException
src - the data source to usedata - the group data object
DataObjectException - if the data source couldn't be
accessed properly
public static void doDeleteDomain(DataSource src,
java.lang.String domain)
throws DataObjectException
src - the data source to usedomain - the domain name
DataObjectException - if the data source couldn't be
accessed properlyprotected AbstractData getDataObject()
getDataObject in class AbstractPeer
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||