Class SavedValueEntry

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable

    public class SavedValueEntry
    extends GeneratedSavedValueEntry
    SavedValueEntry describes the changed attribute of an item.
    A single entry is qualified by its parent (see: SavedValues),
    the qualifier and the attribute descriptor of the changed attribute as well as its old and new value.
    See Also:
    Serialized Form
    • Constructor Detail

      • SavedValueEntry

        public SavedValueEntry()
    • Method Detail

      • encryptIfNeeded

        protected java.lang.Object encryptIfNeeded​(AttributeDescriptor descriptor,
                                                   java.lang.Object value)
      • decryptIfNeeded

        protected java.lang.Object decryptIfNeeded​(java.lang.Object value)
      • createItem

        protected Item createItem​(SessionContext ctx,
                                  ComposedType type,
                                  Item.ItemAttributeMap allAttributes)
                           throws JaloBusinessException
        create the item you can delete this method if you don't want to intercept the creation of this item
        Overrides:
        createItem in class GeneratedSavedValueEntry
        Parameters:
        ctx - the current session context which this item is created within
        type - the actual item type ( since subtypes may not provide a own jalo class this may be different from the type which this method was implemented for )
        Returns:
        the new item instance
        Throws:
        JaloBusinessException - indicates an error during creation - any changes will be rollbacked
      • toString

        public java.lang.String toString()
        Description copied from class: Item
        Returns the String representation of this item. This is by default the representation of the primary key of this item.
        Overrides:
        toString in class Item
        Returns:
        the String representation of this item.