com.sapportals.wcm.repository

Class Position

java.lang.Object
  extended by com.sapportals.wcm.repository.Position
All Implemented Interfaces:
IPosition

public class Position
extends Object
implements IPosition

The positioning information required by methods that position resource in ordered collections.

Copyright (c) SAP AG 2001-2003


Constructor Summary
Position(String relativeName, OrderPosition pos)
           
 
Method Summary
static Position createFirstPosition()
          Returns a ready-to-use Position object
static Position createLastPosition()
          Returns a ready-to-use Position object
 OrderPosition getPosition()
          The position in the ordered collection.
 String getRelativeName()
          Returns the name of the resource in an ordered collection that will be used to set a relativ position of BEFORE or AFTER.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Position

public Position(String relativeName,
                OrderPosition pos)
Method Detail

getRelativeName

public String getRelativeName()
Returns the name of the resource in an ordered collection that will be used to set a relativ position of BEFORE or AFTER.

Specified by:
getRelativeName in interface IPosition
Returns:
relativeName

getPosition

public OrderPosition getPosition()
The position in the ordered collection.

Specified by:
getPosition in interface IPosition
Returns:
position

createLastPosition

public static Position createLastPosition()
Returns a ready-to-use Position object

Returns:
TBD: Description of the outgoing return value

createFirstPosition

public static Position createFirstPosition()
Returns a ready-to-use Position object

Returns:
TBD: Description of the outgoing return value

toString

public String toString()
Overrides:
toString in class Object
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-CM [sap.com] tc/km/frwk api EP-KM-CM
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2014 SAP AG Complete Copyright Notice