public class OrderPosition extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
referencePointName |
protected String |
resourceHandleName |
protected OrderPositionType |
type |
Modifier | Constructor and Description |
---|---|
protected |
OrderPosition(OrderPositionType type,
String resourceHandleName,
String referencePointName)
Private general constructor of an order position.
|
Modifier and Type | Method and Description |
---|---|
static OrderPosition |
createAfterPosition(String resourceHandleName,
String referencePointName)
Create order position to place the given resource after another resource in
the set of children of the resource collection.
|
static OrderPosition |
createBeforePosition(String resourceHandleName,
String referencePointName)
Create order position to place the given resource before another resource
in the set of children of the resource collection.
|
static OrderPosition |
createFirstPosition(String resourceHandleName)
Create order position to make the given resource the first resource of the
resource collection.
|
static OrderPosition |
createLastPosition(String resourceHandleName)
Create order position to make the given resource the last resource of the
resource collection.
|
String |
getReferencePointName()
Get reference point to which the resource should be aligned according to
the order position.
|
String |
getResourceHandleName()
Get resource handle of the resource to be reordered.
|
OrderPositionType |
getType()
Get order position type of the resource to be reordered.
|
protected OrderPositionType type
protected String resourceHandleName
protected String referencePointName
protected OrderPosition(OrderPositionType type, String resourceHandleName, String referencePointName)
type
- order position type of the resource to be reorderedresourceHandleName
- resource handle of the resource to be reorderedreferencePointName
- reference point to which the resource should be
aligned according to the order positionpublic static OrderPosition createFirstPosition(String resourceHandleName)
resourceHandleName
- resource handle of the resource to be reorderedpublic static OrderPosition createLastPosition(String resourceHandleName)
resourceHandleName
- resource handle of the resource to be reorderedpublic static OrderPosition createBeforePosition(String resourceHandleName, String referencePointName)
resourceHandleName
- resource handle of the resource to be reorderedreferencePointName
- reference point to which the resource should be
aligned according to the order positionpublic static OrderPosition createAfterPosition(String resourceHandleName, String referencePointName)
resourceHandleName
- resource handle of the resource to be reorderedreferencePointName
- reference point to which the resource should be
aligned according to the order positionpublic OrderPositionType getType()
public String getResourceHandleName()
public String getReferencePointName()
Access Rights |
---|
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 2018 SAP AG Complete Copyright Notice