|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--net.rim.device.api.itpolicy.ITPolicy
Provides access to the IT policy database.
| Field Summary | ||
static long |
GUID_IT_POLICY_CHANGED
The GUID for the global event sent when the IT Policy changes. |
|
static int |
TERNARY_FALSE
|
|
static int |
TERNARY_PROMPT
|
|
static int |
TERNARY_TRUE
|
|
| Method Summary | ||
static boolean |
getBoolean(int id,
boolean defaultValue)
Retrieves a boolean value from the IT policy database. |
|
static boolean |
getBoolean(int group,
int id,
boolean defaultValue)
Retrieves a boolean value from the IT policy database. |
|
static boolean |
getBoolean(String name,
boolean defaultValue)
Retrieves a boolean value from the IT policy database. |
|
static byte |
getByte(int id,
byte defaultValue)
Retrieves a byte value from the IT policy database. |
|
static byte |
getByte(int group,
int id,
byte defaultValue)
Retrieves a byte value from the IT policy database. |
|
static byte |
getByte(String name)
Retrieves a byte value from the IT policy database. |
|
static byte[] |
getByteArray(int id)
Retrieves a byte array from the IT policy database. |
|
static byte[] |
getByteArray(int group,
int id)
Retrieves a byte array from the IT policy database. |
|
static byte[] |
getByteArray(String name)
Retrieves a byte array from the IT policy database. |
|
static int |
getInteger(int id,
int defaultValue)
Retrieves an integer value from the IT policy database. |
|
static int |
getInteger(int group,
int id,
int defaultValue)
Retrieves an integer value from the IT policy database. |
|
static int |
getInteger(String name,
int defaultValue)
Retrieves an integer value from the IT policy database. |
|
static String |
getString(int id)
Retrieves a string value from the IT policy database. |
|
static String |
getString(int group,
int id)
Retrieves a string value from the IT policy database. |
|
static String |
getString(String name)
Retrieves a string value from the IT policy database. |
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final long GUID_IT_POLICY_CHANGED
| Method Detail |
public static String getString(String name)
name - The parameter name.public static byte[] getByteArray(String name)
name - The parameter name.public static byte getByte(String name)
name - The parameter name.public static boolean getBoolean(String name, boolean defaultValue)
name - The parameter name.defaultValue - The value to be returned if no entry was found.public static int getInteger(String name, int defaultValue)
name - The parameter name.defaultValue - The value to be returned if no entry was found.public static String getString(int id)
id - The parameter id.public static String getString(int group, int id)
group - The group keyid - The parameter id belong to this group.public static byte[] getByteArray(int id)
id - The parameter id.
public static byte[] getByteArray(int group,
int id)
group - The group keyid - The parameter id belong to this group.
public static boolean getBoolean(int id,
boolean defaultValue)
id - The parameter id.defaultValue - The value to be returned if no entry was found.
public static boolean getBoolean(int group,
int id,
boolean defaultValue)
group - The group keyid - The parameter id belong to this group.defaultValue - The value to be returned if no entry was found.
public static int getInteger(int id,
int defaultValue)
id - The parameter id.defaultValue - The value to be returned if no entry was found.
public static int getInteger(int group,
int id,
int defaultValue)
group - The group keyid - The parameter id belong to this group.defaultValue - The value to be returned if no entry was found.
public static byte getByte(int id,
byte defaultValue)
id - The parameter id.defaultValue - The value to be returned if no entry was found.
public static byte getByte(int group,
int id,
byte defaultValue)
group - The group keyid - The parameter id belong to this group.defaultValue - The value to be returned if no entry was found.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 1999-2002 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.