|
SAP NetWeaver 7.31 (SP01) KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.wcm.control.util.ResourceURLCreator
public class ResourceURLCreator
creates the encoded target for the given resource. This target can be used
as reference for an htmlb-Link. Depending on the parameters and
the resource itself, the IObjectTypeHandlerService is used to
calculate the valid target
| Nested Class Summary | |
|---|---|
static class |
ResourceURLCreator.TargetType
Deprecated. As of NetWeaver 7.1 |
| Field Summary | |
|---|---|
static String |
BROKEN_LINK_PAGE
Deprecated. |
static ResourceURLCreator.TargetType |
DETAILS
Deprecated. |
static String |
START_URI
Deprecated. |
static ResourceURLCreator.TargetType |
VIEW
Deprecated. |
| Constructor Summary | |
|---|---|
ResourceURLCreator(IResource res)
Deprecated. As of NetWeaver 7.1 |
|
ResourceURLCreator(IResource res,
ICollection start)
Deprecated. As of NetWeaver 7.1 |
|
ResourceURLCreator(IResource res,
com.sapportals.wcm.util.uri.RID start)
Deprecated. As of NetWeaver 7.1 |
|
| Method Summary | |
|---|---|
String |
getURL(ResourceURLCreator.TargetType type,
boolean useOTH)
Deprecated. As of NetWeaver 7.1 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String START_URI
public static final String BROKEN_LINK_PAGE
public static final ResourceURLCreator.TargetType VIEW
public static final ResourceURLCreator.TargetType DETAILS
| Constructor Detail |
|---|
public ResourceURLCreator(IResource res,
ICollection start)
throws com.sapportals.wcm.WcmException
res - the resource to create a target link for. Must not be nullstart - defines how far back in the hierarchy the user is allowed to browse. If
start is null or it is not an ancestor of the given resource, a debug
information will be added to the log and the resource itself will be used as the
maximum hierarchy level for navigation. If the resource is not an ICollection,
the resource's parent collection will be used instead.
com.sapportals.wcm.WcmException - if the framework can not retrieve the RID from one of the resources
public ResourceURLCreator(IResource res)
throws com.sapportals.wcm.WcmException
res - the resource to create a target link for. Must not be null. The
resource itself will be the maximum hierarchy the user can browse to. If the resource is
not an ICollection, it's parent will be used as maximum hierarchy.
com.sapportals.wcm.WcmException - if the framework can not retrieve the RID from one of the resources
public ResourceURLCreator(IResource res,
com.sapportals.wcm.util.uri.RID start)
throws com.sapportals.wcm.WcmException
res - the resource to create a target link for. Must not be nullstart - defines how far back in the hierarchy the user is allowed to browse. If
start is null or it is not an ancestor of the given resource, a debug
information will be added to the log and the resource itself will be used as the
maximum hierarchy level for navigation. If the resource is not an ICollection,
the resource's parent collection will be used instead.
com.sapportals.wcm.WcmException - if the framework can not retrieve the RID from the resource| Method Detail |
|---|
public String getURL(ResourceURLCreator.TargetType type,
boolean useOTH)
throws com.sapportals.wcm.WcmException
type - defines what kind of target is needed for the resource, e.g. viewing or
details, must not be null.useOTH - enables or disables OTH usage
com.sapportals.wcm.WcmException - when an exception occurs in the repository framework| Access Rights |
|---|
| 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]
|
api
|
EP-KM-CM
|
|
SAP NetWeaver 7.31 (SP01) KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||