R - the type of the change recordpublic abstract class ChangeRecord<R extends ChangeRecord<R>> extends SandboxLogRecord<R>
_values| Modifier | Constructor and Description |
|---|---|
protected |
ChangeRecord(java.util.Map<java.lang.String,java.lang.Object> values)
Creates a record from existing values.
|
protected |
ChangeRecord(java.lang.String objName,
java.lang.String objType,
java.lang.String summary)
Constructs a change record.
|
| Modifier and Type | Method and Description |
|---|---|
R |
changeDate(java.util.Date d)
Indicates the date and time of the change.
|
R |
changedBy(java.lang.String s)
Indicates the user that makes the change.
|
java.lang.String |
getObjectName()
Returns the object name.
|
java.lang.String |
getObjectType()
Returns the object type.
|
R |
objectId(java.lang.String oid)
Indicates the ID of the object.
|
R |
url(java.lang.String url)
Indicates the URL associated with this change.
|
clone, clone, get, getDiagnosticRecordId, getPersistableValues, getSummary, put, toStringprotected ChangeRecord(java.lang.String objName,
java.lang.String objType,
java.lang.String summary)
objName - the name of the object that is changedobjType - the type of the changed objectsummary - a brief description of how the object is changedjava.lang.IllegalArgumentException - if the given object name or type is
nullprotected ChangeRecord(java.util.Map<java.lang.String,java.lang.Object> values)
values - the existing valuesjava.lang.NullPointerException - If the given map is nullpublic final java.lang.String getObjectName()
public final java.lang.String getObjectType()
public R objectId(java.lang.String oid)
oid - the ID of the objectpublic R changeDate(java.util.Date d)
d - the date and time of the changepublic R changedBy(java.lang.String s)
s - the user that makes the changepublic R url(java.lang.String url)
url - the URL associated with this change