|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
IURLGeneratorService
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 | |
URI |
createLinkToDetailsPage(URI resourceURI)
Deprecated. as of EP 5.0 SP2, replaced by createLinkToDetailsPageRID(RID) |
RID |
createLinkToDetailsPageRID(RID resourceRID)
Deprecated. as of EP 5.0 SP5, replaced by IURLGeneratorService.getResourcePageUri(PathKey, RID, RID) with parameter constant PathKey.DETAILS_PAGE |
RID |
createLinkToDetailsPageRID(RID resourceRID,
RID startRID)
Deprecated. as of EP 5.0 SP5, replaced by IURLGeneratorService.getResourcePageUri(PathKey, RID, RID) with parameter constant PathKey.DETAILS_PAGE |
URI |
createLinkToExplorerPage(URI resourceURI)
Deprecated. as of EP 5.0 SP2, replaced by createLinkToExplorerPageRID(RID) |
RID |
createLinkToExplorerPageRID(RID resourceRID)
Deprecated. as of EP 5.0 SP5, replaced by IURLGeneratorService.getResourcePageUri(PathKey, RID, RID) with parameter constant PathKey.EXPLORER_PAGE |
RID |
createLinkToExplorerPageRID(RID resourceRID,
RID startRID)
Deprecated. as of EP 5.0 SP5, replaced by IURLGeneratorService.getResourcePageUri(PathKey, RID, RID) with parameter constant PathKey.EXPLORER_PAGE |
URI |
createServletCall(Properties properties)
Deprecated. as of EP 5.0 SP2, replaced by createServletCallRID(Properties) |
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 |
URI |
getBusinessCardApp(com.sapportals.portal.security.usermanagement.IUser user)
Deprecated. as of EP 5.0 SP2, replaced by getBusinessCardAppRID(IUser) |
URI |
getBusinessCardApp(String uid)
Deprecated. as of EP 5.0 SP2, replaced by getBusinessCardAppRID(String) |
RID |
getBusinessCardAppRID(com.sapportals.portal.security.usermanagement.IUser user)
Deprecated. as of EP 5.0 SP5, replaced by IURLGeneratorService.getBusinessCardUri(String) |
RID |
getBusinessCardAppRID(String uid)
Deprecated. as of EP 5.0 SP5, replaced by IURLGeneratorService.getBusinessCardUri(String) |
RID |
getCompleteRIDToShowFolder(ICollection folder)
Deprecated. as of EP 5.0 SP2, replaced by createLinkToExplorerPageRID(RID) |
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 |
URI |
getGroupResource(com.sapportals.portal.security.usermanagement.IGroup group)
Deprecated. as of EP 5.0 SP2, replaced by getGroupResourceRID(IGroup) |
URI |
getGroupResource(String gid)
Deprecated. as of EP 5.0 SP2, replaced by getGroupResourceRID(String) |
RID |
getGroupResourceRID(com.sapportals.portal.security.usermanagement.IGroup group)
Deprecated. as of EP 5.0 SP5, replaced by IURLGeneratorService.getGroupResourceRID(IGroup) |
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 |
RID |
getRIDfromWebURL(URL webAddress)
Deprecated. as of EP 5.0 SP5, replaced by IURLGeneratorService.mapUri(IUri) |
URI |
getRoleResource(com.sapportals.portal.security.usermanagement.IRole group)
Deprecated. as of EP 5.0 SP2, replaced by getRoleResourceRID(IRole) |
URI |
getRoleResource(String rid)
Deprecated. as of EP 5.0 SP2, replaced by getRoleResourceRID(String) |
RID |
getRoleResourceRID(com.sapportals.portal.security.usermanagement.IRole role)
Deprecated. as of EP 5.0 SP5, replaced by IURLGeneratorService.getRoleResourceRID(IRole) |
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. |
URI |
getUserFolder(com.sapportals.portal.security.usermanagement.IUser user,
String folder)
Deprecated. as of EP 5.0 SP2, replaced by getUserFolderRID(IUser,
String) |
RID |
getUserFolderRID(com.sapportals.portal.security.usermanagement.IUser user,
String folder)
Deprecated. as of EP 5.0 SP5, replaced by IURLGeneratorService.getUserFolderRID(IUser, String) |
URI |
getUserHome(com.sapportals.portal.security.usermanagement.IUser user)
Deprecated. as of EP 5.0 SP2, replaced by getUserHomeRID(IUser) |
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) |
URI |
getUserResource(com.sapportals.portal.security.usermanagement.IUser user)
Deprecated. as of EP 5.0 SP2, replaced by getUserResourceRID(IUser) |
URI |
getUserResource(com.sapportals.portal.security.usermanagement.IUser user,
String format)
Deprecated. as of EP 5.0 SP2, replaced by getUserResourceRID(IUser,
String) |
URI |
getUserResource(String uid)
Deprecated. as of EP 5.0 SP2, replaced by getUserResourceRID(String) |
URI |
getUserResource(String uid,
String format)
Deprecated. as of EP 5.0 SP2, replaced by getUserResourceRID(String, String) |
RID |
getUserResourceRID(com.sapportals.portal.security.usermanagement.IUser user)
Deprecated. as of EP 5.0 SP5, replaced by IURLGeneratorService.getUserResourceRID(IUser) |
RID |
getUserResourceRID(com.sapportals.portal.security.usermanagement.IUser user,
String format)
Deprecated. as of EP 5.0 SP5, replaced by IURLGeneratorService.getUserResourceRID(IUser, String) |
RID |
getUserResourceRID(String uid)
Deprecated. as of EP 5.0 SP5, replaced by IURLGeneratorService.getUserResourceRID(String) |
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 |
public static final String USER_INBOX
public static final String USER_FAVORITES
public static final String USER_LINKS
public static final String USER_BRIEFCASE
public static final String USER_QUERIES
public static final String USER_CLIPBOARD
public static final String USER_TEMP
public static final String USER_RESOURCE_FORMAT_RDF
public static final String USER_RESOURCE_FORMAT_VCARD
public static final String USER_RESOURCE_FORMAT_PHOTO
public static final String TAG_APPLOG_DOWNLOAD_SERVLET_PATH
public static final String TAG_APPLOG_PATH
public static final String TAG_CONTENT_ACCESS_PATH
public static final String TAG_DETAILSPAGE
public static final String TAG_EXPLORER_SERVLET_PATH
public static final String TAG_FAVORITES
public static final String TAG_ICE_PATH
public static final String TAG_IMAGE_PATH
public static final String TAG_LINKLIST
public static final String TAG_SERVICE_SERVLET_PATH
public static final String TAG_USERMAPPING_SERVLET_PATH
public static final String TAG_VIEWER_PATH
public static final String TAG_XML_FORMS_CSS_URL
public static final String TAG_XML_FORMS_EDITSERVLET_PATH
public static final String TAG_XML_FORMS_LISTSERVLET_PATH
public static final String TAG_XML_FORMS_PREVIEWSERVLET_PATH
public static final String TAG_XML_FORMS_XFBUILDERSERVLET_PATH
public static final String TAG_BUSINESS_CARD_PATH
public static final String TAG_DEFAULT_CONFIG_FILE_NAME
public static final String TAG_ENVIRONMENT
public static final String TAG_FOLDER_ACCESS_PATH
public static final String TAG_HOST
public static final String TAG_GROUPRESOURCE
public static final String TAG_ROLERESOURCE
public static final String TAG_USERHOME
public static final String TAG_USERRESOURCE
public static final String TAG_WEBRM_ACCESS_PATH
public static final String TAG_XML_FORMS_CSS
public static final String TAG_USER_RESOURCE_FORMAT_RDF
public static final String TAG_USER_RESOURCE_FORMAT_VCARD
public static final String TAG_USER_RESOURCE_FORMAT_PHOTO
public static final String CONFIG_CHAROPEN
public static final String CONFIG_CHARCLOSE
public static final String TAG_JBUILDER
public static final String TAG_TOMCAT
| Method Detail |
public RID getUserHomeRID(com.sapportals.portal.security.usermanagement.IUser user)
throws WcmException
IURLGeneratorService.getUserHomeRID(IUser)
user - the user we want to get the home folder for
WcmException - Exception raised in failure situation
public RID getUserFolderRID(com.sapportals.portal.security.usermanagement.IUser user,
String folder)
throws WcmException
IURLGeneratorService.getUserFolderRID(IUser, String)
user - the user in questionfolder - the folder in question
WcmException - must be thrown, when user is null ,
implementations of this interface might decide to also throw the
exception in additional situationspublic String getHost()
public String getServiceServletPath()
IURLGeneratorService.getRelativeUri(PathKey) with parameter constant PathKey.SERVICE_PAGE.
IURLGenerator
instance, e.g. http://myserver:8080/serviceservletpublic String getExplorerServletPath()
IURLGeneratorService.getRelativeUri(PathKey) with parameter constant PathKey.EXPLORER_PAGE
IURLGenerator instance, e.g.
http://myserver:8080/explorerservletpublic String getAppLogDownloadPath()
IURLGeneratorService.getRelativeUri(PathKey) with parameter constant PathKey.APPLOG_DOWNLOAD_PAGE
IURLGenerator
instance, e.g. http://myserver:8080/applogdownloadpublic String getAppLogPath()
IURLGeneratorService.getRelativeUri(PathKey) with parameter constant PathKey.APPLOG_PAGE
IURLGenerator
instance, e.g. http://myserver:8080/applogpublic String getImagePath()
IURLGeneratorService.getRelativeUri(PathKey) with parameter constant PathKey.IMAGE_PATH
ContentAccessPath and the repository and path information to
the image folder.public String getImage(String filename)
IURLGeneratorService.getImageUri(String)
filename - the name of the file that represents the wanted Image
getImagePath()public String getContentAccessPath()
IURLGeneratorService.getRelativeUri(PathKey) with parameter constant PathKey.CONTENT_ACCESS_PATH
public String getFolderAccessPath()
public String getIcePath()
IURLGeneratorService.getRelativeUri(PathKey) with parameter constant PathKey.ICE_SERVER
public String getFavorites()
IURLGeneratorService.getRelativeUri(PathKey) with parameter constant PathKey.FAVORITES_PAGE
public String getLinkList()
IURLGeneratorService.getRelativeUri(PathKey) with parameter constant PathKey.LINKLIST_PAGE
IURLGenerator
instance, e.g. http://myserver:8080/linklistpublic String getListServletPath()
IURLGeneratorService.getRelativeUri(PathKey) with parameter constant PathKey.XML_FORMS_LIST_PAGE
public String getEditServletPath()
IURLGeneratorService.getRelativeUri(PathKey) with parameter constant PathKey.XML_FORMS_EDIT_PAGE
public String getPreviewServletPath()
IURLGeneratorService.getRelativeUri(PathKey) with parameter constant PathKey.XML_FORMS_PREVIEW_PAGE
public String getXFBuilderServletPath()
IURLGeneratorService.getRelativeUri(PathKey) with parameter constant PathKey.XML_FORMS_XFBUILDER_PAGE
public RID getCompleteRIDToShowFolder(ICollection folder)
throws WcmException
createLinkToExplorerPageRID(RID)
folder - the folder to show
null
, if resource is not a folder Please use
createLinkToExplorerPage instead
WcmException - Exception raised in failure situationpublic String getViewerPath()
IURLGeneratorService.getRelativeUri(PathKey) with parameter constant PathKey#VIEWER_PATH)
IURLGenerator
instance, e.g. http://myserver:8080/myViewerpublic String 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 keypublic String getDefaultConfigFile()
public String getDefaultConfigFile(String key)
key - this is not used anymore
public RID createServletCallRID(Properties properties)
throws 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
WcmException - Exception raised in failure situation
public String getUsermappingServlet(String systemId,
String successUrl,
String failureUrl,
String cancelUrl)
throws 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
WcmException - Exception raised in failure situationpublic RID createLinkToDetailsPageRID(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
public RID createLinkToDetailsPageRID(RID resourceRID,
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.
public RID createLinkToExplorerPageRID(RID resourceRID)
throws 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
WcmException - Exception raised in failure situation. Is thrown
when resourceRID is null .
public RID createLinkToExplorerPageRID(RID resourceRID,
RID startRID)
throws 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
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
public RID getUserResourceRID(com.sapportals.portal.security.usermanagement.IUser user)
throws WcmException
IURLGeneratorService.getUserResourceRID(IUser)
user - the user to get the RID for
WcmException - Exception raised in failure situation
public RID getUserResourceRID(com.sapportals.portal.security.usermanagement.IUser user,
String format)
throws WcmException
IURLGeneratorService.getUserResourceRID(IUser, String)
user - the user in questionformat - the wanted format
WcmException - Exception raised in failure situation
public RID getUserResourceRID(String uid)
throws WcmException
IURLGeneratorService.getUserResourceRID(String)
uid - the id of the user
WcmException - Exception raised in failure situation
public RID getUserResourceRID(String uid,
String format)
throws WcmException
IURLGeneratorService.getUserResourceRID(String, String)
uid - the id of the userformat - the format wanted
WcmException - Exception raised in failure situation
public RID getGroupResourceRID(com.sapportals.portal.security.usermanagement.IGroup group)
throws WcmException
IURLGeneratorService.getGroupResourceRID(IGroup)
group - the group in question
WcmException - Exception raised in failure situation
public RID getGroupResourceRID(String gid)
throws WcmException
IURLGeneratorService.getGroupResourceRID(String)
gid - the id of the group
WcmException - Exception raised in failure situation
public RID getRoleResourceRID(com.sapportals.portal.security.usermanagement.IRole role)
throws WcmException
IURLGeneratorService.getRoleResourceRID(IRole)
role - the role in question
WcmException - Exception raised in failure situation
public RID getRoleResourceRID(String rid)
throws WcmException
IURLGeneratorService.getRoleResourceRID(String)
rid - The id of the role
WcmException - Exception raised in failure situation
public RID getBusinessCardAppRID(com.sapportals.portal.security.usermanagement.IUser user)
throws WcmException
IURLGeneratorService.getBusinessCardUri(String)
user -
WcmException - Exception raised in failure situation
public RID getBusinessCardAppRID(String uid)
throws WcmException
IURLGeneratorService.getBusinessCardUri(String)
uid - The id of the user
WcmException - Exception raised in failure situation
public 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
public String replaceURIPlaceholders(String uri,
IResource resource)
throws ResourceException
uri - resource -
ResourceException - Exception raised in failure situation
public URI getUserFolder(com.sapportals.portal.security.usermanagement.IUser user,
String folder)
throws WcmException
getUserFolderRID(IUser,
String)
user - TBD: Description of the incoming method parameterfolder - TBD: Description of the incoming method parameter
WcmException - Exception raised in failure situation
public URI getUserHome(com.sapportals.portal.security.usermanagement.IUser user)
throws WcmException
getUserHomeRID(IUser)
user -
WcmException - Exception raised in failure situation
public URI getCompleteURIToShowFolder(ICollection folder)
throws WcmException
getCompleteRIDToShowFolder(ICollection)
folder -
WcmException - Exception raised in failure situation
public URI createServletCall(Properties properties)
throws 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
WcmException - Exception raised in failure situationpublic URI createLinkToDetailsPage(URI resourceURI)
createLinkToDetailsPageRID(RID)
resourceURI -
public URI createLinkToExplorerPage(URI resourceURI)
throws WcmException
createLinkToExplorerPageRID(RID)
resourceURI -
WcmException - Exception raised in failure situation
public URI getUserResource(com.sapportals.portal.security.usermanagement.IUser user)
throws WcmException
getUserResourceRID(IUser)
user -
WcmException - Exception raised in failure situation
public URI getUserResource(com.sapportals.portal.security.usermanagement.IUser user,
String format)
throws WcmException
getUserResourceRID(IUser,
String)
user - the user in questionformat - the wanted format
WcmException - Exception raised in failure situation
public URI getUserResource(String uid)
throws WcmException
getUserResourceRID(String)
uid -
WcmException - Exception raised in failure situation
public URI getUserResource(String uid,
String format)
throws WcmException
getUserResourceRID(String, String)
uid - the id of the userformat - the format wanted
WcmException - Exception raised in failure situation
public URI getGroupResource(com.sapportals.portal.security.usermanagement.IGroup group)
throws WcmException
getGroupResourceRID(IGroup)
group -
WcmException - Exception raised in failure situation
public URI getGroupResource(String gid)
throws WcmException
getGroupResourceRID(String)
gid -
WcmException - Exception raised in failure situation
public URI getRoleResource(com.sapportals.portal.security.usermanagement.IRole group)
throws WcmException
getRoleResourceRID(IRole)
group -
WcmException - Exception raised in failure situationpublic RID getRIDfromWebURL(URL webAddress)
IURLGeneratorService.mapUri(IUri)
webAddress - a URL object to be converted
RID object with converted web url
public URI getRoleResource(String rid)
throws WcmException
getRoleResourceRID(String)
rid -
WcmException - Exception raised in failure situation
public URI getBusinessCardApp(com.sapportals.portal.security.usermanagement.IUser user)
throws WcmException
getBusinessCardAppRID(IUser)
user -
WcmException - Exception raised in failure situation
public URI getBusinessCardApp(String uid)
throws WcmException
getBusinessCardAppRID(String)
uid -
WcmException - Exception raised in failure situation
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||