public class SiteActivityPageController extends JDBCObjectController<SiteActivityPage>
SiteActivityPage class. Provides methods for
retrieving and persisting site activity page table records in the database.| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID
The class' serialization version id.
|
ivDBObjCls, ivFieldCount, ivFieldKeyAlt, ivFieldKeyPri, ivFieldResPfx, ivSyncLast, ivSyncType, ivTableNameivHashCode, ivHashFlds, ivObjAttrs| Constructor and Description |
|---|
SiteActivityPageController()
The constructor for the controller.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
deleteDate(java.util.Date asof)
Deletes the site activity page records that were created before the given
date.
|
boolean |
deleteSession(java.lang.String sessionId)
Deletes all site activity pages for the given session id.
|
java.lang.Object[] |
getAccessAsRS(java.lang.String type,
java.util.Date from,
java.util.Date thru)
Returns a result set of the site activity page values for the given
type and date range.
|
int |
getPurgeCount(java.util.Date asof)
Returns the number of site activity page records that were created before
the given date.
|
add, add, add, arrayToMap, arrayToMap, countAll, delete, delete, deleteAll, dispose, equals, getAll, getConnection, getConnectionInfo, getController, getFieldNames, getFieldNamesForKey, getFieldNamesForUpdate, getFieldNulls, getFieldNullsForKey, getFieldNullsForUpdate, getFieldsForOrderBy, getFieldsForWhere, getFieldSize, getFieldTypes, getFieldTypesForKey, getFieldTypesForUpdate, getStatementForDelete, getStatementForGet, getStatementForGetAll, getStatementForInsert, getStatementForUpdate, getStatementKey, getStatementString, getTableName, hasFieldNamesForKey, hasFieldNamesForUpdate, isDuplicate, resultSetToArray, resultSetToMap, resultSetToMap, resultSetToObject, setConnectionInfo, setPSDeleteValues, setPSExistsValues, setPSInsertValues, setPSUpdateValues, setPSValue, update, update, valuesToObjectcloneMapAttributes, formatValue, formatValue, getHashFields, getMapArrayList, getMapAttributes, getMapBigDecimal, getMapBoolean, getMapDate, getMapDouble, getMapInteger, getMapLong, getMapMapped, getMapObject, getMapShort, getMapString, getMapString, getMapStringBuffer, getMapStringBuilder, getMapTime, getMapTimestamp, getMapVector, hashCode, setHashFields, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMapAttributes, setMapObject, setMapTime, setMapTimestamp, toStringArrayprivate static final long serialVersionUID
public SiteActivityPageController()
public boolean deleteDate(java.util.Date asof)
asof - (java.util.Date) The cutoff date for the desired records.true if the deletes were successful,
otherwise false.public boolean deleteSession(java.lang.String sessionId)
sessionId - (String) The id of the session to delete.true if the site activity pages deleted
successfully, otherwise false.public java.lang.Object[] getAccessAsRS(java.lang.String type,
java.util.Date from,
java.util.Date thru)
The invoker of this method is responsible for closing the returned result set and prepared statement.
type - (String) The type of access activity to retrieve.from - (Date) The first date to include in the results.thru - (Date) The last date to include in the results.public int getPurgeCount(java.util.Date asof)
asof - (java.util.Date) The cutoff date for the desired records.