|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ResourceManager
Manager of agent resources. An agent can customize its application (e.g. agent's dictionary).
Note: If the DATABASE service is not available, that is, if UCS is not connected,
you cannot get features associated with UCS, that is, this resource manager.
| Method Summary | |
|---|---|
void |
deleteResourceProperty(java.lang.String aPersonId,
java.lang.String aKey)
Deletes a resource for an agent. |
java.util.Collection |
getResourceProperties(java.lang.String aPersonId)
Gets a collection of ResourceProperty for an agent. |
ResourceProperty |
getResourceProperty(java.lang.String aPersonId,
java.lang.String aKey)
Gets a ResourceProperty for an agent. |
void |
setResourceProperty(java.lang.String aPersonId,
java.lang.String aKey,
byte[] aValue)
Sets a binary resource for an agent. |
void |
setResourceProperty(java.lang.String aPersonId,
java.lang.String aKey,
java.lang.String aValue)
Sets a string resource for an agent. |
| Method Detail |
|---|
ResourceProperty getResourceProperty(java.lang.String aPersonId,
java.lang.String aKey)
throws RequestFailedException
ResourceProperty for an agent.
aPersonId - ID (username) of person (agent) as String.aKey - resource identifier as String.
ResourceProperty.
RequestFailedException - if request does not perform.
InvalidParameterException - if method parameters are wrong.
java.util.Collection getResourceProperties(java.lang.String aPersonId)
throws RequestFailedException
ResourceProperty for an agent.
aPersonId - ID (username) of person (agent) as String.
ResourceProperty.
RequestFailedException - if request does not perform.
InvalidParameterException - if method parameters are wrong.
void setResourceProperty(java.lang.String aPersonId,
java.lang.String aKey,
byte[] aValue)
throws RequestFailedException
aPersonId - ID (username) of person (agent) as String.aKey - resource identifier as String.aValue - resource value as a byte array.
RequestFailedException - if request does not perform.
InvalidParameterException - if method parameters are wrong.
void setResourceProperty(java.lang.String aPersonId,
java.lang.String aKey,
java.lang.String aValue)
throws RequestFailedException
aPersonId - ID (username) of person (agent) as String.aKey - resource identifier as String.aValue - resource value as a String.
RequestFailedException - if request does not perform.
InvalidParameterException - if method parameters are wrong.
void deleteResourceProperty(java.lang.String aPersonId,
java.lang.String aKey)
throws RequestFailedException
aPersonId - ID (username) of person (agent) as String.aKey - resource identifier as String.
RequestFailedException - if request does not perform.
InvalidParameterException - if method parameters are wrong.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||