|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.stratelia.silverpeas.peasCore.URLManager
public class URLManager
Class declaration
Nested Class Summary | |
---|---|
static class |
URLManager.Permalink
|
Constructor Summary | |
---|---|
URLManager()
|
Method Summary | |
---|---|
static String |
appendVersion(String url)
|
static boolean |
displayUniversalLinks()
|
static String |
encodeURL(String url)
Translates a string into application/x-www-form-urlencoded
format using a specific encoding scheme. |
static String |
getApplicationURL()
Returns The Application web context. |
static String |
getComponentInstanceURL(String sComponentId)
|
static String |
getComponentNameFromComponentId(String sClientComponentId)
Returns kmelia for parameter kmelia23 |
static String |
getCurrentServerURL()
|
static String |
getFullApplicationURL(javax.servlet.http.HttpServletRequest request)
|
static String |
getHttpMode()
|
static String |
getNewComponentURL(String spaceId,
String componentId)
Retourne l'URL pour les nouveaux composants lors de la recherche globale |
static String |
getPermalink(URLManager.Permalink permalink,
String resourceId)
Gets the permalink according to the specified parameters. |
static String |
getSearchResultURL(SilverpeasContent content)
|
static String |
getServerURL(javax.servlet.http.HttpServletRequest request)
|
static String |
getSilverpeasVersion()
|
static String |
getSilverpeasVersionMinify()
|
static String |
getSimpleURL(int type,
String id)
|
static String |
getSimpleURL(int type,
String id,
boolean appendContext)
|
static String |
getSimpleURL(int type,
String id,
String componentId)
|
static String |
getSimpleURL(int type,
String id,
String componentId,
boolean appendContext)
|
static String |
getSimpleURL(int type,
String id,
String componentId,
boolean appendContext,
String forumId)
|
static String |
getURL(String sComponentName)
Deprecated. |
static String |
getURL(String sSpace,
String sComponentId)
|
static String |
getURL(String sComponentName,
String sSpace,
String sComponentId)
|
static boolean |
isPermalink(String url)
|
static void |
setCurrentServerUrl(javax.servlet.http.HttpServletRequest request)
|
static void |
setSilverpeasVersion(String version)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String CMP_ADMIN
public static final String CMP_AGENDA
public static final String CMP_ATTACHMENT
public static final String CMP_FORMDESIGNER
public static final String CMP_SILVERMAIL
public static final String CMP_POPUP
public static final String CMP_PERSONALIZATION
public static final String CMP_FILESERVER
public static final String CMP_PORTLET
public static final String CMP_TODO
public static final String CMP_TREEVIEW
public static final String CMP_WORKFLOW
public static final String CMP_WYSIWYG
public static final String CMP_SCHEDULE_EVENT
public static final String CMP_CLIPBOARD
public static final String CMP_NOTIFICATIONUSER
public static final String CMP_COMMUNICATIONUSER
public static final String CMP_SEARCHENGINE
public static final String CMP_WEBLOADERPEAS
public static final String CMP_JOBMANAGERPEAS
public static final String CMP_JOBDOMAINPEAS
public static final String CMP_JOBSTARTPAGEPEAS
public static final String CMP_JOBORGANIZATIONPEAS
public static final String CMP_JOBSEARCHPEAS
public static final String CMP_JOBREPORTPEAS
public static final String CMP_JOBTOOLSPEAS
public static final String CMP_SELECTIONPEAS
public static final String CMP_ALERTUSERPEAS
public static final String CMP_GENERICPANELPEAS
public static final String CMP_SILVERSTATISTICSPEAS
public static final String CMP_PDC
public static final String CMP_THESAURUS
public static final String CMP_INTERESTCENTERPEAS
public static final String CMP_MYLINKSPEAS
public static final String CMP_PDCSUBSCRIPTION
public static final String CMP_VERSIONINGPEAS
public static final String CMP_FILESHARING
public static final String CMP_WEBCONNECTIONS
public static final String CMP_EXPERTLOCATORPEAS
public static final String CMP_WHITEPAGESPEAS
public static final String CMP_VSICPUZZLE
public static final String CMP_INFOLETTER
public static final String CMP_JOBBACKUP
public static final String CMP_TEMPLATEDESIGNER
public static final String CMP_MYPROFILE
public static final int URL_SPACE
public static final int URL_COMPONENT
public static final int URL_PUBLI
public static final int URL_TOPIC
public static final int URL_FILE
public static final int URL_SURVEY
public static final int URL_QUESTION
public static final int URL_MESSAGE
public static final int URL_DOCUMENT
public static final int URL_VERSION
public static final int URL_MEDIA
Constructor Detail |
---|
public URLManager()
Method Detail |
---|
public static String getURL(String sComponentName, String sSpace, String sComponentId)
sComponentName
- - the componentName (ie kmelia, bookmark...)sSpace
- - the space idsComponentId
- - the componentId (ie kmelia12, bookmark578...)
@Deprecated public static String getURL(String sComponentName)
public static String getComponentInstanceURL(String sComponentId)
public static String getURL(String sSpace, String sComponentId)
public static String getNewComponentURL(String spaceId, String componentId)
spaceId
- - l'id de l'espace (WA151)componentId
- - l'id de l'instance de composant (trucsAstuces1042)
public static String getComponentNameFromComponentId(String sClientComponentId)
sClientComponentId
-
public static String getApplicationURL()
public static String getFullApplicationURL(javax.servlet.http.HttpServletRequest request)
public static void setCurrentServerUrl(javax.servlet.http.HttpServletRequest request)
public static String getCurrentServerURL()
public static String getServerURL(javax.servlet.http.HttpServletRequest request)
public static String getHttpMode()
public static boolean displayUniversalLinks()
public static String getSimpleURL(int type, String id, String componentId)
public static String getSimpleURL(int type, String id, String componentId, boolean appendContext, String forumId)
public static String getSimpleURL(int type, String id, String componentId, boolean appendContext)
public static String getSimpleURL(int type, String id)
public static String getSimpleURL(int type, String id, boolean appendContext)
public static String getSearchResultURL(SilverpeasContent content)
public static String encodeURL(String url)
application/x-www-form-urlencoded
format using a specific encoding scheme. The specified string is expected to be in the UTF-8
charset, otherwise it is returned as such.
url
- an UTF-8 string representing an URL of a resource in Silverpeas.
public static String getPermalink(URLManager.Permalink permalink, String resourceId)
permalink
- the permalink type.resourceId
- the identifier of the resource.
public static boolean isPermalink(String url)
public static void setSilverpeasVersion(String version)
public static String getSilverpeasVersion()
public static String getSilverpeasVersionMinify()
public static String appendVersion(String url)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |