|
SAP NetWeaver 7.40 SP 06 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.wcm.rendering.collection.JanusHeadedStatusFlipSide
public final class JanusHeadedStatusFlipSide
| Field Summary |
|---|
| Fields inherited from interface com.sapportals.wcm.rendering.base.IRendererStatus |
|---|
DESELECT_ALL, ID, NAME, SELECT_ALL |
| Constructor Summary | |
|---|---|
JanusHeadedStatusFlipSide()
|
|
JanusHeadedStatusFlipSide(FlexUICacheHierarchical flexcache)
|
|
| Method Summary | |
|---|---|
StatusInformation |
execute(IExecutable executable)
carries out the action described by the given parameter. |
StatusInformation |
execute(String execution)
different signature for this method. |
void |
filter()
filters the internal list of resources. |
IExecutable |
getAction(FieldIdentifier ident)
returns the IExecutable with the given ident-parameter or
null , if no such instance could be found. |
List |
getActions()
returns a list with all IExecutable s defined by the
implementing class |
ResourcePropertyComparator |
getComparator()
|
int |
getCurrentIndex()
|
int |
getEntrySize()
returns the number of entries that are managed within this status |
IField |
getField(FieldIdentifier ident)
returns the field with the given ident-parameter or null , if
no such instance could be found. |
List |
getFields()
returns a list with all fields defined by the implementing class |
FieldSet |
getFieldSet(int index)
returns all fields available for the instance of the managed type at this index of the internal list. |
FieldSet |
getFieldSet(IResource res)
|
FlexUICacheHierarchical |
getFlexcache()
|
String |
getID()
returns the ID under which this status was registered by the Service |
List |
getMassFields()
returns all fields that will be available for the managed types of this class. |
IConfigurableRendererStatus |
getNewInstance()
|
ICollection |
getParent()
returns the ICollection, whose children are handled within this
status. |
IPropertyColumn[] |
getPropertyColumns()
TODO what about null? |
IResource |
getResource(int index)
|
IResourceList |
getResourceList()
returns an IResourceList that does not have to be equal to either
the ITypedResourceList or the result of the getChildren
method on the ICollection attribute. |
String |
getResourceTypeMapping()
|
IResourceList |
getSelectedResources()
|
SortDefinition |
getSortDefintion()
|
StatusInformation |
getStatusInformation()
returns the status of the implementing class. |
ITypedResourceList |
getTypedResourceList()
returns the ITypedResourceList, whose elements are handled within this
status. |
boolean |
hasMore()
flag telling if all IResource objects that belong to the
ICollection or the TypedResourceList attribute have
already been instantiated (and added to the internal resourcelist) or not. |
boolean |
isRefreshTriggered()
|
void |
refresh()
reloads resources from RF revokes all selections |
void |
resetRefreshTrigger()
|
void |
setComparator(ResourcePropertyComparator comp)
sets the ResourcePropertyComparator attribute of the status. |
void |
setCurrentIndex(int index)
sets the index-attribute of the status to the given value. |
void |
setFilter(IResourceListFilter filter)
sets the class, that is used to filter out resources from the given parent-collection or the ITypedResourceList. |
void |
setFilterParameters(IParameters filterparameters)
sets the parameters, that are used by the IResourceListFilter
to determine which resources are to be filtered out. |
void |
setFlexCache(FlexUICacheHierarchical flexcache)
|
void |
setID(String id)
sets the ID under which this status was registered by the service this field is set by the service and must not be altered afterwards. |
void |
setParameters(Hashtable parameters)
|
void |
setParent(ICollection parent)
sets the collection whose children are to be handled within this status. |
void |
setPropertyColumns(IPropertyColumn[] columns)
TODO what about null? |
void |
setResourceTypeMapping(String mapping)
|
void |
setSortDefinition(SortDefinition sd)
sets the SortDefinition attribute of the status. |
void |
setTypedResourceList(ITypedResourceList list,
IResourceContext context)
sets the ITypedResourceList, whose elements are handled within this
status. |
void |
sort()
sorts the internal list of resources. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JanusHeadedStatusFlipSide(FlexUICacheHierarchical flexcache)
public JanusHeadedStatusFlipSide()
| Method Detail |
|---|
public void setFlexCache(FlexUICacheHierarchical flexcache)
public StatusInformation execute(IExecutable executable)
throws WcmException
IControlStatus
execute in interface IControlStatusexecutable - TBD: Description of the incoming method parameter
WcmException - Exception raised in failure situation
public StatusInformation execute(String execution)
throws WcmException
IControlStatusIExecutable objects. If the given
parameter matches the IExecutable 's getIdentifier.getID
, this IExecutable must be passed to the other
signature of this method.
execute in interface IControlStatusexecution - TBD: Description of the incoming method parameter
WcmException - Exception raised in failure situationpublic IExecutable getAction(FieldIdentifier ident)
IControlStatusIExecutable with the given ident-parameter or
null , if no such instance could be found.
getAction in interface IControlStatusident - TBD: Description of the incoming method parameter
public List getActions()
IControlStatusIExecutable s defined by the
implementing class
getActions in interface IControlStatuspublic IField getField(FieldIdentifier ident)
IControlStatusnull , if
no such instance could be found.
getField in interface IControlStatusident - TBD: Description of the incoming method parameter
public List getFields()
IControlStatus
getFields in interface IControlStatuspublic String getID()
IControlStatus
getID in interface IControlStatuspublic StatusInformation getStatusInformation()
IControlStatusnull will be used and
its status will be returned. Consequently, this method might return
null
getStatusInformation in interface IControlStatuspublic void setID(String id)
IControlStatus
setID in interface IControlStatusid - iD to be setpublic FlexUICacheHierarchical getFlexcache()
public void filter()
throws WcmException
IRendererStatusIResource
objects will be set to false, if and only if at least one of the two
attributes IResourceListFilter or (IParameters has changed since
the last call of this method.
filter in interface IRendererStatusWcmExceptionpublic ResourcePropertyComparator getComparator()
getComparator in interface IRendererStatusResourcePropertyComparator attribute of the status. Might be null.
public int getCurrentIndex()
throws WcmException
getCurrentIndex in interface IRendererStatusIResource objects.
WcmExceptionpublic FieldSet getFieldSet(IResource res)
getFieldSet in interface IRendererStatusFieldSet defined for this IResource. This
set is needed to e.g. change the selection state of the resource.public ICollection getParent()
IRendererStatusICollection, whose children are handled within this
status. Might be null.
getParent in interface IRendererStatuspublic IPropertyColumn[] getPropertyColumns()
IRendererStatusnull?
getPropertyColumns in interface IRendererStatusIPropertyColumn[] attribute of the status. Might be null.public IResource getResource(int index)
getResource in interface IRendererStatusIResource that is situated at this position of the
internal list of IResource objects. Note that this position might change
due to sort and filter methods. Returns null,
if the parameter exceeds the size of the internal list.public IResourceList getResourceList()
IRendererStatusIResourceList that does not have to be equal to either
the ITypedResourceList or the result of the getChildren
method on the ICollection attribute. It may be different because of
the sort and filter methods or any other operation the
implementing class decides to perform. As an implementation rule, a new
creation of IResource elements to fill this list should be
avoided due to the performance overhead associated with that operation.
getResourceList in interface IRendererStatusIResourceList that might be empty. Must not return null.public IResourceList getSelectedResources()
getSelectedResources in interface IRendererStatuspublic SortDefinition getSortDefintion()
getSortDefintion in interface IRendererStatusSortDefinition attribute of the status. Might be null.public ITypedResourceList getTypedResourceList()
IRendererStatusITypedResourceList, whose elements are handled within this
status. Might be null or might be of size 0.
getTypedResourceList in interface IRendererStatuspublic boolean hasMore()
IRendererStatusIResource objects that belong to the
ICollection or the TypedResourceList attribute have
already been instantiated (and added to the internal resourcelist) or not.
hasMore in interface IRendererStatus
public void refresh()
throws WcmException
IRendererStatus
refresh in interface IRendererStatusWcmExceptionpublic boolean isRefreshTriggered()
public void resetRefreshTrigger()
public void setComparator(ResourcePropertyComparator comp)
IRendererStatusResourcePropertyComparator attribute of the status. Might be null.
setComparator in interface IRendererStatus
public void setCurrentIndex(int index)
throws WcmException
IRendererStatus
setCurrentIndex in interface IRendererStatusWcmExceptionpublic void setFilter(IResourceListFilter filter)
IRendererStatusITypedResourceList. A change of this
parameter will result in a new filtering, if the filter method
is called afterwards. The call of this method alone does not lead to a new
filtering (and a reset of selected resources).
setFilter in interface IRendererStatusfilter - the filter instance to use, can be nullpublic void setFilterParameters(IParameters filterparameters)
IRendererStatusIResourceListFilter
to determine which resources are to be filtered out. A change of this
parameter will result in a new filtering, if the filter method
is called afterwards. The call of this method alone does not lead to a new
filtering (and a reset of selected resources).
setFilterParameters in interface IRendererStatusfilterparameters - determine which rules apply to filtering, can be
null
public void setParent(ICollection parent)
throws WcmException
IRendererStatusfilter
method of this status. If this method is called, the status will throw away
all selection information and recreate its internal list of resources. The
setTypedResourceList shows a similar behavior. Must not be
null.
setParent in interface IRendererStatusWcmExceptionpublic void setPropertyColumns(IPropertyColumn[] columns)
IRendererStatusnull?
sets the IPropertyColumn[] attribute of the status. Might be null.
setPropertyColumns in interface IRendererStatuspublic void setSortDefinition(SortDefinition sd)
IRendererStatusSortDefinition attribute of the status. Might be null.
setSortDefinition in interface IRendererStatus
public void setTypedResourceList(ITypedResourceList list,
IResourceContext context)
throws WcmException
IRendererStatusITypedResourceList, whose elements are handled within this
status. Must not be null but might be of size 0. The second parameter,
the context, is needed to set the IResourceContext attribute of the
status. This is normally retrieved from an IResource within the list,
but the list might be empty.
setTypedResourceList in interface IRendererStatusWcmExceptionpublic void sort()
IRendererStatusResourcePropertyComparator
attribute to do this sorting. If that attribute is null, no sorting will
be done and the list will be sorted as it was before this method was called.
sort in interface IRendererStatuspublic int getEntrySize()
IMassDataControlStatus
getEntrySize in interface IMassDataControlStatuspublic FieldSet getFieldSet(int index)
IMassDataControlStatusIndexOutOfBoundsException
if no field set exists for the given index.
getFieldSet in interface IMassDataControlStatusindex - TBD: Description of the incoming method parameter
public List getMassFields()
IMassDataControlStatusFieldIdentifier values.
getMassFields in interface IMassDataControlStatuspublic IConfigurableRendererStatus getNewInstance()
getNewInstance in interface IConfigurableRendererStatuspublic String getResourceTypeMapping()
getResourceTypeMapping in interface IConfigurableRendererStatuspublic void setParameters(Hashtable parameters)
setParameters in interface IConfigurableRendererStatuspublic void setResourceTypeMapping(String mapping)
setResourceTypeMapping in interface IConfigurableRendererStatus| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-CM
|
[sap.com]
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
|
SAP NetWeaver 7.40 SP 06 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||