|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.wcm.util.controlstatus.ControlStatusService
| Field Summary | |
static String |
CACHE
|
static String |
CSS
|
static int |
MAX_SIZE
|
| Method Summary | |
String |
addControlStatus(IControlStatus status)
adds the given object and returns the key to retrieve the object again through the getControlStatus method. |
boolean |
deleteControlStatus(String key)
deletes an IControlStatus object with the given key from the
service's persistence. |
List |
getCacheEntries(Locale locale)
|
IControlStatus |
getControlStatus(String key)
returns the IControlStatus that has been saved with this key. |
static ControlStatusService |
getInstance()
returns the singleton instance of this service. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String CSS
public static final String CACHE
public static final int MAX_SIZE
| Method Detail |
public static ControlStatusService getInstance()
CacheFactory . If no
configuration can be found or the configuration is invalid, the service
will use a simple HashMap to store IControlStatus
elements. This mode is unsafe and error messages will be provided in the
log files.
public IControlStatus getControlStatus(String key)
throws ControlStatusException
IControlStatus that has been saved with this key.
key - TBD: Description of the incoming method parameter
IControlStatus object or null .
ControlStatusException - if an exception in the persistence layer
occurs. The original exception is nested within the thrown exception.public List getCacheEntries(Locale locale)
public String addControlStatus(IControlStatus status)
throws ControlStatusException
getControlStatus method. This method is
synchronized because execution of this method might change the structure of
the underlying persistence. The returned key is also added as an attribute
to the status.
status - the object to store
ControlStatusException - if an exception in the persistence layer
occurs. The original exception is nested within the thrown exception.
public boolean deleteControlStatus(String key)
throws ControlStatusException
IControlStatus object with the given key from the
service's persistence.
key - the key of the object to delete
true ) or if no element could be found (false
).
ControlStatusException - if an exception in the persistence layer
occurs. The original exception is nested within the thrown exception.
If the exception is thrown, it is unknown, if the object has been
deleted or not.
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||