|
|||||||||||
| 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.DomainPeer
A domain database peer. This class contains static methods that handles all accesses to the LS_DOMAIN table.
| Method Summary | |
static void |
doDelete(DataSource src,
DomainData data)
Deletes a domain from the data source. |
static void |
doInsert(DataSource src,
DomainData data)
Inserts a new domain into the data source. |
static java.util.ArrayList |
doSelectAll(DataSource src)
Returns a list of all domains in the data source. |
static DomainData |
doSelectByName(DataSource src,
java.lang.String name)
Returns a domain with a specified name. |
static void |
doUpdate(DataSource src,
DomainData data)
Updates a domain 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 doSelectAll(DataSource src)
throws DataObjectException
src - the data source to use
DataObjectException - if the data source couldn't be
accessed properly
public static DomainData doSelectByName(DataSource src,
java.lang.String name)
throws DataObjectException
src - the data source to usename - the domain name
DataObjectException - if the data source couldn't be
accessed properly
public static void doInsert(DataSource src,
DomainData data)
throws DataObjectException
src - the data source to usedata - the domain data object
DataObjectException - if the data source couldn't be
accessed properly
public static void doUpdate(DataSource src,
DomainData data)
throws DataObjectException
src - the data source to usedata - the domain data object
DataObjectException - if the data source couldn't be
accessed properly
public static void doDelete(DataSource src,
DomainData data)
throws DataObjectException
src - the data source to usedata - the domain data object
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 | ||||||||||