public class HeaderResourceLib extends Object
Constructor and Description |
---|
HeaderResourceLib() |
Modifier and Type | Method and Description |
---|---|
static String |
getHeaderType(Integer headerTypeId) |
static int |
getHeaderTypeId(String headerType) |
static String |
getPortalBaseUrl(RequestContext requestContext)
Portal base url ( e.g.
|
static String |
getPortalBaseUrl(RequestContext requestContext,
BasePortalURL baseUrlAccessOverride)
Portal base url ( e.g.
|
static String |
getPortalBaseUrl(RequestContext requestContext,
BasePortalURL baseUrlAccessOverride,
boolean fullUrl)
Portal base url ( e.g.
|
static String |
getPortalResourceUrl(String relativePath,
String portalBaseUrl)
Portal base url with relativePath argument appended ( e.g.
|
static String |
getPortalResourceUrl(String relativePath,
String portalBaseUrl,
boolean encode,
RequestContext requestContext)
Portal base url with relativePath argument appended ( e.g.
|
static String |
getPortalUrl(String portalBaseUrl,
RequestContext requestContext)
Portal base servlet url ( e.g.
|
static String |
getPortalUrl(String portalBaseUrl,
RequestContext requestContext,
String servletPath)
Portal base servlet url ( e.g.
|
static String |
getPortalUrl(String relativePath,
String portalUrl)
Portal base servlet url with relativePath argument appended ( e.g.
|
static String |
getPortalUrl(String relativePath,
String portalUrl,
boolean encode,
RequestContext requestContext)
Portal base servlet url with relativePath argument appended ( e.g.
|
static String |
makeJavascriptStatement(String statement,
String indent,
boolean addEOL) |
static String |
makeJSONBoolean(Object source) |
static String |
makeJSONInteger(Object source,
boolean quote) |
static StringBuffer |
makeJSONObject(Map[] objectMaps,
boolean whenEmptyReturnNewObject) |
static StringBuffer |
makeJSONObject(Map objectMap,
boolean whenEmptyReturnNewObject) |
static StringBuffer |
makeJSONObject(StringBuffer jsonBuffer,
Map[] objectMaps,
boolean whenEmptyReturnNewObject) |
static StringBuffer |
makeJSONObject(StringBuffer jsonBuffer,
Map objectMap,
boolean whenEmptyReturnNewObject) |
static String |
makeJSONStringArray(Collection<String> stringList) |
static String |
makeJSONStringArray(Collection<String> stringList,
List<String> compiledUniqueValues) |
protected static final String EOL
public static int getHeaderTypeId(String headerType)
public static String getPortalBaseUrl(RequestContext requestContext)
public static String getPortalBaseUrl(RequestContext requestContext, BasePortalURL baseUrlAccessOverride)
public static String getPortalBaseUrl(RequestContext requestContext, BasePortalURL baseUrlAccessOverride, boolean fullUrl)
public static String getPortalUrl(String portalBaseUrl, RequestContext requestContext)
public static String getPortalUrl(String portalBaseUrl, RequestContext requestContext, String servletPath)
public static String getPortalUrl(String relativePath, String portalUrl)
public static String getPortalUrl(String relativePath, String portalUrl, boolean encode, RequestContext requestContext)
public static String getPortalResourceUrl(String relativePath, String portalBaseUrl)
public static String getPortalResourceUrl(String relativePath, String portalBaseUrl, boolean encode, RequestContext requestContext)
public static StringBuffer makeJSONObject(Map objectMap, boolean whenEmptyReturnNewObject)
public static StringBuffer makeJSONObject(Map[] objectMaps, boolean whenEmptyReturnNewObject)
public static StringBuffer makeJSONObject(StringBuffer jsonBuffer, Map objectMap, boolean whenEmptyReturnNewObject)
public static StringBuffer makeJSONObject(StringBuffer jsonBuffer, Map[] objectMaps, boolean whenEmptyReturnNewObject)
public static String makeJavascriptStatement(String statement, String indent, boolean addEOL)
public static String makeJSONStringArray(Collection<String> stringList)
public static String makeJSONStringArray(Collection<String> stringList, List<String> compiledUniqueValues)
Copyright © 1999–2016 The Apache Software Foundation. All rights reserved.