|
|||||||||||
| 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.LockPeer
A content lock database peer. This class contains static methods that handles all accesses to the LS_LOCK table.
| Method Summary | |
static void |
doDelete(DataSource src,
LockData data)
Deletes a lock object from the data source. |
static void |
doDeleteContent(DataSource src,
int content)
Deletes a lock object from the data source. |
static void |
doDeleteDomain(DataSource src,
java.lang.String domain)
Deletes all lock objects in a specified domain from the data source. |
static void |
doDeleteOutdated(DataSource src)
Deletes all lock objects that are outdated. |
static void |
doInsert(DataSource src,
LockData data)
Inserts a new lock object into the data source. |
static LockData |
doSelectByContent(DataSource src,
int content)
Returns the lock object with the specified content id. |
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 LockData doSelectByContent(DataSource src,
int content)
throws DataObjectException
src - the data source to usecontent - the content id
DataObjectException - if the data source couldn't be
accessed properly
public static void doInsert(DataSource src,
LockData data)
throws DataObjectException
src - the data source to usedata - the lock data object
DataObjectException - if the data source couldn't be
accessed properly
public static void doDelete(DataSource src,
LockData data)
throws DataObjectException
src - the data source to usedata - the lock data object
DataObjectException - if the data source couldn't be
accessed properly
public static void doDeleteContent(DataSource src,
int content)
throws DataObjectException
src - the data source to usecontent - the content object id
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 properly
public static void doDeleteOutdated(DataSource src)
throws DataObjectException
src - the data source to use
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 | ||||||||||