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 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).

Version:
$Revision: 21412 $
Author:
Olivier Dedieu

Field Summary
static String REVISION
           
 
Method Summary
 Map<String,String> getAttributes(Storable storable, Store store)
          Storable attributes getter
 void setAttributes(Storable storable, Map<String,String> attributes, Store store)
          Storable attributes setter
 

Field Detail

REVISION

static final String REVISION
See Also:
Constant Field Values
Method Detail

setAttributes

void setAttributes(Storable storable,
                   Map<String,String> attributes,
                   Store store)
Storable attributes setter

Parameters:
storable - - the target storable
attributes - - 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)


Copyright © 2001-2010 Jalios SA. All Rights Reserved.