com.sapportals.wcm.repository

Interface ITypedResourceList

All Superinterfaces:
IResourceList
All Known Implementing Classes:
TypedResourceList

public interface ITypedResourceList
extends IResourceList

A typed list of IResource instances. This interface extends the IResourceList : It can be used for lists of resources other than the children of colletions and can carry arbitrary type information in it's type attribute.

Copyright 2004 SAP AG


Method Summary
 Map getPropertyBag(IResource resource)
           
 String getType()
          Returns the resource list's type attribute
 void setPropertyBag(IResource resource, Map propertyBag)
          Set a property bag for a resource contained in the list.
 void setType(String type)
          Set the type attributes
 
Methods inherited from interface com.sapportals.wcm.repository.IResourceList
add, add, addAll, containsResource, difference, get, indexOf, intersection, lastIndexOf, listIterator, listIterator, remove, remove, set, size, sort, subList, union
 

Method Detail

getType

String getType()
Returns the resource list's type attribute

Returns:
The resource list's type attribute. Can be null .

setType

void setType(String type)
Set the type attributes

Parameters:
type - type to be set

getPropertyBag

Map getPropertyBag(IResource resource)
Parameters:
resource - a resource contained in the list.
Returns:
Returns a property bag for a resource contained in the list. Returns null if the specified resource is not contained in the list or no property bag is associated with the resource.

setPropertyBag

void setPropertyBag(IResource resource,
                    Map propertyBag)
                    throws com.sapportals.wcm.WcmException
Set a property bag for a resource contained in the list.

Parameters:
resource - A resource contained in the list.
propertyBag - Properties to store.
Throws:
com.sapportals.wcm.WcmException - If the specified resource is not contained in the list.
Access Rights

This class can be accessed from:


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


Copyright 2011 SAP AG Complete Copyright Notice