Trait

atom.data

ChangeSupport

Related Doc: package data

Permalink

trait ChangeSupport extends ParentSupport

Provides change actions support for Entity

Self Type
Entity
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ChangeSupport
  2. ParentSupport
  3. SearchSupport
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def afterUnmarshal(unmarshaller: Unmarshaller, obj: Entity): Unit

    Permalink

    Parent object is not restored on unmarshal, so this method should help.

    Parent object is not restored on unmarshal, so this method should help.

    unmarshaller

    an instance of the unmarshaller

    obj

    parent object

    Definition Classes
    ParentSupport
  5. final def applyChange(event: PropertyChangeEvent): Unit

    Permalink

    Apply changes to entity according to existing hierarchy.

    Apply changes to entity according to existing hierarchy.

    event

    property change event that should be applied

  6. final def applyChanges(events: List[PropertyChangeEvent]): Unit

    Permalink

    Apply changes to entity according to existing hierarchy.

    Apply changes to entity according to existing hierarchy.

    events

    property change events that should be applied

  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. final def assignParent(obj: Entity): Unit

    Permalink

    Assign the parent if it exists, or null.

    Assign the parent if it exists, or null. NOTE: Every element that use this method should override #cloneAsTemplate

    obj

    the parent tracking object

    Definition Classes
    ParentSupport
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def findById(identity: String): Entity

    Permalink

    Finds a entity that was identified by the id attribute that was processed in atom.app.Activity#onCreate.

    Finds a entity that was identified by the id attribute that was processed in atom.app.Activity#onCreate.

    identity

    id attribute that was processed

    returns

    the entity if found or null otherwise

    Definition Classes
    SearchSupport
  14. final def fireChange(event: AbstractPropertyChangeEvent): Unit

    Permalink

    Reports a bound property update to listeners that have been registered to track updates of all properties or a property with the specified name.

    Reports a bound property update to listeners that have been registered to track updates of all properties or a property with the specified name.

    event

    an event

    Attributes
    protected
  15. final def fireChange(propertyName: String, newValue: AnyRef): Unit

    Permalink

    Reports a bound property update to listeners that have been registered to track updates of all properties or a property with the specified name.

    Reports a bound property update to listeners that have been registered to track updates of all properties or a property with the specified name.

    propertyName

    the programmatic name of the property that was changed

    newValue

    the new value of the property

  16. final def getChanges: List[PropertyChangeEvent]

    Permalink

    Provide list of property change events.

    Provide list of property change events.

    returns

    list of property change events

    Annotations
    @XmlTransient() @JsonIgnore()
  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def getId: String

    Permalink

    Gets the entity's identifier.

    Gets the entity's identifier.

    returns

    the entity's identifier

    Definition Classes
    SearchSupport
    Annotations
    @XmlAttribute() @XmlID() @JsonProperty()
  19. final def getParent: Entity

    Permalink

    Return the parent if it exists, or null.

    Return the parent if it exists, or null.

    returns

    the parent

    Definition Classes
    ParentSupport
    Annotations
    @JsonBackReference()
  20. final def getParentId: String

    Permalink

    Получение первого не пустого значения идентификатора сущности прородителя.

    Получение первого не пустого значения идентификатора сущности прородителя.

    returns

    идентификатор сущности прородителя либо

    null
    Attributes
    protected[atom.data]
    Definition Classes
    ParentSupport
    Annotations
    @tailrec()
  21. final def hasChanged: Boolean

    Permalink

    Tests if this object has changed.

    Tests if this object has changed.

    returns

    true if the object changes are not empty.

  22. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  23. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  24. final def isTracking: Boolean

    Permalink

    Returns current tracking status.

    Returns current tracking status.

    returns

    current tracking status

    Annotations
    @XmlTransient() @JsonIgnore()
  25. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  26. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. final def setId(identity: String): Unit

    Permalink

    Sets the entity's identifier.

    Sets the entity's identifier.

    identity

    the entity's identifier

    Definition Classes
    SearchSupport
  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  30. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  31. final def trackChanges(enable: Boolean = true, clearExisting: Boolean = true): Unit

    Permalink

    Set status for tracking changes for the entity.

    Set status for tracking changes for the entity.

    enable

    status for change tracking

    clearExisting

    whether to clear existing changes or not

  32. final def unifyId(): Unit

    Permalink

    Обновление идентификатора сущности с учетом прородителя.

    Обновление идентификатора сущности с учетом прородителя.

    Attributes
    protected[atom.data]
    Definition Classes
    ParentSupport
  33. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ParentSupport

Inherited from SearchSupport

Inherited from AnyRef

Inherited from Any

Ungrouped