public interface IResourceType
Describes a resource type with language-dependent short descriptions as well as links to icons.
Modifier and Type | Field and Description |
---|---|
static IResourceType |
UNKNOWN_COLLECTION_TYPE |
static IResourceType |
UNKNOWN_RESOURCE_TYPE |
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Gets the short description of this resource type for its default locale.
|
String |
getDescription(Locale locale)
Gets the short description of this resource type for the specified locale.
|
String |
getIcon()
Gets the name of the icon of this resource type.
|
String |
getProperties()
Gets the custom properties of this resource type as a single string.
|
Map |
getPropertiesAsMap()
Gets the custom properties of this resource type as a map, using
',' as a separator. |
Map |
getPropertiesAsMap(char separator)
Gets the custom properties of this resource type, using a specified
character as separator.
|
String |
getTypeId()
Gets the resource type identifier.
|
boolean |
isApplicationProtected()
Returns
true iff this resource type is reserved for an
application, and not for general use. |
boolean |
isCollection()
Returns
true iff this resource type is a collection. |
static final IResourceType UNKNOWN_RESOURCE_TYPE
static final IResourceType UNKNOWN_COLLECTION_TYPE
String getTypeId()
boolean isApplicationProtected()
true
iff this resource type is reserved for an
application, and not for general use.true
iff reserved for applicationString getIcon()
String getDescription()
String getDescription(Locale locale)
locale
- Localeboolean isCollection()
true
iff this resource type is a collection.true
iff collectionString getProperties()
Map getPropertiesAsMap()
','
as a separator. This method is equivalent to calling
getPropertiesAsMap(char)
with ','
as argument.Map getPropertiesAsMap(char separator) throws IllegalArgumentException
java.util.Properties
format. The
separator can be escaped with a preceding '\'
, and must not
be '='
, ':'
or whitespace.separator
- Character separating different propertiesIllegalArgumentException
- '='
, ':'
, or
whitespace used as separatorAccess Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice