|
SAP NetWeaver 7.31 (SP01) KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.wcm.repository.service.layout.info.RenderObjectData
public final class RenderObjectData
offers a structured set of information fields as well as the possibility to
add freely defined information fields to a list. All objects that are returned
by this class offer return values that implement the IField
interface which combines information about the actual value as well as label
and tooltip information that can be used for rendering this value.
The StandardDataField constants define all information elements which can be
simply set by classes within the rendering process.
| Nested Class Summary | |
|---|---|
static class |
RenderObjectData.InvalidConfiguration
a small, immutable container holding information about an invalid configuration. |
| Field Summary | |
|---|---|
static com.sapportals.wcm.repository.service.layout.info.RenderObjectData.StandardDataField |
ALIAS
|
static com.sapportals.wcm.repository.service.layout.info.RenderObjectData.StandardDataField |
DEF_PARAM
|
static com.sapportals.wcm.repository.service.layout.info.RenderObjectData.StandardDataField |
FLAVOR
|
static FieldIdentifier[] |
IDENTIFIERS
|
static com.sapportals.wcm.repository.service.layout.info.RenderObjectData.StandardDataField |
INSTANTIATER
|
static int |
INVALID_508
|
static int |
INVALID_ALIAS
|
static int |
INVALID_BUNDLE
|
static com.sapportals.wcm.repository.service.layout.info.RenderObjectData.StandardDataField |
JAVA_CLASS
|
static com.sapportals.wcm.repository.service.layout.info.RenderObjectData.StandardDataField |
LIST_TYPE
|
static int |
NO_MAPPING
|
static com.sapportals.wcm.repository.service.layout.info.RenderObjectData.StandardDataField |
RID
|
static com.sapportals.wcm.repository.service.layout.info.RenderObjectData.StandardDataField |
STARTRID
|
static com.sapportals.wcm.repository.service.layout.info.RenderObjectData.StandardDataField |
SUPPORT508
|
| Constructor Summary | |
|---|---|
RenderObjectData(IResourceContext context)
|
|
| Method Summary | |
|---|---|
void |
addAdditionalParameters(String source,
IParameters parameters)
adds the parameterization for the render object that has been provided by the specified source. |
void |
addUnstructuredInfo(Field field)
adds a field to the list of unstructed information. |
void |
addUnstructuredInfo(String label,
String value)
creates a standard Field instance with an arbritary Identifier. |
List |
getAdditionalParameterFields(String source)
|
List |
getAdditionalParameterSources()
|
List |
getFields()
returns a new list instance that contains all fields that - belong to the list of StandardDataFields and
- are not null
The list is ordered the same way the IDENTIFIERS-array is ordered. |
RenderObjectData.InvalidConfiguration |
getInvConfig()
|
List |
getParameterFields()
|
Status |
getStatus()
|
List |
getUnstructuredInfo()
|
void |
set(com.sapportals.wcm.repository.service.layout.info.RenderObjectData.StandardDataField id,
Object value)
sets the new value for the StandardDataField of this object. |
void |
set(com.sapportals.wcm.repository.service.layout.info.RenderObjectData.StandardDataField id,
String value)
sets the new value for the StandardDataField of this object. |
void |
setInvConfig(RenderObjectData.InvalidConfiguration configuration)
|
void |
setParameters(IParameters parameters)
|
void |
setStatus(Status status)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int INVALID_ALIAS
public static final int INVALID_508
public static final int NO_MAPPING
public static final int INVALID_BUNDLE
public static final com.sapportals.wcm.repository.service.layout.info.RenderObjectData.StandardDataField DEF_PARAM
public static final com.sapportals.wcm.repository.service.layout.info.RenderObjectData.StandardDataField ALIAS
public static final com.sapportals.wcm.repository.service.layout.info.RenderObjectData.StandardDataField JAVA_CLASS
public static final com.sapportals.wcm.repository.service.layout.info.RenderObjectData.StandardDataField RID
public static final com.sapportals.wcm.repository.service.layout.info.RenderObjectData.StandardDataField STARTRID
public static final com.sapportals.wcm.repository.service.layout.info.RenderObjectData.StandardDataField INSTANTIATER
public static final com.sapportals.wcm.repository.service.layout.info.RenderObjectData.StandardDataField LIST_TYPE
public static final com.sapportals.wcm.repository.service.layout.info.RenderObjectData.StandardDataField FLAVOR
public static final com.sapportals.wcm.repository.service.layout.info.RenderObjectData.StandardDataField SUPPORT508
public static final FieldIdentifier[] IDENTIFIERS
| Constructor Detail |
|---|
public RenderObjectData(IResourceContext context)
| Method Detail |
|---|
public void set(com.sapportals.wcm.repository.service.layout.info.RenderObjectData.StandardDataField id,
String value)
StandardDataField of this object.
id, - the field for which the new value is to be added, must not be nullvalue, - the new value for this field. If the value is null, or
"".equals(value) == true, the value will be set to "-"
public void set(com.sapportals.wcm.repository.service.layout.info.RenderObjectData.StandardDataField id,
Object value)
StandardDataField of this object.
id, - the field for which the new value is to be added, must not be nullvalue, - the new value for this field. If the value is null, or
"".equals(value) == true, the value will be set to "-"public void addUnstructuredInfo(Field field)
ILayoutController
the list of registered Control instances). These objects do not fit in one
of the other buckets of information and are therefore added to this list.
field - an entry for the renderer-specific information for this RenderObjectData,
must not be null
public void addUnstructuredInfo(String label,
String value)
Field instance with an arbritary Identifier.
The label and tooltip of this field will be the value of the label-parameter
and not translated. The value-parameter is used as value of that Field.
The field will be readonly, have no condition and use the Locale
of this class
label - the label to use, must not be nullvalue - the value to display, must not be nullpublic List getUnstructuredInfo()
List implementation that only contains objects that
implement the IField interface. The list will not contain
null elements. The ordering of the list might be changed between calls.public void setParameters(IParameters parameters)
parameters - the parameters (which are usually defined by the
ICustomizingController and used for the configuration of this rendering object
This method should normally be called by the rendering object itself to ensure that public List getFields()
StandardDataFields and
- are not null
The list is ordered the same way the IDENTIFIERS-array is ordered.
nullpublic List getParameterFields()
IField interface and does not contain null
references. If no IParameters have been defined via the
setParameters method, it will return an empty list, but
never null. The IField instances each represent
a single parameter value.
public void addAdditionalParameters(String source,
IParameters parameters)
source - the name of the parameter source, that also will be used to
render the information about this source. Must not be null.parameters - the parameters specified by the given source.
Must not be null.public List getAdditionalParameterSources()
null.public List getAdditionalParameterFields(String source)
source - the source the paramters are needed for.
IField instances and
no null references. It might be empty, but never null.public RenderObjectData.InvalidConfiguration getInvConfig()
nullpublic void setInvConfig(RenderObjectData.InvalidConfiguration configuration)
configuration - the invalid configuration data for the
render object, might be nullpublic Status getStatus()
public void setStatus(Status status)
status - | Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
|
SAP NetWeaver 7.31 (SP01) KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||