org.opengts.extra.tables
Class SystemAudit

java.lang.Object
  extended by org.opengts.dbtools.DBRecord<RT>
      extended by org.opengts.db.AccountRecord<SystemAudit>
          extended by org.opengts.extra.tables.SystemAudit

public class SystemAudit
extends AccountRecord<SystemAudit>


Nested Class Summary
static class SystemAudit.Key
           
 
Nested classes/interfaces inherited from class org.opengts.db.AccountRecord
AccountRecord.AccountKey<RT extends DBRecord>
 
Nested classes/interfaces inherited from class org.opengts.dbtools.DBRecord
DBRecord.DBChangeListener
 
Field Summary
static java.lang.String _TABLE_NAME
           
static java.lang.String FLD_auditCode
           
static java.lang.String FLD_auditTime
           
static java.lang.String FLD_deviceID
           
static java.lang.String FLD_ipAddress
           
static java.lang.String FLD_privateLabelName
           
static java.lang.String FLD_userID
           
 
Fields inherited from class org.opengts.db.AccountRecord
FLD_accountID, FLD_displayName, FLD_isActive, FLD_notes
 
Fields inherited from class org.opengts.dbtools.DBRecord
errorDescription, excludedUpdateFields, FLD_creationMillis, FLD_creationTime, FLD_description, FLD_lastUpdateAccount, FLD_lastUpdateTime, FLD_lastUpdateUser, hasError, ID_SIZE, isValidating, lastSQLException, NOTIFY_GROUP, PSEUDO_FIELD_CHAR, tempProps
 
Constructor Summary
SystemAudit()
           
SystemAudit(SystemAudit.Key key)
           
 
Method Summary
static void AddAudit(java.lang.String accountID, long auditTime, int auditCode, java.lang.String userID, java.lang.String deviceID, java.lang.String ipAddress, java.lang.String privateLabelName, java.lang.String notes)
           
 int getAuditCode()
          Gets the reason for this audit record
 long getAuditTime()
           
 java.lang.String getDeviceID()
           
static DBFactory<SystemAudit> getFactory()
           
 DTIPAddress getIpAddress()
           
 java.lang.String getPrivateLabelName()
           
static void getRecordCallback(DBRecordHandler<SystemAudit> rcdHandler, java.lang.String accountID, int auditCode, long startTime, long endTime, long limit)
           
static java.lang.String getTableDescription(java.util.Locale loc)
           
 java.lang.String getUserID()
           
static void main(java.lang.String[] args)
           
 void setAuditCode(int v)
          Sets the reason for this audit record
 void setAuditTime(long v)
           
 void setDeviceID(java.lang.String v)
           
 void setIpAddress(DTIPAddress v)
           
 void setIpAddress(java.lang.String v)
           
 void setPrivateLabelName(java.lang.String v)
           
static java.lang.String TABLE_NAME()
           
 java.lang.String toString()
          Returns a String representation of the DBRecordKey for this DBRecord
 
Methods inherited from class org.opengts.db.AccountRecord
createSystemAdminAccount, getAccount, getAccountDescription, getAccountID, getDisplayName, getFilteredID, getFilteredID, getIsActive, getNotes, GetSimpleLocalString, getSystemAdminAccount, getSystemAdminAccountID, hasAccount, hasSystemAdminAccountID, isAccountManager, isActive, isSystemAdmin, isSystemAdmin, isSystemAdminAccountID, isValidID, newField_accountID, newField_accountID, newField_displayName, newField_displayName, newField_isActive, newField_isActive, newField_notes, newField_notes, setAccount, setDisplayName, setIsActive, setNotes, setRuntimeDefaultValues
 
Methods inherited from class org.opengts.dbtools.DBRecord
_getFactory, _reload, addChangedNotification, addExcludedUpdateFields, adjustStringLength_1, adjustStringLength, appendFieldValues, clearChanged, clearError, clearExcludedUpdateFields, clearLastCaughtSQLException, equals, excludeFieldFromUpdate, excludeFieldFromUpdate, fireChangeNotification, geKeyValue, getCreationDateTime, getCreationMillis, getCreationTime, GetCurrentAccount, GetCurrentUser, getDefaultFieldValueKey, getDescription, getErrorDescription, getFactory, getFactory, getField, getFieldBoolean, getFieldDateTime, getFieldDouble, getFieldFloat, getFieldInt, getFieldLong, getFieldName, getFieldString, getFieldValue, getFieldValue, getFieldValue, getFieldValue, getFieldValue, getFieldValue, getFieldValue, getFieldValue, getFieldValue, getKeyValue, getLastCaughtSQLException, getLastUpdateAccount, getLastUpdateTime, getLastUpdateTime, getLastUpdateUser, getNextGroup, getOptionalFieldValue, getOptionalFieldValue, getOptionalFieldValue, getOptionalFieldValue, getOptionalFieldValue, getOptionalFieldValue, getOptionalFieldValue, getOptionalFieldValue, getOptionalFieldValue, getRecordCount, getRecordCount, getRecordCount, getRecordCount, getRecordCount, getRecordKey, getRecords, getRecords, getTemporaryProperties, getValue, getVirtual, hasChanged, hasError, hasField, hasFieldValue, hasOptionalFieldValue, hasTemporaryProperties, insert, isFieldUnsigned, isLastCaughtSQLExceptionErrorCode, isOkToReload, isOkToSave, isValidating, isVirtual, lock, lockRead, lockWrite, newField_creationMillis, newField_creationTime, newField_creationTime, newField_description, newField_description, newField_lastUpdateAccount, newField_lastUpdateAccount, newField_lastUpdateTime, newField_lastUpdateUser, newField_lastUpdateUser, printXML, printXML, printXML, printXML, printXML, printXML, recordDidInsert, recordDidUpdate, recordWillInsert, recordWillUpdate, reload, reload, removeChangedNotification, save, select, select, select, setAllFieldValues, setAllFieldValues, setAllFieldValues, setAllFieldValues, setChanged, setChanged, setCreationDefaultValues, setCreationMillis, setCreationTime, SetCurrentAccount, SetCurrentUser, setDescription, setError, setError, setFieldValue, setFieldValue, setFieldValue, setFieldValue, setFieldValue, setFieldValue, setFieldValue, setIgnoreInvalidFields, setKeyValue, setLastCaughtSQLException, setLastUpdateAccount, setLastUpdateTime, setLastUpdateUser, setOptionalFieldValue, setOptionalFieldValue, setOptionalFieldValue, setOptionalFieldValue, setOptionalFieldValue, setOptionalFieldValue, setOptionalFieldValue, setOptionalFieldValue, setValidating, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setVirtual, toXML, toXML, toXML, toXML, toXML, unlock, update, update, update
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_TABLE_NAME

public static final java.lang.String _TABLE_NAME
See Also:
Constant Field Values

FLD_auditTime

public static final java.lang.String FLD_auditTime
See Also:
Constant Field Values

FLD_auditCode

public static final java.lang.String FLD_auditCode
See Also:
Constant Field Values

FLD_userID

public static final java.lang.String FLD_userID
See Also:
Constant Field Values

FLD_deviceID

public static final java.lang.String FLD_deviceID
See Also:
Constant Field Values

FLD_ipAddress

public static final java.lang.String FLD_ipAddress
See Also:
Constant Field Values

FLD_privateLabelName

public static final java.lang.String FLD_privateLabelName
See Also:
Constant Field Values
Constructor Detail

SystemAudit

public SystemAudit()

SystemAudit

public SystemAudit(SystemAudit.Key key)
Method Detail

AddAudit

public static void AddAudit(java.lang.String accountID,
                            long auditTime,
                            int auditCode,
                            java.lang.String userID,
                            java.lang.String deviceID,
                            java.lang.String ipAddress,
                            java.lang.String privateLabelName,
                            java.lang.String notes)

TABLE_NAME

public static java.lang.String TABLE_NAME()

getFactory

public static DBFactory<SystemAudit> getFactory()

getTableDescription

public static java.lang.String getTableDescription(java.util.Locale loc)

getAuditTime

public long getAuditTime()

setAuditTime

public void setAuditTime(long v)

getAuditCode

public int getAuditCode()
Gets the reason for this audit record

Returns:
The audit code (reason)

setAuditCode

public void setAuditCode(int v)
Sets the reason for this audit record

Parameters:
v - The audit code (reason)

getUserID

public java.lang.String getUserID()

getDeviceID

public final java.lang.String getDeviceID()

setDeviceID

public void setDeviceID(java.lang.String v)

getIpAddress

public DTIPAddress getIpAddress()

setIpAddress

public void setIpAddress(DTIPAddress v)

setIpAddress

public void setIpAddress(java.lang.String v)

getPrivateLabelName

public java.lang.String getPrivateLabelName()

setPrivateLabelName

public void setPrivateLabelName(java.lang.String v)

toString

public java.lang.String toString()
Description copied from class: DBRecord
Returns a String representation of the DBRecordKey for this DBRecord

Overrides:
toString in class DBRecord<SystemAudit>
Returns:
A String representation of the DBRecordKey for this DBRecord

getRecordCallback

public static void getRecordCallback(DBRecordHandler<SystemAudit> rcdHandler,
                                     java.lang.String accountID,
                                     int auditCode,
                                     long startTime,
                                     long endTime,
                                     long limit)
                              throws DBException
Throws:
DBException

main

public static void main(java.lang.String[] args)