Class DbAgencyObjectLog
- java.lang.Object
-
- com.openindex.openestate.tool.db.DbLog
-
- com.openindex.openestate.tool.agency.db.DbAgencyObjectLog
-
- All Implemented Interfaces:
Serializable
public class DbAgencyObjectLog extends DbLog
DbAgencyObjectLog.- Author:
- Andreas Rudolph
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description longobjectIdstatic StringTYPE-
Fields inherited from class com.openindex.openestate.tool.db.DbLog
ACTION_ADD, ACTION_EDIT, changes, createdAt, createdBy, entryAction, entryType, id, modifiedAt, modifiedBy, notes, text
-
-
Constructor Summary
Constructors Constructor Description DbAgencyObjectLog()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DbAgencyObjectLogcreate(long objectId, String action, DbUser currentUser)StringgetPluginName()voidinitChanges(DbAgencyObject oldObject, DbAgencyObject newObject)voidputChangedAddress(EstateAddressImpl oldAddress, EstateAddressImpl newAddress)voidputChangedContact(Long oldContactId, Long newContactId)voidputChangedExportMode(DbAgencyObject.ExportMode oldExportMode, DbAgencyObject.ExportMode newExportMode)voidputChangedHiddenPrices(Boolean oldHiddenPrices, Boolean newHiddenPrices)voidputChangedStatus(DbAgencyObject.Status oldStatus, DbAgencyObject.Status newStatus)voidputChangedValue(AbstractAttribImpl oldAttribImpl, AbstractAttribImpl newAttribImpl)StringwriteAction()static StringwriteAction(String action)StringwriteChangeKey(String key)StringwriteChangeValue(String key, String value)
-
-
-
Field Detail
-
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
-
objectId
public long objectId
-
-
Method Detail
-
create
public static DbAgencyObjectLog create(long objectId, String action, DbUser currentUser)
-
getPluginName
public final String getPluginName()
- Specified by:
getPluginNamein classDbLog
-
initChanges
public void initChanges(DbAgencyObject oldObject, DbAgencyObject newObject)
-
putChangedAddress
public void putChangedAddress(EstateAddressImpl oldAddress, EstateAddressImpl newAddress)
-
putChangedExportMode
public void putChangedExportMode(DbAgencyObject.ExportMode oldExportMode, DbAgencyObject.ExportMode newExportMode)
-
putChangedHiddenPrices
public void putChangedHiddenPrices(Boolean oldHiddenPrices, Boolean newHiddenPrices)
-
putChangedStatus
public void putChangedStatus(DbAgencyObject.Status oldStatus, DbAgencyObject.Status newStatus)
-
putChangedValue
public void putChangedValue(AbstractAttribImpl oldAttribImpl, AbstractAttribImpl newAttribImpl)
-
writeAction
public String writeAction()
- Specified by:
writeActionin classDbLog
-
writeChangeKey
public String writeChangeKey(String key)
- Overrides:
writeChangeKeyin classDbLog
-
writeChangeValue
public String writeChangeValue(String key, String value)
- Overrides:
writeChangeValuein classDbLog
-
-