|
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.ResourceList
com.sapportals.wcm.repository.TypedResourceList
public class TypedResourceList
Implements the ITypedResourceList interface.
Copyright (c) SAP AG 2001-2004
ITypedResourceList| Constructor Summary | |
|---|---|
TypedResourceList(ResourceList resourceList)
Construct a new resource list containing the elements of the specified list in the same order. |
|
TypedResourceList(String listType)
Constructs a new empty resource list with a type. |
|
| Method Summary | |
|---|---|
Map |
getPropertyBag(IResource res)
|
String |
getType()
Returns the resource list's type attribute |
IResource |
remove(int index)
Removes the resource at the specified position in this list. |
boolean |
remove(IResource resource)
Removes the first occurence of the specified resource from the list. |
void |
setPropertyBag(IResource res,
Map propertyBag)
Set a property bag for a resource contained in the list. |
void |
setType(String listType)
Set the type attributes |
| Methods inherited from class com.sapportals.wcm.repository.ResourceList |
|---|
add, add, addAll, containsResource, difference, get, indexOf, intersection, lastIndexOf, listIterator, listIterator, set, size, sort, subList, toString, union |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.sapportals.wcm.repository.IResourceList |
|---|
add, add, addAll, containsResource, difference, get, indexOf, intersection, lastIndexOf, listIterator, listIterator, set, size, sort, subList, union |
| Constructor Detail |
|---|
public TypedResourceList(ResourceList resourceList)
public TypedResourceList(String listType)
listType - the type attribute of this list.| Method Detail |
|---|
public boolean remove(IResource resource)
IResourceList
remove in interface IResourceListremove in class ResourceListresource - TBD: Description of the incoming method parameter
public IResource remove(int index)
IResourceList
remove in interface IResourceListremove in class ResourceListindex - the index of the resource to removed.
public String getType()
ITypedResourceList
getType in interface ITypedResourceListnull .public void setType(String listType)
ITypedResourceList
setType in interface ITypedResourceListlistType - type to be setpublic Map getPropertyBag(IResource res)
getPropertyBag in interface ITypedResourceListres - a resource contained in the list.
null if the specified resource is not contained
in the list or no property bag is associated with the resource.
public void setPropertyBag(IResource res,
Map propertyBag)
throws com.sapportals.wcm.WcmException
ITypedResourceList
setPropertyBag in interface ITypedResourceListres - A resource contained in the list.propertyBag - Properties to store.
com.sapportals.wcm.WcmException - If the specified resource is not contained in the
list.| 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 | |||||||||