Package com.jalios.jstore
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 StorableHandlerStorableHandler 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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.String>getAttributes(Storable storable, Store store)Storable attributes gettervoidsetAttributes(Storable storable, StorableLogEntry sle, Store store)Storable attributes setter
-
-
-
Method Detail
-
setAttributes
void setAttributes(Storable storable, StorableLogEntry sle, Store store)
Storable attributes setter- Parameters:
storable- - the target storablesle- - the StorableLogEntry that contains the attributes to set:
Key=AttName(String) Value=persistant representation(String)
-
getAttributes
java.util.Map<java.lang.String,java.lang.String> getAttributes(Storable storable, Store store)
Storable attributes getter- Parameters:
storable- - the target storablestore- - the storer of the object- Returns:
- the attributes of the storable with the mapping:
Key=Name(String) Value=persistant representation(String)
-
-