|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tivoli.twg.libs.Command
com.tivoli.twg.engine.TWGUserPropertiesCommand
User properties command class.
Field Summary | |
---|---|
static long |
RETURN_CODE_INVALID_PARAMETER
|
static long |
RETURN_CODE_INVALID_SUBCOMMAND
|
static long |
RETURN_CODE_INVALID_TYPE
|
static long |
RETURN_CODE_SUCCESS
|
static long |
RETURN_CODE_UNEXPECTED_ERROR
|
static long |
RETURN_CODE_UNKNOWN_ACTIVE_CONSOLE
|
static long |
RETURN_CODE_UNKNOWN_USER
|
static int |
SUBCOMMAND_DELETE
|
static int |
SUBCOMMAND_GET
|
static int |
SUBCOMMAND_SET
|
static int |
TYPE_BYTES
|
static int |
TYPE_INT
|
static int |
TYPE_STRING
|
Constructor Summary | |
---|---|
TWGUserPropertiesCommand()
constructor. |
Method Summary | |
---|---|
void |
requestDelete(java.lang.String key)
Input method to delete a user property. |
void |
requestGetBytes(java.lang.String key)
Input method to get the value of a user property (byte []). |
void |
requestGetInt(java.lang.String key)
Input method to get the value of a user property (int). |
void |
requestGetString(java.lang.String key)
Input method to get the value of a user property (string). |
void |
requestSetBytes(java.lang.String key,
byte[] value)
Input method to set the value of a user property (byte []). |
void |
requestSetInt(java.lang.String key,
int value)
Input method to set the value of a user property (int). |
void |
requestSetString(java.lang.String key,
java.lang.String value)
Input method to set the value of a user property (string). |
void |
responseDelete(int index)
Output method to delete a user property. |
byte[] |
responseGetBytes(int index)
Output method to get the value of a user property (byte []). |
int |
responseGetInt(int index)
Output method to get the value of a user property (int). |
java.lang.String |
responseGetString(int index)
Output method to get the value of a user property (string). |
void |
responseSetBytes(int index)
Output method to set the value of a user property (byte []). |
void |
responseSetInt(int index)
Output method to set the value of a user property (int). |
void |
responseSetString(int index)
Output method to set the value of a user property (string). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int SUBCOMMAND_GET
public static final int SUBCOMMAND_SET
public static final int SUBCOMMAND_DELETE
public static final int TYPE_BYTES
public static final int TYPE_INT
public static final int TYPE_STRING
public static final long RETURN_CODE_SUCCESS
public static final long RETURN_CODE_INVALID_PARAMETER
public static final long RETURN_CODE_INVALID_SUBCOMMAND
public static final long RETURN_CODE_INVALID_TYPE
public static final long RETURN_CODE_UNKNOWN_ACTIVE_CONSOLE
public static final long RETURN_CODE_UNKNOWN_USER
public static final long RETURN_CODE_UNEXPECTED_ERROR
Constructor Detail |
public TWGUserPropertiesCommand()
Method Detail |
public void requestGetBytes(java.lang.String key)
key
- name of user property to get.public byte[] responseGetBytes(int index) throws TWGUserPropertiesCommandException
index
- output parameter index.
TWGUserPropertiesCommandException
public void requestSetBytes(java.lang.String key, byte[] value)
key
- name of user property to set.value
- byte array.public void responseSetBytes(int index) throws TWGUserPropertiesCommandException
index
- output parameter index.
TWGUserPropertiesCommandException.
TWGUserPropertiesCommandException
public void requestGetInt(java.lang.String key)
key
- name of user property to get.public int responseGetInt(int index) throws TWGUserPropertiesCommandException
index
- output parameter index.
TWGUserPropertiesCommandException
public void requestSetInt(java.lang.String key, int value)
key
- name of user property to set.value
- integer.public void responseSetInt(int index) throws TWGUserPropertiesCommandException
index
- output parameter index.
TWGUserPropertiesCommandException.
TWGUserPropertiesCommandException
public void requestGetString(java.lang.String key)
key
- name of user property to get.public java.lang.String responseGetString(int index) throws TWGUserPropertiesCommandException
index
- output parameter index.
TWGUserPropertiesCommandException
public void requestSetString(java.lang.String key, java.lang.String value)
key
- name of user property to set.value
- String.public void responseSetString(int index) throws TWGUserPropertiesCommandException
index
- output parameter index.
TWGUserPropertiesCommandException.
TWGUserPropertiesCommandException
public void requestDelete(java.lang.String key)
key
- name of user property to delete.public void responseDelete(int index) throws TWGUserPropertiesCommandException
index
- output parameter index.
TWGUserPropertiesCommandException.
TWGUserPropertiesCommandException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |