Interface StorableHandler

All Known Implementing Classes:
AccessControlList_HANDLER, Category_HANDLER, CategoryRight_HANDLER, DataRight_HANDLER, FileDocument_HANDLER, Group_HANDLER, Member_HANDLER, Notification_HANDLER, NotificationCriteria_HANDLER, WKRole_HANDLER, Workspace_HANDLER, WSTypeEntry_HANDLER

public interface StorableHandler
StorableHandler is the interface implemented by all storable handler objects. A storable handler is responsible for getting and setting attributes of a Storable (without using Introspection).
Author:
Olivier Dedieu
  • Method Details

    • setAttributes

      void setAttributes(Storable storable, StorableLogEntry sle, Store store)
      Storable attributes setter
      Parameters:
      storable - - the target storable
      sle - - the StorableLogEntry that contains the attributes to set:
      Key=AttName(String) Value=persistant representation(String)
    • getAttributes

      Map<String,String> getAttributes(Storable storable, Store store)
      Storable attributes getter
      Parameters:
      storable - - the target storable
      store - - the storer of the object
      Returns:
      the attributes of the storable with the mapping:
      Key=Name(String) Value=persistant representation(String)