public class ResourceId
extends java.lang.Object
ResourceId class provides an API for
 creating WebLogic Server security resource identifiers from a Map
 that describes the resource type and resource key values. 
 In addition the ResourceId class provides a way
 to obtain a Map from a WebLogic Server resource identifier that describes
 the resource type and resource key values. The Map
 will always have the RESOURCE_TYPE key.
| Modifier and Type | Field | Description | 
|---|---|---|
static java.lang.String | 
RESOURCE_TYPE | 
 The key used to put or get the security resource type. 
 | 
| Modifier and Type | Method | Description | 
|---|---|---|
static java.util.Map | 
getMapFromResourceId(java.lang.String resourceId) | 
 Returns a  
Map of keys and key values based on
 a security resource identifier. | 
static java.lang.String[] | 
getParentResourceIds(java.lang.String resourceId) | 
 Returns an ordered list of parent security resource identifiers
 based on the supplied resource identifier. 
 | 
static java.lang.String | 
getResourceIdFromMap(java.util.Map resourceData) | 
 Returns a security resource identifier based on resource type and
 resource key values present in a  
Map. | 
static java.lang.String[] | 
getResourceKeyNames(java.lang.String resourceType) | 
 Returns an ordered list of all key names for a resource type. 
 | 
public static final java.lang.String RESOURCE_TYPE
String object.public static java.lang.String getResourceIdFromMap(java.util.Map resourceData)
                                             throws java.lang.IllegalArgumentException
Map.resourceData - a Map representing security resource dataResource.toString()java.lang.IllegalArgumentException - when unable to create a resource id
            because of an unknown resource type or invalid resource keyResourcepublic static java.util.Map getMapFromResourceId(java.lang.String resourceId)
                                          throws java.lang.IllegalArgumentException
Map of keys and key values based on
 a security resource identifier.resourceId - a security resource identifierjava.lang.IllegalArgumentException - for an invalid resource idResourcepublic static java.lang.String[] getResourceKeyNames(java.lang.String resourceType)
                                              throws java.lang.IllegalArgumentException
Map.resourceType - a security resource typejava.lang.IllegalArgumentException - for an invalid resource typepublic static java.lang.String[] getParentResourceIds(java.lang.String resourceId)
                                               throws java.lang.IllegalArgumentException
The immediate parent is located at the starting array element and an empty (zero length) array indicates no parents.
resourceId - a security resource identifierjava.lang.IllegalArgumentException - for an invalid resource idResource