|
SAP NetWeaver 7.30 SP01 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
IURLGeneratorService
public interface IURLGenerator
Services, controls, repositories need to access resources, which are accessible only through their respective URLs. This interface offers methods to create URLs for certain resources, to build valid URLs from partial information known to the calling object by adding information from the configuration of the running system. This allows to create complete URLs, pointing to a webpage that can e.g. be included in an email or as link on another page. To obtain a valid instance of an URLGenerator, proceed as follows:
IURLGenerator ug = (IURLGenerator)ResourceFactory.getInstance()
.getServiceFactory()
.getService(IServiceTypesConst.URLGENERATOR_SERVICE);
A standard usecase would be to offer a link on a webpage that allows
the user to navigate to the details of a given resource: String linkreference = ug.createLinkToDetailsPageRID(resource.getRID()).toString();Please note, that some of the methods will return a complete URL, including protocol and server while others may only return a relative URL. Also, some of the returned
RID have a query-parameter attached,
so be careful when transforming into String.
Most field variables are explained in the
package-html and in the configuration framework. They are needed for the
internal mapping of configuration values to the internal variables. For
the method getValue , use these field variables as
parameter-keys. The method will then return the value configured for
this key in the configuration framework.
Copyright 2004 SAP AG
RID| Method Summary | |
|---|---|
com.sapportals.wcm.util.uri.URI |
createLinkToDetailsPage(com.sapportals.wcm.util.uri.URI resourceURI)
Deprecated. as of EP 5.0 SP2, replaced by createLinkToDetailsPageRID(RID) |
com.sapportals.wcm.util.uri.RID |
createLinkToDetailsPageRID(com.sapportals.wcm.util.uri.RID resourceRID)
Deprecated. as of EP 5.0 SP5, replaced by IURLGeneratorService.getResourcePageUri(PathKey, RID, RID) with parameter constant PathKey.DETAILS_PAGE |
com.sapportals.wcm.util.uri.RID |
createLinkToDetailsPageRID(com.sapportals.wcm.util.uri.RID resourceRID,
com.sapportals.wcm.util.uri.RID startRID)
Deprecated. as of EP 5.0 SP5, replaced by IURLGeneratorService.getResourcePageUri(PathKey, RID, RID) with parameter constant PathKey.DETAILS_PAGE |
com.sapportals.wcm.util.uri.URI |
createLinkToExplorerPage(com.sapportals.wcm.util.uri.URI resourceURI)
Deprecated. as of EP 5.0 SP2, replaced by createLinkToExplorerPageRID(RID) |
com.sapportals.wcm.util.uri.RID |
createLinkToExplorerPageRID(com.sapportals.wcm.util.uri.RID resourceRID)
Deprecated. as of EP 5.0 SP5, replaced by IURLGeneratorService.getResourcePageUri(PathKey, RID, RID) with parameter constant PathKey.EXPLORER_PAGE |
com.sapportals.wcm.util.uri.RID |
createLinkToExplorerPageRID(com.sapportals.wcm.util.uri.RID resourceRID,
com.sapportals.wcm.util.uri.RID startRID)
Deprecated. as of EP 5.0 SP5, replaced by IURLGeneratorService.getResourcePageUri(PathKey, RID, RID) with parameter constant PathKey.EXPLORER_PAGE |
com.sapportals.wcm.util.uri.URI |
createServletCall(Properties properties)
Deprecated. as of EP 5.0 SP2, replaced by createServletCallRID(Properties) |
com.sapportals.wcm.util.uri.RID |
createServletCallRID(Properties properties)
Deprecated. as of EP 5.0 SP5, replaced by IURLGeneratorService.getServicePageUri(java.util.List) |
String |
getAppLogDownloadPath()
Deprecated. as of EP 5.0 SP5, replaced by IURLGeneratorService.getRelativeUri(PathKey) with parameter constant PathKey.APPLOG_DOWNLOAD_PAGE |
String |
getAppLogPath()
Deprecated. as of EP 5.0 SP5, replaced by IURLGeneratorService.getRelativeUri(PathKey) with parameter constant PathKey.APPLOG_PAGE |
com.sapportals.wcm.util.uri.URI |
getBusinessCardApp(com.sapportals.portal.security.usermanagement.IUser user)
Deprecated. as of EP 5.0 SP2, replaced by getBusinessCardAppRID(IUser) |
com.sapportals.wcm.util.uri.URI |
getBusinessCardApp(String uid)
Deprecated. as of EP 5.0 SP2, replaced by getBusinessCardAppRID(String) |
com.sapportals.wcm.util.uri.RID |
getBusinessCardAppRID(com.sapportals.portal.security.usermanagement.IUser user)
Deprecated. as of EP 5.0 SP5, replaced by IURLGeneratorService.getBusinessCardUri(String) |
com.sapportals.wcm.util.uri.RID |
getBusinessCardAppRID(String uid)
Deprecated. as of EP 5.0 SP5, replaced by IURLGeneratorService.getBusinessCardUri(String) |
com.sapportals.wcm.util.uri.RID |
getCompleteRIDToShowFolder(ICollection folder)
Deprecated. as of EP 5.0 SP2, replaced by createLinkToExplorerPageRID(RID) |
com.sapportals.wcm.util.uri.URI |
getCompleteURIToShowFolder(ICollection folder)
Deprecated. as of EP 5.0 SP2, replaced by getCompleteRIDToShowFolder(ICollection) |
String |
getContentAccessPath()
Deprecated. as of EP 5.0 SP5, replaced by IURLGeneratorService.getRelativeUri(PathKey) with parameter constant PathKey.CONTENT_ACCESS_PATH |
String |
getDefaultConfigFile()
Deprecated. as of NW04. |
String |
getDefaultConfigFile(String key)
Deprecated. as of NW04. |
String |
getEditServletPath()
Deprecated. as of EP 5.0 SP5, replaced by IURLGeneratorService.getRelativeUri(PathKey) with parameter constant PathKey.XML_FORMS_EDIT_PAGE |
String |
getExplorerServletPath()
Deprecated. as of EP 5.0 SP5, replaced by IURLGeneratorService.getRelativeUri(PathKey) with parameter constant PathKey.EXPLORER_PAGE |
String |
getFavorites()
Deprecated. as of EP 5.0 SP5, replaced by IURLGeneratorService.getRelativeUri(PathKey) with parameter constant PathKey.FAVORITES_PAGE |
String |
getFolderAccessPath()
Deprecated. as of EP 5.0 SP5, this method has been removed |
com.sapportals.wcm.util.uri.URI |
getGroupResource(com.sapportals.portal.security.usermanagement.IGroup group)
Deprecated. as of EP 5.0 SP2, replaced by getGroupResourceRID(IGroup) |
com.sapportals.wcm.util.uri.URI |
getGroupResource(String gid)
Deprecated. as of EP 5.0 SP2, replaced by getGroupResourceRID(String) |
com.sapportals.wcm.util.uri.RID |
getGroupResourceRID(com.sapportals.portal.security.usermanagement.IGroup group)
Deprecated. as of EP 5.0 SP5, replaced by IURLGeneratorService.getGroupResourceRID(IGroup) |
com.sapportals.wcm.util.uri.RID |
getGroupResourceRID(String gid)
Deprecated. as of EP 5.0 SP5, replaced by IURLGeneratorService.getGroupResourceRID(String) |
String |
getHost()
Deprecated. as of EP 5.0 SP5, this method has been removed |
String |
getIcePath()
Deprecated. as of EP 5.0 SP5, replaced by IURLGeneratorService.getRelativeUri(PathKey) with parameter constant PathKey.ICE_SERVER |
String |
getImage(String filename)
Deprecated. as of EP 5.0 SP5, replaced by IURLGeneratorService.getImageUri(String) |
String |
getImagePath()
Deprecated. as of EP 5.0 SP5, replaced by IURLGeneratorService.getRelativeUri(PathKey) with parameter constant PathKey.IMAGE_PATH |
String |
getLinkList()
Deprecated. as of EP 5.0 SP5, replaced by IURLGeneratorService.getRelativeUri(PathKey) with parameter constant PathKey.LINKLIST_PAGE |
String |
getListServletPath()
Deprecated. as of EP 5.0 SP5, replaced by IURLGeneratorService.getRelativeUri(PathKey) with parameter constant PathKey.XML_FORMS_LIST_PAGE |
String |
getPreviewServletPath()
Deprecated. as of EP 5.0 SP5, replaced by IURLGeneratorService.getRelativeUri(PathKey) with parameter constant PathKey.XML_FORMS_PREVIEW_PAGE |
com.sapportals.wcm.util.uri.RID |
getRIDfromWebURL(com.sapportals.wcm.util.uri.URL webAddress)
Deprecated. as of EP 5.0 SP5, replaced by IURLGeneratorService.mapUri(IUri) |
com.sapportals.wcm.util.uri.URI |
getRoleResource(com.sapportals.portal.security.usermanagement.IRole group)
Deprecated. as of EP 5.0 SP2, replaced by getRoleResourceRID(IRole) |
com.sapportals.wcm.util.uri.URI |
getRoleResource(String rid)
Deprecated. as of EP 5.0 SP2, replaced by getRoleResourceRID(String) |
com.sapportals.wcm.util.uri.RID |
getRoleResourceRID(com.sapportals.portal.security.usermanagement.IRole role)
Deprecated. as of EP 5.0 SP5, replaced by IURLGeneratorService.getRoleResourceRID(IRole) |
com.sapportals.wcm.util.uri.RID |
getRoleResourceRID(String rid)
Deprecated. as of EP 5.0 SP5, replaced by IURLGeneratorService.getRoleResourceRID(String) |
String |
getServiceServletPath()
Deprecated. as of EP 5.0 SP5, replaced by IURLGeneratorService.getRelativeUri(PathKey) with parameter constant PathKey.SERVICE_PAGE. |
com.sapportals.wcm.util.uri.URI |
getUserFolder(com.sapportals.portal.security.usermanagement.IUser user,
String folder)
Deprecated. as of EP 5.0 SP2, replaced by getUserFolderRID(IUser,String) |
com.sapportals.wcm.util.uri.RID |
getUserFolderRID(com.sapportals.portal.security.usermanagement.IUser user,
String folder)
Deprecated. as of EP 5.0 SP5, replaced by IURLGeneratorService.getUserFolderRID(IUser, String) |
com.sapportals.wcm.util.uri.URI |
getUserHome(com.sapportals.portal.security.usermanagement.IUser user)
Deprecated. as of EP 5.0 SP2, replaced by getUserHomeRID(IUser) |
com.sapportals.wcm.util.uri.RID |
getUserHomeRID(com.sapportals.portal.security.usermanagement.IUser user)
Deprecated. as of EP 5.0 SP5, replaced by IURLGeneratorService.getUserHomeRID(IUser) |
String |
getUsermappingServlet(String systemId,
String successUrl,
String failureUrl,
String cancelUrl)
Deprecated. as of EP 5.0 SP5, replaced by IURLGeneratorService.getUsermappingPageUri(String, String, String,
String) |
com.sapportals.wcm.util.uri.URI |
getUserResource(com.sapportals.portal.security.usermanagement.IUser user)
Deprecated. as of EP 5.0 SP2, replaced by getUserResourceRID(IUser) |
com.sapportals.wcm.util.uri.URI |
getUserResource(com.sapportals.portal.security.usermanagement.IUser user,
String format)
Deprecated. as of EP 5.0 SP2, replaced by getUserResourceRID(IUser,
String) |
com.sapportals.wcm.util.uri.URI |
getUserResource(String uid)
Deprecated. as of EP 5.0 SP2, replaced by getUserResourceRID(String) |
com.sapportals.wcm.util.uri.URI |
getUserResource(String uid,
String format)
Deprecated. as of EP 5.0 SP2, replaced by getUserResourceRID(String, String) |
com.sapportals.wcm.util.uri.RID |
getUserResourceRID(com.sapportals.portal.security.usermanagement.IUser user)
Deprecated. as of EP 5.0 SP5, replaced by IURLGeneratorService.getUserResourceRID(IUser) |
com.sapportals.wcm.util.uri.RID |
getUserResourceRID(com.sapportals.portal.security.usermanagement.IUser user,
String format)
Deprecated. as of EP 5.0 SP5, replaced by IURLGeneratorService.getUserResourceRID(IUser, String) |
com.sapportals.wcm.util.uri.RID |
getUserResourceRID(String uid)
Deprecated. as of EP 5.0 SP5, replaced by IURLGeneratorService.getUserResourceRID(String) |
com.sapportals.wcm.util.uri.RID |
getUserResourceRID(String uid,
String format)
Deprecated. as of EP 5.0 SP5, replaced by IURLGeneratorService.getUserResourceRID(String, String) |
String |
getValue(String key)
Deprecated. as of EP 5.0 SP5, replaced by IURLGeneratorService.getRelativeUri(PathKey) or IURLGeneratorService.getAbsoluteUri(PathKey) |
String |
getViewerPath()
Deprecated. as of EP 5.0 SP5, replaced by IURLGeneratorService.getRelativeUri(PathKey) with parameter constant PathKey#VIEWER_PATH) |
String |
getXFBuilderServletPath()
Deprecated. as of EP 5.0 SP5, replaced by IURLGeneratorService.getRelativeUri(PathKey) with parameter constant PathKey.XML_FORMS_XFBUILDER_PAGE |
String |
replaceURIPlaceholders(String uri,
IResource resource)
Deprecated. Replaces placeholders in URI |
String |
replaceURIPlaceholders(String uri,
IResourceContext context)
Deprecated. Replaces placeholders in URI |
| Field Detail |
|---|
static final String USER_INBOX
static final String USER_FAVORITES
static final String USER_LINKS
static final String USER_BRIEFCASE
static final String USER_QUERIES
static final String USER_CLIPBOARD
static final String USER_TEMP
static final String USER_RESOURCE_FORMAT_RDF
static final String USER_RESOURCE_FORMAT_VCARD
static final String USER_RESOURCE_FORMAT_PHOTO
static final String TAG_APPLOG_DOWNLOAD_SERVLET_PATH
static final String TAG_APPLOG_PATH
static final String TAG_CONTENT_ACCESS_PATH
static final String TAG_DETAILSPAGE
static final String TAG_EXPLORER_SERVLET_PATH
static final String TAG_FAVORITES
static final String TAG_ICE_PATH
static final String TAG_IMAGE_PATH
static final String TAG_LINKLIST
static final String TAG_SERVICE_SERVLET_PATH
static final String TAG_USERMAPPING_SERVLET_PATH
static final String TAG_VIEWER_PATH
static final String TAG_XML_FORMS_CSS_URL
static final String TAG_XML_FORMS_EDITSERVLET_PATH
static final String TAG_XML_FORMS_LISTSERVLET_PATH
static final String TAG_XML_FORMS_PREVIEWSERVLET_PATH
static final String TAG_XML_FORMS_XFBUILDERSERVLET_PATH
static final String TAG_BUSINESS_CARD_PATH
static final String TAG_DEFAULT_CONFIG_FILE_NAME
static final String TAG_ENVIRONMENT
static final String TAG_FOLDER_ACCESS_PATH
static final String TAG_HOST
static final String TAG_GROUPRESOURCE
static final String TAG_ROLERESOURCE
static final String TAG_USERHOME
static final String TAG_USERRESOURCE
static final String TAG_WEBRM_ACCESS_PATH
static final String TAG_XML_FORMS_CSS
static final String TAG_USER_RESOURCE_FORMAT_RDF
static final String TAG_USER_RESOURCE_FORMAT_VCARD
static final String TAG_USER_RESOURCE_FORMAT_PHOTO
static final String CONFIG_CHAROPEN
static final String CONFIG_CHARCLOSE
static final String TAG_JBUILDER
static final String TAG_TOMCAT
| Method Detail |
|---|
com.sapportals.wcm.util.uri.RID getUserHomeRID(com.sapportals.portal.security.usermanagement.IUser user)
throws com.sapportals.wcm.WcmException
IURLGeneratorService.getUserHomeRID(IUser)
user - the user we want to get the home folder for
com.sapportals.wcm.WcmException - Exception raised in failure situation
com.sapportals.wcm.util.uri.RID getUserFolderRID(com.sapportals.portal.security.usermanagement.IUser user,
String folder)
throws com.sapportals.wcm.WcmException
IURLGeneratorService.getUserFolderRID(IUser, String)
user - the user in questionfolder - the folder in question
com.sapportals.wcm.WcmException - must be thrown, when user is null ,
implementations of this interface might decide to also throw the
exception in additional situationsString getHost()
String getServiceServletPath()
IURLGeneratorService.getRelativeUri(PathKey) with parameter constant PathKey.SERVICE_PAGE.
IURLGenerator
instance, e.g. http://myserver:8080/serviceservletString getExplorerServletPath()
IURLGeneratorService.getRelativeUri(PathKey) with parameter constant PathKey.EXPLORER_PAGE
IURLGenerator instance, e.g.
http://myserver:8080/explorerservletString getAppLogDownloadPath()
IURLGeneratorService.getRelativeUri(PathKey) with parameter constant PathKey.APPLOG_DOWNLOAD_PAGE
IURLGenerator
instance, e.g. http://myserver:8080/applogdownloadString getAppLogPath()
IURLGeneratorService.getRelativeUri(PathKey) with parameter constant PathKey.APPLOG_PAGE
IURLGenerator
instance, e.g. http://myserver:8080/applogString getImagePath()
IURLGeneratorService.getRelativeUri(PathKey) with parameter constant PathKey.IMAGE_PATH
ContentAccessPath and the repository and path information to
the image folder.String getImage(String filename)
IURLGeneratorService.getImageUri(String)
filename - the name of the file that represents the wanted Image
getImagePath()String getContentAccessPath()
IURLGeneratorService.getRelativeUri(PathKey) with parameter constant PathKey.CONTENT_ACCESS_PATH
String getFolderAccessPath()
String getIcePath()
IURLGeneratorService.getRelativeUri(PathKey) with parameter constant PathKey.ICE_SERVER
String getFavorites()
IURLGeneratorService.getRelativeUri(PathKey) with parameter constant PathKey.FAVORITES_PAGE
String getLinkList()
IURLGeneratorService.getRelativeUri(PathKey) with parameter constant PathKey.LINKLIST_PAGE
IURLGenerator
instance, e.g. http://myserver:8080/linklistString getListServletPath()
IURLGeneratorService.getRelativeUri(PathKey) with parameter constant PathKey.XML_FORMS_LIST_PAGE
String getEditServletPath()
IURLGeneratorService.getRelativeUri(PathKey) with parameter constant PathKey.XML_FORMS_EDIT_PAGE
String getPreviewServletPath()
IURLGeneratorService.getRelativeUri(PathKey) with parameter constant PathKey.XML_FORMS_PREVIEW_PAGE
String getXFBuilderServletPath()
IURLGeneratorService.getRelativeUri(PathKey) with parameter constant PathKey.XML_FORMS_XFBUILDER_PAGE
com.sapportals.wcm.util.uri.RID getCompleteRIDToShowFolder(ICollection folder)
throws com.sapportals.wcm.WcmException
createLinkToExplorerPageRID(RID)
folder - the folder to show
null
, if resource is not a folder Please use
createLinkToExplorerPage instead
com.sapportals.wcm.WcmException - Exception raised in failure situationString getViewerPath()
IURLGeneratorService.getRelativeUri(PathKey) with parameter constant PathKey#VIEWER_PATH)
IURLGenerator
instance, e.g. http://myserver:8080/myViewerString getValue(String key)
IURLGeneratorService.getRelativeUri(PathKey) or IURLGeneratorService.getAbsoluteUri(PathKey)
key - the key of the property to return. Use IURLGenerator.TAG_
constants as keys
null , if
there is no value for the given keyString getDefaultConfigFile()
String getDefaultConfigFile(String key)
key - this is not used anymore
com.sapportals.wcm.util.uri.RID createServletCallRID(Properties properties)
throws com.sapportals.wcm.WcmException
IURLGeneratorService.getServicePageUri(java.util.List)
IWcmConst holds a whole set of
parameters starting with SERVICE_SERVLET which can be used as
keys or default values in the Properties parameter.
properties - this includes parameters as defined in the
IWcmConst.ServiceServletParameters You can also use "free" key-value
pairs, but have to make sure, that receiving service will know about
these keys
com.sapportals.wcm.WcmException - Exception raised in failure situation
String getUsermappingServlet(String systemId,
String successUrl,
String failureUrl,
String cancelUrl)
throws com.sapportals.wcm.WcmException
IURLGeneratorService.getUsermappingPageUri(String, String, String,
String)
systemId - id of the systemsuccessUrl - URL in case of successfailureUrl - URL in case of failurecancelUrl - URL in case user cancels
com.sapportals.wcm.WcmException - Exception raised in failure situationcom.sapportals.wcm.util.uri.RID createLinkToDetailsPageRID(com.sapportals.wcm.util.uri.RID resourceRID)
IURLGeneratorService.getResourcePageUri(PathKey, RID, RID) with parameter constant PathKey.DETAILS_PAGE
IResource can be viewed in a special dialog, showing
properties and offering services available for this resource. The returned
value consists of the protocol, the host and the details page specified in
the configuration of the IURLGenerator instance, e.g.
http://myserver:8080/details
resourceRID - the RID of the resource in question
com.sapportals.wcm.util.uri.RID createLinkToDetailsPageRID(com.sapportals.wcm.util.uri.RID resourceRID,
com.sapportals.wcm.util.uri.RID startRID)
IURLGeneratorService.getResourcePageUri(PathKey, RID, RID) with parameter constant PathKey.DETAILS_PAGE
resourceRID - The RID of the resource in questionstartRID - The RID which is returned as StartPath-parameter
The additional
StartUri parameter must be a parent RID of the given resource
RID. It forbids a navigation to any element being a root for the given
resource RID.
com.sapportals.wcm.util.uri.RID createLinkToExplorerPageRID(com.sapportals.wcm.util.uri.RID resourceRID)
throws com.sapportals.wcm.WcmException
IURLGeneratorService.getResourcePageUri(PathKey, RID, RID) with parameter constant PathKey.EXPLORER_PAGE
ICollection can be viewed in a special dialog, showing
child resources, navigation information etc. The returned value consists of
the protocol, the host and the explorer page specified in the configuration
of the IURLGenerator instance, e.g.
http://myserver:8080/explorer
resourceRID - The Rid of the resource in question
com.sapportals.wcm.WcmException - Exception raised in failure situation. Is thrown
when resourceRID is null .
com.sapportals.wcm.util.uri.RID createLinkToExplorerPageRID(com.sapportals.wcm.util.uri.RID resourceRID,
com.sapportals.wcm.util.uri.RID startRID)
throws com.sapportals.wcm.WcmException
IURLGeneratorService.getResourcePageUri(PathKey, RID, RID) with parameter constant PathKey.EXPLORER_PAGE
resourceRID - The Rid of the resource in questionstartRID - The Rid which is returned as StartPath-parameter
com.sapportals.wcm.WcmException - Exception raised in failure situation. Is thrown
when resourceRID is null .The additional StartUri
parameter must be a parent RID of the given resource RID. It forbids a
navigation to any element being a root for given resource RID. gets
RID to show explorer page of resource
com.sapportals.wcm.util.uri.RID getUserResourceRID(com.sapportals.portal.security.usermanagement.IUser user)
throws com.sapportals.wcm.WcmException
IURLGeneratorService.getUserResourceRID(IUser)
user - the user to get the RID for
com.sapportals.wcm.WcmException - Exception raised in failure situation
com.sapportals.wcm.util.uri.RID getUserResourceRID(com.sapportals.portal.security.usermanagement.IUser user,
String format)
throws com.sapportals.wcm.WcmException
IURLGeneratorService.getUserResourceRID(IUser, String)
user - the user in questionformat - the wanted format
com.sapportals.wcm.WcmException - Exception raised in failure situation
com.sapportals.wcm.util.uri.RID getUserResourceRID(String uid)
throws com.sapportals.wcm.WcmException
IURLGeneratorService.getUserResourceRID(String)
uid - the id of the user
com.sapportals.wcm.WcmException - Exception raised in failure situation
com.sapportals.wcm.util.uri.RID getUserResourceRID(String uid,
String format)
throws com.sapportals.wcm.WcmException
IURLGeneratorService.getUserResourceRID(String, String)
uid - the id of the userformat - the format wanted
com.sapportals.wcm.WcmException - Exception raised in failure situation
com.sapportals.wcm.util.uri.RID getGroupResourceRID(com.sapportals.portal.security.usermanagement.IGroup group)
throws com.sapportals.wcm.WcmException
IURLGeneratorService.getGroupResourceRID(IGroup)
group - the group in question
com.sapportals.wcm.WcmException - Exception raised in failure situation
com.sapportals.wcm.util.uri.RID getGroupResourceRID(String gid)
throws com.sapportals.wcm.WcmException
IURLGeneratorService.getGroupResourceRID(String)
gid - the id of the group
com.sapportals.wcm.WcmException - Exception raised in failure situation
com.sapportals.wcm.util.uri.RID getRoleResourceRID(com.sapportals.portal.security.usermanagement.IRole role)
throws com.sapportals.wcm.WcmException
IURLGeneratorService.getRoleResourceRID(IRole)
role - the role in question
com.sapportals.wcm.WcmException - Exception raised in failure situation
com.sapportals.wcm.util.uri.RID getRoleResourceRID(String rid)
throws com.sapportals.wcm.WcmException
IURLGeneratorService.getRoleResourceRID(String)
rid - The id of the role
com.sapportals.wcm.WcmException - Exception raised in failure situation
com.sapportals.wcm.util.uri.RID getBusinessCardAppRID(com.sapportals.portal.security.usermanagement.IUser user)
throws com.sapportals.wcm.WcmException
IURLGeneratorService.getBusinessCardUri(String)
user -
com.sapportals.wcm.WcmException - Exception raised in failure situation
com.sapportals.wcm.util.uri.RID getBusinessCardAppRID(String uid)
throws com.sapportals.wcm.WcmException
IURLGeneratorService.getBusinessCardUri(String)
uid - The id of the user
com.sapportals.wcm.WcmException - Exception raised in failure situation
String replaceURIPlaceholders(String uri,
IResourceContext context)
throws ResourceException
uri - the uri to replace the placeholders incontext - the present context of the user who called this method
ResourceException - Exception raised in failure situation
String replaceURIPlaceholders(String uri,
IResource resource)
throws ResourceException
uri - resource -
ResourceException - Exception raised in failure situation
com.sapportals.wcm.util.uri.URI getUserFolder(com.sapportals.portal.security.usermanagement.IUser user,
String folder)
throws com.sapportals.wcm.WcmException
getUserFolderRID(IUser,String)
user - TBD: Description of the incoming method parameterfolder - TBD: Description of the incoming method parameter
com.sapportals.wcm.WcmException - Exception raised in failure situation
com.sapportals.wcm.util.uri.URI getUserHome(com.sapportals.portal.security.usermanagement.IUser user)
throws com.sapportals.wcm.WcmException
getUserHomeRID(IUser)
user -
com.sapportals.wcm.WcmException - Exception raised in failure situation
com.sapportals.wcm.util.uri.URI getCompleteURIToShowFolder(ICollection folder)
throws com.sapportals.wcm.WcmException
getCompleteRIDToShowFolder(ICollection)
folder -
com.sapportals.wcm.WcmException - Exception raised in failure situation
com.sapportals.wcm.util.uri.URI createServletCall(Properties properties)
throws com.sapportals.wcm.WcmException
createServletCallRID(Properties)
properties - this includes parameters as defined in the
IWcmConst.ServiceServletParameters You can also use "free" key-value
pairs, but have to make sure, that receiving service will know about
these keys creates a complete URL to include in emails etc to start a
service
com.sapportals.wcm.WcmException - Exception raised in failure situationcom.sapportals.wcm.util.uri.URI createLinkToDetailsPage(com.sapportals.wcm.util.uri.URI resourceURI)
createLinkToDetailsPageRID(RID)
resourceURI -
com.sapportals.wcm.util.uri.URI createLinkToExplorerPage(com.sapportals.wcm.util.uri.URI resourceURI)
throws com.sapportals.wcm.WcmException
createLinkToExplorerPageRID(RID)
resourceURI -
com.sapportals.wcm.WcmException - Exception raised in failure situation
com.sapportals.wcm.util.uri.URI getUserResource(com.sapportals.portal.security.usermanagement.IUser user)
throws com.sapportals.wcm.WcmException
getUserResourceRID(IUser)
user -
com.sapportals.wcm.WcmException - Exception raised in failure situation
com.sapportals.wcm.util.uri.URI getUserResource(com.sapportals.portal.security.usermanagement.IUser user,
String format)
throws com.sapportals.wcm.WcmException
getUserResourceRID(IUser,
String)
user - the user in questionformat - the wanted format
com.sapportals.wcm.WcmException - Exception raised in failure situation
com.sapportals.wcm.util.uri.URI getUserResource(String uid)
throws com.sapportals.wcm.WcmException
getUserResourceRID(String)
uid -
com.sapportals.wcm.WcmException - Exception raised in failure situation
com.sapportals.wcm.util.uri.URI getUserResource(String uid,
String format)
throws com.sapportals.wcm.WcmException
getUserResourceRID(String, String)
uid - the id of the userformat - the format wanted
com.sapportals.wcm.WcmException - Exception raised in failure situation
com.sapportals.wcm.util.uri.URI getGroupResource(com.sapportals.portal.security.usermanagement.IGroup group)
throws com.sapportals.wcm.WcmException
getGroupResourceRID(IGroup)
group -
com.sapportals.wcm.WcmException - Exception raised in failure situation
com.sapportals.wcm.util.uri.URI getGroupResource(String gid)
throws com.sapportals.wcm.WcmException
getGroupResourceRID(String)
gid -
com.sapportals.wcm.WcmException - Exception raised in failure situation
com.sapportals.wcm.util.uri.URI getRoleResource(com.sapportals.portal.security.usermanagement.IRole group)
throws com.sapportals.wcm.WcmException
getRoleResourceRID(IRole)
group -
com.sapportals.wcm.WcmException - Exception raised in failure situationcom.sapportals.wcm.util.uri.RID getRIDfromWebURL(com.sapportals.wcm.util.uri.URL webAddress)
IURLGeneratorService.mapUri(IUri)
webAddress - a URL object to be converted
RID object with converted web url
com.sapportals.wcm.util.uri.URI getRoleResource(String rid)
throws com.sapportals.wcm.WcmException
getRoleResourceRID(String)
rid -
com.sapportals.wcm.WcmException - Exception raised in failure situation
com.sapportals.wcm.util.uri.URI getBusinessCardApp(com.sapportals.portal.security.usermanagement.IUser user)
throws com.sapportals.wcm.WcmException
getBusinessCardAppRID(IUser)
user -
com.sapportals.wcm.WcmException - Exception raised in failure situation
com.sapportals.wcm.util.uri.URI getBusinessCardApp(String uid)
throws com.sapportals.wcm.WcmException
getBusinessCardAppRID(String)
uid -
com.sapportals.wcm.WcmException - Exception raised in failure situation| 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] tc/km/frwk
|
api
|
EP-KM-CM
|
|
SAP NetWeaver 7.30 SP01 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||