public class SiteActivityController extends JDBCObjectController<SiteActivity>
SiteActivity class. Provides methods for
retrieving and persisting site activity 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 |
|---|
SiteActivityController()
The constructor for the controller.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
deleteDate(java.util.Date asof)
Deletes the site activity records that were created before the given date.
|
java.lang.Object[] |
getAccessAsRS(java.lang.String type,
java.util.Date from,
java.util.Date thru)
Returns a result set of the site activity access values for the given
type and date range.
|
java.lang.Object[] |
getLocationsAsRS(int activity,
int location,
java.util.Date from,
java.util.Date thru)
Returns a result set of the site activity location values for the given
activity type, location type and date range.
|
int |
getPurgeCount(java.util.Date asof)
Returns the number of site activity records that were created before the
given date.
|
java.lang.Object[] |
getSummaryAsRS(java.util.Date from,
java.util.Date thru)
Returns a result set of the site activity summary values for the given
date range.
|
java.lang.Object[] |
getTrendsAsRS(int activity,
int trend,
java.util.Date from,
java.util.Date thru)
Returns a result set of the site activity trend values for the given
activity type, trend type and date range.
|
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 SiteActivityController()
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 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 java.lang.Object[] getLocationsAsRS(int activity,
int location,
java.util.Date from,
java.util.Date thru)
The invoker of this method is responsible for closing the returned result set and prepared statement.
activity - (int) The activity type to use for selecting records
in the site activity table.location - (int) The location type to use for selecting records
in the site activity table.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.public java.lang.Object[] getSummaryAsRS(java.util.Date from,
java.util.Date thru)
The invoker of this method is responsible for closing the returned result set and prepared statement.
from - (Date) The first date to include in the results.thru - (Date) The last date to include in the results.public java.lang.Object[] getTrendsAsRS(int activity,
int trend,
java.util.Date from,
java.util.Date thru)
The invoker of this method is responsible for closing the returned result set and prepared statement.
activity - (int) The activity type to use for selecting records
in the site activity table.trend - (int) The trend type to use for selecting records in the
site activity table.from - (Date) The first date to include in the results.thru - (Date) The last date to include in the results.