com.sapportals.wcm.repository
Class CollectionInterpreter
java.lang.Object
com.sapportals.wcm.repository.CollectionInterpreter
public class CollectionInterpreter
- extends Object
This is a very simple interpreter class that allows one to write JDK 1.5
compliant code.
Use this class to call methods using the old deprecated enum objects.
For each method in class X (X.doExample(oldEnumType)), you'll find a corresponding method
of the form doExample(instanceOfX,newEnumType) in this class.
- Since:
- NW 7.1
|
Method Summary |
static IResource |
createLink(ICollection collection,
String name,
URL targetURL,
LinkType linkType,
IPosition position,
IPropertyMap properties)
Method with new enum signatures resembling method ICollection.createLink(String, URL, com.sapportals.wcm.repository.enums.LinkType, IPosition, IPropertyMap) |
static IResource |
createLink(ICollection collection,
String name,
URL targetURL,
LinkType linkType,
IPosition position,
IPropertyMap properties,
boolean ignorePropertyFailures)
Method with new enum signatures resembling method ICollection.createLink(String, URL, com.sapportals.wcm.repository.enums.LinkType, IPosition, IPropertyMap, boolean) |
static IResource |
createLink(ICollection collection,
String name,
URL targetURL,
LinkType linkType,
IPropertyMap properties)
Method with new enum signatures resembling method ICollection.createLink(String, URL, com.sapportals.wcm.repository.enums.LinkType, IPropertyMap) |
static IResource |
createLink(ICollection collection,
String name,
URL targetURL,
LinkType linkType,
IPropertyMap properties,
boolean ignorePropertyFailures)
Method with new enum signatures resembling method ICollection.createLink(String, URL, com.sapportals.wcm.repository.enums.LinkType, IPropertyMap, boolean) |
static OrderType |
getOrderType(ICollection instance)
|
static void |
setOrderType(ICollection instance,
OrderType type)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CollectionInterpreter
public CollectionInterpreter()
createLink
public static IResource createLink(ICollection collection,
String name,
URL targetURL,
LinkType linkType,
IPropertyMap properties)
throws ResourceException,
NotSupportedException,
AccessDeniedException
- Method with new enum signatures resembling method
ICollection.createLink(String, URL, com.sapportals.wcm.repository.enums.LinkType, IPropertyMap)
- Throws:
ResourceException
NotSupportedException
AccessDeniedException
createLink
public static IResource createLink(ICollection collection,
String name,
URL targetURL,
LinkType linkType,
IPosition position,
IPropertyMap properties)
throws ResourceException,
NotSupportedException,
AccessDeniedException
- Method with new enum signatures resembling method
ICollection.createLink(String, URL, com.sapportals.wcm.repository.enums.LinkType, IPosition, IPropertyMap)
- Throws:
ResourceException
NotSupportedException
AccessDeniedException
createLink
public static IResource createLink(ICollection collection,
String name,
URL targetURL,
LinkType linkType,
IPropertyMap properties,
boolean ignorePropertyFailures)
throws ResourceException,
NotSupportedException,
AccessDeniedException
- Method with new enum signatures resembling method
ICollection.createLink(String, URL, com.sapportals.wcm.repository.enums.LinkType, IPropertyMap, boolean)
- Throws:
ResourceException
NotSupportedException
AccessDeniedException
createLink
public static IResource createLink(ICollection collection,
String name,
URL targetURL,
LinkType linkType,
IPosition position,
IPropertyMap properties,
boolean ignorePropertyFailures)
throws ResourceException,
NotSupportedException,
AccessDeniedException
- Method with new enum signatures resembling method
ICollection.createLink(String, URL, com.sapportals.wcm.repository.enums.LinkType, IPosition, IPropertyMap, boolean)
- Throws:
ResourceException
NotSupportedException
AccessDeniedException
getOrderType
public static OrderType getOrderType(ICollection instance)
throws ResourceException
- Throws:
ResourceException
setOrderType
public static void setOrderType(ICollection instance,
OrderType type)
throws ResourceException
- Throws:
ResourceException
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