public class DbAgencyObjectLog extends DbLog
Modifier and Type | Field and Description |
---|---|
long |
objectId |
static String |
TYPE |
ACTION_ADD, ACTION_EDIT, changes, createdAt, createdBy, entryAction, entryType, id, modifiedAt, modifiedBy, notes, text
Constructor and Description |
---|
DbAgencyObjectLog() |
Modifier and Type | Method and Description |
---|---|
static DbAgencyObjectLog |
create(long objectId,
String action,
DbUser currentUser) |
String |
getPluginName() |
void |
initChanges(DbAgencyObject oldObject,
DbAgencyObject newObject) |
void |
putChangedAddress(com.openindex.openestate.impl.EstateAddressImpl oldAddress,
com.openindex.openestate.impl.EstateAddressImpl newAddress) |
void |
putChangedContact(Long oldContactId,
Long newContactId) |
void |
putChangedExportMode(DbAgencyObject.ExportMode oldExportMode,
DbAgencyObject.ExportMode newExportMode) |
void |
putChangedHiddenPrices(Boolean oldHiddenPrices,
Boolean newHiddenPrices) |
void |
putChangedStatus(DbAgencyObject.Status oldStatus,
DbAgencyObject.Status newStatus) |
void |
putChangedValue(com.openindex.openestate.impl.attribs.AbstractAttribImpl oldAttribImpl,
com.openindex.openestate.impl.attribs.AbstractAttribImpl newAttribImpl) |
String |
writeAction() |
static String |
writeAction(String action) |
String |
writeChangeKey(String key) |
String |
writeChangeValue(String key,
String value) |
public static final String TYPE
public long objectId
public static DbAgencyObjectLog create(long objectId, String action, DbUser currentUser)
public final String getPluginName()
getPluginName
in class DbLog
public void initChanges(DbAgencyObject oldObject, DbAgencyObject newObject)
public void putChangedAddress(com.openindex.openestate.impl.EstateAddressImpl oldAddress, com.openindex.openestate.impl.EstateAddressImpl newAddress)
public void putChangedExportMode(DbAgencyObject.ExportMode oldExportMode, DbAgencyObject.ExportMode newExportMode)
public void putChangedHiddenPrices(Boolean oldHiddenPrices, Boolean newHiddenPrices)
public void putChangedStatus(DbAgencyObject.Status oldStatus, DbAgencyObject.Status newStatus)
public void putChangedValue(com.openindex.openestate.impl.attribs.AbstractAttribImpl oldAttribImpl, com.openindex.openestate.impl.attribs.AbstractAttribImpl newAttribImpl)
public String writeAction()
writeAction
in class DbLog
public String writeChangeKey(String key)
writeChangeKey
in class DbLog
public String writeChangeValue(String key, String value)
writeChangeValue
in class DbLog
Copyright © 2015 OpenEstate. All rights reserved.