SAP NetWeaver '04

com.sapportals.wcm.service.objecttypehandler
Interface IObjectTypeHandlerList

[contained in: com.sap.netweaver.bc.rf.service.par - bc.rf.global.service.oth_api.jar]
All Superinterfaces:
java.lang.Cloneable

public interface IObjectTypeHandlerList
extends java.lang.Cloneable


Method Summary
 void add(int index, IObjectTypeHandler resource)
          TODO: Description of the Method.
 boolean add(IObjectTypeHandler handler)
          TODO: Description of the Method.
 void add(IObjectTypeHandlerList handlerList)
          TODO: Description of the Method.
 boolean containsObjectTypeHandler(IObjectTypeHandler handler)
          TODO: Description of the Method.
 IObjectTypeHandler get(int index)
          TODO: Description of the Method.
 int indexOf(IObjectTypeHandler handler)
          TODO: Description of the Method.
 int lastIndexOf(IObjectTypeHandler handler)
          TODO: Description of the Method.
 IObjectTypeHandlerListIterator listIterator()
          TODO: Description of the Method.
 IObjectTypeHandlerListIterator listIterator(int index)
          TODO: Description of the Method.
 IObjectTypeHandler remove(int index)
          TODO: Description of the Method.
 boolean remove(IObjectTypeHandler handler)
          TODO: Description of the Method.
 IObjectTypeHandler set(int index, IObjectTypeHandler handler)
          TODO: Description of the Method.
 int size()
          TODO: Description of the Method.
 IObjectTypeHandlerList subList(int index1, int index2)
          TODO: Description of the Method.
 IObjectTypeHandlerList sublistForAction(IActionType actionType)
          TODO: Description of the Method.
 IObjectTypeHandlerList sublistForExtension(java.lang.String extension)
          TODO: Description of the Method.
 IObjectTypeHandlerList sublistForMimetype(java.lang.String mimeType)
          TODO: Description of the Method.
 IObjectTypeHandlerList sublistForMimetype(java.lang.String mimeType, java.lang.String targetMimeType)
          returns a sublist of IObjectTypeHandler that match for the given mimetype or targetmimetype.
 IObjectTypeHandlerList sublistForNoResourceTypeGiven()
          filters out all oths, that have a resourcetype defined.
 IObjectTypeHandlerList sublistForPath(RID path)
           
 IObjectTypeHandlerList sublistForPath(URI path)
          TODO: Description of the Method.
 IObjectTypeHandlerList sublistForResourceTypes(java.util.Vector resourceTypes)
          TODO: Description of the Method.
 IObjectTypeHandlerList sublistForResourceTypes(java.util.Vector resourceTypes, java.util.Vector targetTypes)
          returns a sublist of IObjectTypeHandler that match for the given resourcetypes or targetresourcetypes.
 

Method Detail

size

public int size()
TODO: Description of the Method.
Returns:
TODO: Description of the outgoing return value

containsObjectTypeHandler

public boolean containsObjectTypeHandler(IObjectTypeHandler handler)
TODO: Description of the Method.
Parameters:
handler - TODO: Description of the incoming method parameter
Returns:
TODO: Description of the outgoing return value

add

public void add(IObjectTypeHandlerList handlerList)
TODO: Description of the Method.
Parameters:
handlerList - TODO: Description of the incoming method parameter

add

public boolean add(IObjectTypeHandler handler)
TODO: Description of the Method.
Parameters:
handler - TODO: Description of the incoming method parameter
Returns:
TODO: Description of the outgoing return value

remove

public boolean remove(IObjectTypeHandler handler)
TODO: Description of the Method.
Parameters:
handler - TODO: Description of the incoming method parameter
Returns:
TODO: Description of the outgoing return value

get

public IObjectTypeHandler get(int index)
TODO: Description of the Method.
Parameters:
index - TODO: Description of the incoming method parameter
Returns:
TODO: Description of the outgoing return value

set

public IObjectTypeHandler set(int index,
                              IObjectTypeHandler handler)
TODO: Description of the Method.
Parameters:
index - TODO: Description of the incoming method parameter
handler - TODO: Description of the incoming method parameter
Returns:
TODO: Description of the outgoing return value

add

public void add(int index,
                IObjectTypeHandler resource)
TODO: Description of the Method.
Parameters:
index - TODO: Description of the incoming method parameter
resource - TODO: Description of the incoming method parameter

remove

public IObjectTypeHandler remove(int index)
TODO: Description of the Method.
Parameters:
index - TODO: Description of the incoming method parameter
Returns:
TODO: Description of the outgoing return value

indexOf

public int indexOf(IObjectTypeHandler handler)
TODO: Description of the Method.
Parameters:
handler - TODO: Description of the incoming method parameter
Returns:
TODO: Description of the outgoing return value

lastIndexOf

public int lastIndexOf(IObjectTypeHandler handler)
TODO: Description of the Method.
Parameters:
handler - TODO: Description of the incoming method parameter
Returns:
TODO: Description of the outgoing return value

listIterator

public IObjectTypeHandlerListIterator listIterator()
TODO: Description of the Method.
Returns:
TODO: Description of the outgoing return value

listIterator

public IObjectTypeHandlerListIterator listIterator(int index)
TODO: Description of the Method.
Parameters:
index - TODO: Description of the incoming method parameter
Returns:
TODO: Description of the outgoing return value

subList

public IObjectTypeHandlerList subList(int index1,
                                      int index2)
TODO: Description of the Method.
Parameters:
index1 - TODO: Description of the incoming method parameter
index2 - TODO: Description of the incoming method parameter
Returns:
TODO: Description of the outgoing return value

sublistForPath

public IObjectTypeHandlerList sublistForPath(URI path)
TODO: Description of the Method.
Parameters:
path - TODO: Description of the incoming method parameter
Returns:
TODO: Description of the outgoing return value

sublistForPath

public IObjectTypeHandlerList sublistForPath(RID path)
Parameters:
path -  
Returns:
 

sublistForMimetype

public IObjectTypeHandlerList sublistForMimetype(java.lang.String mimeType)
TODO: Description of the Method.
Parameters:
mimeType - TODO: Description of the incoming method parameter
Returns:
TODO: Description of the outgoing return value

sublistForMimetype

public IObjectTypeHandlerList sublistForMimetype(java.lang.String mimeType,
                                                 java.lang.String targetMimeType)
returns a sublist of IObjectTypeHandler that match for the given mimetype or targetmimetype. This method should be used, if a list of OTHs is needed for an IResource for an internal link. Depending on the oth's attributes, an oth might also be valid for a link, if the targetmimetype supplied matches the mimetype defined for the oth. See IMimeType for details
Parameters:
mimeType - the mimetype of the internal link, might be null
targetMimeType - the mimetype of the IResource the link points at, might be null
Returns:
a new instance of the IObjectTypeHandlerList , containing a subset of the oths in this list

sublistForExtension

public IObjectTypeHandlerList sublistForExtension(java.lang.String extension)
TODO: Description of the Method.
Parameters:
extension - TODO: Description of the incoming method parameter
Returns:
TODO: Description of the outgoing return value

sublistForAction

public IObjectTypeHandlerList sublistForAction(IActionType actionType)
TODO: Description of the Method.
Parameters:
actionType - TODO: Description of the incoming method parameter
Returns:
TODO: Description of the outgoing return value

sublistForResourceTypes

public IObjectTypeHandlerList sublistForResourceTypes(java.util.Vector resourceTypes)
TODO: Description of the Method.
Parameters:
resourceTypes - TBD: Description of the incoming method parameter
Returns:
TODO: Description of the outgoing return value

sublistForResourceTypes

public IObjectTypeHandlerList sublistForResourceTypes(java.util.Vector resourceTypes,
                                                      java.util.Vector targetTypes)
returns a sublist of IObjectTypeHandler that match for the given resourcetypes or targetresourcetypes. This method should be used, if a list of OTHs is needed for an IResource for an internal link. Depending on the oth's attributes, an oth might also be valid for a link, if the targeresourcetypes supplied matches the resourcetypes defined for the oth. See IResourceType for details
Parameters:
resourceTypes - TBD: Description of the incoming method parameter
targetTypes - TBD: Description of the incoming method parameter
Returns:
a new instance of the IObjectTypeHandlerList , containing a subset of the oths in this list

sublistForNoResourceTypeGiven

public IObjectTypeHandlerList sublistForNoResourceTypeGiven()
filters out all oths, that have a resourcetype defined. The underlying resource doesn't have a resource type defined, so oths with one or several resource types set as filter criteria cannot be applied on that resource and are therefore filtered out by this method.
Returns:
a new instance of the IObjectTypeHandlerList , containing a subset of the oths in this list

SAP NetWeaver '04

Copyright © 2004 by SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.