|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.util.PortalImpl
public class PortalImpl
| Field Summary |
|---|
| Fields inherited from interface com.liferay.portal.util.Portal |
|---|
FRIENDLY_URL_SEPARATOR, PATH_IMAGE, PATH_MAIN, PATH_PORTAL_LAYOUT, PORTLET_XML_FILE_NAME_CUSTOM, PORTLET_XML_FILE_NAME_STANDARD, TEMP_OBFUSCATION_VALUE |
| Constructor Summary | |
|---|---|
PortalImpl()
|
|
| Method Summary | |
|---|---|
protected void |
addDefaultResource(ThemeDisplay themeDisplay,
Layout layout,
Portlet portlet,
boolean portletActions)
|
void |
addPageDescription(String description,
javax.servlet.http.HttpServletRequest request)
Adds the description for a page. |
void |
addPageKeywords(String keywords,
javax.servlet.http.HttpServletRequest request)
Adds the keywords for a page. |
void |
addPageSubtitle(String subtitle,
javax.servlet.http.HttpServletRequest request)
Adds the subtitle for a page. |
void |
addPageTitle(String title,
javax.servlet.http.HttpServletRequest request)
Adds the whole title for a page. |
void |
addPortalPortEventListener(PortalPortEventListener portalPortEventListener)
|
void |
addPortletBreadcrumbEntry(javax.servlet.http.HttpServletRequest request,
String title,
String url)
|
void |
addPortletDefaultResource(javax.servlet.http.HttpServletRequest request,
Portlet portlet)
|
String |
addPreservedParameters(ThemeDisplay themeDisplay,
Layout layout,
String url,
boolean doAsUser)
Adds preserved parameters such as doAsGroupId, doAsUserId, doAsUserLanguageId, and referrerPlid that should always be preserved as the user navigates through the portal. |
String |
addPreservedParameters(ThemeDisplay themeDisplay,
String url)
Adds preserved parameters such as doAsGroupId, doAsUserId, doAsUserLanguageId, and referrerPlid that should always be preserved as the user navigates through the portal. |
void |
clearRequestParameters(RenderRequest renderRequest)
|
void |
copyRequestParameters(ActionRequest actionRequest,
ActionResponse actionResponse)
|
String |
escapeRedirect(String url)
|
protected List<Portlet> |
filterControlPanelPortlets(Set<Portlet> portlets,
String category,
ThemeDisplay themeDisplay)
|
String |
generateRandomKey(javax.servlet.http.HttpServletRequest request,
String input)
|
BaseModel<?> |
getBaseModel(Resource resource)
|
BaseModel<?> |
getBaseModel(ResourcePermission resourcePermission)
|
BaseModel<?> |
getBaseModel(String modelName,
String primKey)
|
long |
getBasicAuthUserId(javax.servlet.http.HttpServletRequest request)
|
long |
getBasicAuthUserId(javax.servlet.http.HttpServletRequest request,
long companyId)
|
String |
getCDNHost()
Deprecated. getCDNHost(boolean) |
String |
getCDNHost(boolean secure)
|
String |
getCDNHostHttp()
|
String |
getCDNHostHttps()
|
String |
getClassName(long classNameId)
|
long |
getClassNameId(Class<?> classObj)
|
long |
getClassNameId(String value)
|
String |
getClassNamePortletId(String className)
|
String |
getCommunityLoginURL(ThemeDisplay themeDisplay)
|
String[] |
getCommunityPermissions(javax.servlet.http.HttpServletRequest request)
|
String[] |
getCommunityPermissions(PortletRequest portletRequest)
|
Company |
getCompany(javax.servlet.http.HttpServletRequest request)
|
Company |
getCompany(PortletRequest portletRequest)
|
long |
getCompanyId(javax.servlet.http.HttpServletRequest request)
|
long |
getCompanyId(PortletRequest portletRequest)
|
long[] |
getCompanyIds()
|
String |
getComputerAddress()
|
String |
getComputerName()
|
String |
getControlPanelCategory(String portletId,
ThemeDisplay themeDisplay)
|
String |
getControlPanelFullURL(long scopeGroupId,
String ppid,
Map<String,String[]> params)
|
List<Portlet> |
getControlPanelPortlets(String category,
ThemeDisplay themeDisplay)
|
String |
getCurrentCompleteURL(javax.servlet.http.HttpServletRequest request)
|
String |
getCurrentURL(javax.servlet.http.HttpServletRequest request)
|
String |
getCurrentURL(PortletRequest portletRequest)
|
String |
getCustomSQLFunctionIsNotNull()
|
String |
getCustomSQLFunctionIsNull()
|
Date |
getDate(int month,
int day,
int year)
|
Date |
getDate(int month,
int day,
int year,
int hour,
int min,
PortalException pe)
|
Date |
getDate(int month,
int day,
int year,
int hour,
int min,
TimeZone timeZone,
PortalException pe)
|
Date |
getDate(int month,
int day,
int year,
PortalException pe)
|
Date |
getDate(int month,
int day,
int year,
TimeZone timeZone,
PortalException pe)
|
long |
getDefaultCompanyId()
|
protected long |
getDoAsUserId(javax.servlet.http.HttpServletRequest request,
String doAsUserIdString,
boolean alwaysAllowDoAsUser)
|
Map<String,Serializable> |
getExpandoBridgeAttributes(ExpandoBridge expandoBridge,
PortletRequest portletRequest)
|
String |
getFirstPageLayoutTypes(javax.servlet.jsp.PageContext pageContext)
|
String |
getGlobalLibDir()
|
String |
getGoogleGadgetURL(Portlet portlet,
ThemeDisplay themeDisplay)
|
String[] |
getGuestPermissions(javax.servlet.http.HttpServletRequest request)
|
String[] |
getGuestPermissions(PortletRequest portletRequest)
|
String |
getHomeURL(javax.servlet.http.HttpServletRequest request)
|
String |
getHost(javax.servlet.http.HttpServletRequest request)
|
String |
getHost(PortletRequest portletRequest)
|
javax.servlet.http.HttpServletRequest |
getHttpServletRequest(PortletRequest portletRequest)
|
javax.servlet.http.HttpServletResponse |
getHttpServletResponse(PortletResponse portletResponse)
|
String |
getJsSafePortletId(String portletId)
|
String |
getLayoutActualURL(Layout layout)
|
String |
getLayoutActualURL(Layout layout,
String mainPath)
|
String |
getLayoutActualURL(long groupId,
boolean privateLayout,
String mainPath,
String friendlyURL)
|
String |
getLayoutActualURL(long groupId,
boolean privateLayout,
String mainPath,
String friendlyURL,
Map<String,String[]> params,
Map<String,Object> requestContext)
|
String |
getLayoutEditPage(Layout layout)
|
String |
getLayoutEditPage(String type)
|
String |
getLayoutFriendlyURL(Layout layout,
ThemeDisplay themeDisplay)
|
String |
getLayoutFriendlyURL(Layout layout,
ThemeDisplay themeDisplay,
Locale locale)
|
String |
getLayoutFullURL(Layout layout,
ThemeDisplay themeDisplay)
|
String |
getLayoutFullURL(Layout layout,
ThemeDisplay themeDisplay,
boolean doAsUser)
|
String |
getLayoutFullURL(long groupId,
String portletId)
|
String |
getLayoutFullURL(ThemeDisplay themeDisplay)
|
String |
getLayoutSetFriendlyURL(LayoutSet layoutSet,
ThemeDisplay themeDisplay)
|
String |
getLayoutTarget(Layout layout)
|
String |
getLayoutURL(Layout layout,
ThemeDisplay themeDisplay)
|
String |
getLayoutURL(Layout layout,
ThemeDisplay themeDisplay,
boolean doAsUser)
|
String |
getLayoutURL(ThemeDisplay themeDisplay)
|
String |
getLayoutViewPage(Layout layout)
|
String |
getLayoutViewPage(String type)
|
LiferayPortletResponse |
getLiferayPortletResponse(PortletResponse portletResponse)
|
Locale |
getLocale(javax.servlet.http.HttpServletRequest request)
|
Locale |
getLocale(RenderRequest renderRequest)
|
String |
getNetvibesURL(Portlet portlet,
ThemeDisplay themeDisplay)
|
javax.servlet.http.HttpServletRequest |
getOriginalServletRequest(javax.servlet.http.HttpServletRequest request)
|
long |
getParentGroupId(long groupId)
|
String |
getPathContext()
|
String |
getPathFriendlyURLPrivateGroup()
|
String |
getPathFriendlyURLPrivateUser()
|
String |
getPathFriendlyURLPublic()
|
String |
getPathImage()
|
String |
getPathMain()
|
long |
getPlidFromFriendlyURL(long companyId,
String friendlyURL)
|
long |
getPlidFromPortletId(long groupId,
boolean privateLayout,
String portletId)
|
long |
getPlidFromPortletId(long groupId,
String portletId)
|
String |
getPortalLibDir()
|
int |
getPortalPort()
|
Properties |
getPortalProperties()
|
String |
getPortalURL(javax.servlet.http.HttpServletRequest request)
|
String |
getPortalURL(javax.servlet.http.HttpServletRequest request,
boolean secure)
|
String |
getPortalURL(PortletRequest portletRequest)
|
String |
getPortalURL(PortletRequest portletRequest,
boolean secure)
|
String |
getPortalURL(String serverName,
int serverPort,
boolean secure)
|
String |
getPortalURL(ThemeDisplay themeDisplay)
|
String |
getPortalWebDir()
|
List<KeyValuePair> |
getPortletBreadcrumbList(javax.servlet.http.HttpServletRequest request)
|
String |
getPortletDescription(Portlet portlet,
javax.servlet.ServletContext servletContext,
Locale locale)
|
String |
getPortletDescription(Portlet portlet,
User user)
|
String |
getPortletDescription(String portletId,
Locale locale)
|
String |
getPortletDescription(String portletId,
String languageId)
|
String |
getPortletDescription(String portletId,
User user)
|
Object[] |
getPortletFriendlyURLMapper(long groupId,
boolean privateLayout,
String url,
Map<String,String[]> params,
Map<String,Object> requestContext)
|
String |
getPortletId(javax.servlet.http.HttpServletRequest request)
|
String |
getPortletId(PortletRequest portletRequest)
|
String |
getPortletNamespace(String portletId)
|
String |
getPortletTitle(Portlet portlet,
Locale locale)
|
String |
getPortletTitle(Portlet portlet,
javax.servlet.ServletContext servletContext,
Locale locale)
|
String |
getPortletTitle(Portlet portlet,
String languageId)
|
String |
getPortletTitle(Portlet portlet,
User user)
|
String |
getPortletTitle(RenderResponse renderResponse)
|
String |
getPortletTitle(String portletId,
Locale locale)
|
String |
getPortletTitle(String portletId,
String languageId)
|
String |
getPortletTitle(String portletId,
User user)
|
String |
getPortletXmlFileName()
|
PortletPreferences |
getPreferences(javax.servlet.http.HttpServletRequest request)
|
PreferencesValidator |
getPreferencesValidator(Portlet portlet)
|
long |
getScopeGroupId(javax.servlet.http.HttpServletRequest request)
|
long |
getScopeGroupId(javax.servlet.http.HttpServletRequest request,
String portletId)
|
long |
getScopeGroupId(Layout layout)
|
long |
getScopeGroupId(Layout layout,
String portletId)
|
long |
getScopeGroupId(long plid)
|
long |
getScopeGroupId(PortletRequest portletRequest)
|
User |
getSelectedUser(javax.servlet.http.HttpServletRequest request)
|
User |
getSelectedUser(javax.servlet.http.HttpServletRequest request,
boolean checkPermission)
|
User |
getSelectedUser(PortletRequest portletRequest)
|
User |
getSelectedUser(PortletRequest portletRequest,
boolean checkPermission)
|
javax.servlet.ServletContext |
getServletContext(Portlet portlet,
javax.servlet.ServletContext servletContext)
|
SocialEquityActionMapping |
getSocialEquityActionMapping(String name,
String actionId)
|
List<SocialEquityActionMapping> |
getSocialEquityActionMappings(String name)
|
String[] |
getSocialEquityClassNames()
|
String |
getStaticResourceURL(javax.servlet.http.HttpServletRequest request,
String uri)
|
String |
getStaticResourceURL(javax.servlet.http.HttpServletRequest request,
String uri,
long timestamp)
|
String |
getStaticResourceURL(javax.servlet.http.HttpServletRequest request,
String uri,
String queryString)
|
String |
getStaticResourceURL(javax.servlet.http.HttpServletRequest request,
String uri,
String queryString,
long timestamp)
|
String |
getStrutsAction(javax.servlet.http.HttpServletRequest request)
|
String[] |
getSystemCommunityRoles()
|
String[] |
getSystemGroups()
|
String[] |
getSystemOrganizationRoles()
|
String[] |
getSystemRoles()
|
UploadPortletRequest |
getUploadPortletRequest(PortletRequest portletRequest)
|
UploadServletRequest |
getUploadServletRequest(javax.servlet.http.HttpServletRequest request)
|
Date |
getUptime()
|
String |
getURLWithSessionId(String url,
String sessionId)
|
User |
getUser(javax.servlet.http.HttpServletRequest request)
|
User |
getUser(PortletRequest portletRequest)
|
long |
getUserId(javax.servlet.http.HttpServletRequest request)
|
long |
getUserId(PortletRequest portletRequest)
|
String |
getUserName(long userId,
String defaultUserName)
|
String |
getUserName(long userId,
String defaultUserName,
javax.servlet.http.HttpServletRequest request)
|
String |
getUserName(long userId,
String defaultUserName,
String userAttribute)
|
String |
getUserName(long userId,
String defaultUserName,
String userAttribute,
javax.servlet.http.HttpServletRequest request)
|
String |
getUserPassword(javax.servlet.http.HttpServletRequest request)
|
String |
getUserPassword(javax.servlet.http.HttpSession session)
|
String |
getUserPassword(PortletRequest portletRequest)
|
String |
getUserValue(long userId,
String param,
String defaultValue)
|
long |
getValidUserId(long companyId,
long userId)
|
String |
getWidgetURL(Portlet portlet,
ThemeDisplay themeDisplay)
|
boolean |
isAllowAddPortletDefaultResource(javax.servlet.http.HttpServletRequest request,
Portlet portlet)
|
boolean |
isCommunityAdmin(User user,
long groupId)
|
boolean |
isCommunityOwner(User user,
long groupId)
|
boolean |
isCompanyAdmin(User user)
|
boolean |
isControlPanelPortlet(String portletId,
String category,
ThemeDisplay themeDisplay)
|
boolean |
isControlPanelPortlet(String portletId,
ThemeDisplay themeDisplay)
|
boolean |
isLayoutFirstPageable(Layout layout)
|
boolean |
isLayoutFirstPageable(String type)
|
boolean |
isLayoutFriendliable(Layout layout)
|
boolean |
isLayoutFriendliable(String type)
|
boolean |
isLayoutParentable(Layout layout)
|
boolean |
isLayoutParentable(String type)
|
boolean |
isLayoutSitemapable(Layout layout)
|
boolean |
isMethodGet(PortletRequest portletRequest)
|
boolean |
isMethodPost(PortletRequest portletRequest)
|
boolean |
isOmniadmin(long userId)
|
boolean |
isReservedParameter(String name)
|
boolean |
isSystemGroup(String groupName)
|
boolean |
isSystemRole(String roleName)
|
boolean |
isUpdateAvailable()
|
boolean |
isValidResourceId(String resourceId)
|
protected void |
notifyPortalPortEventListeners(int portalPort)
|
void |
removePortalPortEventListener(PortalPortEventListener portalPortEventListener)
|
String |
renderPage(javax.servlet.ServletContext servletContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String path)
|
String |
renderPortlet(javax.servlet.ServletContext servletContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Portlet portlet,
String queryString,
boolean writeOutput)
|
String |
renderPortlet(javax.servlet.ServletContext servletContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Portlet portlet,
String queryString,
String columnId,
Integer columnPos,
Integer columnCount,
boolean writeOutput)
|
String |
renderPortlet(javax.servlet.ServletContext servletContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Portlet portlet,
String queryString,
String columnId,
Integer columnPos,
Integer columnCount,
String path,
boolean writeOutput)
|
void |
sendError(Exception e,
ActionRequest actionRequest,
ActionResponse actionResponse)
|
void |
sendError(Exception e,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
void |
sendError(int status,
Exception e,
ActionRequest actionRequest,
ActionResponse actionResponse)
|
void |
sendError(int status,
Exception e,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
void |
setPageDescription(String description,
javax.servlet.http.HttpServletRequest request)
Sets the description for a page. |
void |
setPageKeywords(String keywords,
javax.servlet.http.HttpServletRequest request)
Sets the keywords for a page. |
void |
setPageSubtitle(String subtitle,
javax.servlet.http.HttpServletRequest request)
Sets the subtitle for a page. |
void |
setPageTitle(String title,
javax.servlet.http.HttpServletRequest request)
Sets the whole title for a page. |
void |
setPortalPort(javax.servlet.http.HttpServletRequest request)
Sets the port obtained on the first request to the portal. |
void |
storePreferences(PortletPreferences preferences)
|
String |
transformCustomSQL(String sql)
|
PortletMode |
updatePortletMode(String portletId,
User user,
Layout layout,
PortletMode portletMode,
javax.servlet.http.HttpServletRequest request)
|
WindowState |
updateWindowState(String portletId,
User user,
Layout layout,
WindowState windowState,
javax.servlet.http.HttpServletRequest request)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PortalImpl()
| Method Detail |
|---|
public void addPageDescription(String description,
javax.servlet.http.HttpServletRequest request)
addPageDescription in interface Portal
public void addPageKeywords(String keywords,
javax.servlet.http.HttpServletRequest request)
addPageKeywords in interface Portal
public void addPageSubtitle(String subtitle,
javax.servlet.http.HttpServletRequest request)
addPageSubtitle in interface Portal
public void addPageTitle(String title,
javax.servlet.http.HttpServletRequest request)
addPageTitle in interface Portalpublic void addPortalPortEventListener(PortalPortEventListener portalPortEventListener)
addPortalPortEventListener in interface Portal
public void addPortletBreadcrumbEntry(javax.servlet.http.HttpServletRequest request,
String title,
String url)
addPortletBreadcrumbEntry in interface Portal
public void addPortletDefaultResource(javax.servlet.http.HttpServletRequest request,
Portlet portlet)
throws PortalException,
SystemException
addPortletDefaultResource in interface PortalPortalException
SystemException
public String addPreservedParameters(ThemeDisplay themeDisplay,
Layout layout,
String url,
boolean doAsUser)
Portal
addPreservedParameters in interface Portal
public String addPreservedParameters(ThemeDisplay themeDisplay,
String url)
Portal
addPreservedParameters in interface Portalpublic void clearRequestParameters(RenderRequest renderRequest)
clearRequestParameters in interface Portal
public void copyRequestParameters(ActionRequest actionRequest,
ActionResponse actionResponse)
copyRequestParameters in interface Portalpublic String escapeRedirect(String url)
escapeRedirect in interface Portal
public String generateRandomKey(javax.servlet.http.HttpServletRequest request,
String input)
generateRandomKey in interface Portal
public BaseModel<?> getBaseModel(Resource resource)
throws PortalException,
SystemException
getBaseModel in interface PortalPortalException
SystemException
public BaseModel<?> getBaseModel(ResourcePermission resourcePermission)
throws PortalException,
SystemException
getBaseModel in interface PortalPortalException
SystemException
public BaseModel<?> getBaseModel(String modelName,
String primKey)
throws PortalException,
SystemException
getBaseModel in interface PortalPortalException
SystemException
public long getBasicAuthUserId(javax.servlet.http.HttpServletRequest request)
throws PortalException,
SystemException
getBasicAuthUserId in interface PortalPortalException
SystemException
public long getBasicAuthUserId(javax.servlet.http.HttpServletRequest request,
long companyId)
throws PortalException,
SystemException
getBasicAuthUserId in interface PortalPortalException
SystemExceptionpublic String getCDNHost()
getCDNHost(boolean)
getCDNHost in interface Portalpublic String getCDNHost(boolean secure)
getCDNHost in interface Portalpublic String getCDNHostHttp()
getCDNHostHttp in interface Portalpublic String getCDNHostHttps()
getCDNHostHttps in interface Portalpublic String getClassName(long classNameId)
getClassName in interface Portalpublic long getClassNameId(Class<?> classObj)
getClassNameId in interface Portalpublic long getClassNameId(String value)
getClassNameId in interface Portalpublic String getClassNamePortletId(String className)
getClassNamePortletId in interface Portal
public String getCommunityLoginURL(ThemeDisplay themeDisplay)
throws PortalException,
SystemException
getCommunityLoginURL in interface PortalPortalException
SystemExceptionpublic String[] getCommunityPermissions(javax.servlet.http.HttpServletRequest request)
getCommunityPermissions in interface Portalpublic String[] getCommunityPermissions(PortletRequest portletRequest)
getCommunityPermissions in interface Portal
public Company getCompany(javax.servlet.http.HttpServletRequest request)
throws PortalException,
SystemException
getCompany in interface PortalPortalException
SystemException
public Company getCompany(PortletRequest portletRequest)
throws PortalException,
SystemException
getCompany in interface PortalPortalException
SystemExceptionpublic long getCompanyId(javax.servlet.http.HttpServletRequest request)
getCompanyId in interface Portalpublic long getCompanyId(PortletRequest portletRequest)
getCompanyId in interface Portalpublic long[] getCompanyIds()
getCompanyIds in interface Portalpublic String getComputerAddress()
getComputerAddress in interface Portalpublic String getComputerName()
getComputerName in interface Portal
public String getControlPanelCategory(String portletId,
ThemeDisplay themeDisplay)
throws SystemException
getControlPanelCategory in interface PortalSystemException
public String getControlPanelFullURL(long scopeGroupId,
String ppid,
Map<String,String[]> params)
throws PortalException,
SystemException
getControlPanelFullURL in interface PortalPortalException
SystemException
public List<Portlet> getControlPanelPortlets(String category,
ThemeDisplay themeDisplay)
throws SystemException
getControlPanelPortlets in interface PortalSystemExceptionpublic String getCurrentCompleteURL(javax.servlet.http.HttpServletRequest request)
getCurrentCompleteURL in interface Portalpublic String getCurrentURL(javax.servlet.http.HttpServletRequest request)
getCurrentURL in interface Portalpublic String getCurrentURL(PortletRequest portletRequest)
getCurrentURL in interface Portalpublic String getCustomSQLFunctionIsNotNull()
getCustomSQLFunctionIsNotNull in interface Portalpublic String getCustomSQLFunctionIsNull()
getCustomSQLFunctionIsNull in interface Portal
public Date getDate(int month,
int day,
int year)
getDate in interface Portal
public Date getDate(int month,
int day,
int year,
int hour,
int min,
PortalException pe)
throws PortalException
getDate in interface PortalPortalException
public Date getDate(int month,
int day,
int year,
int hour,
int min,
TimeZone timeZone,
PortalException pe)
throws PortalException
getDate in interface PortalPortalException
public Date getDate(int month,
int day,
int year,
PortalException pe)
throws PortalException
getDate in interface PortalPortalException
public Date getDate(int month,
int day,
int year,
TimeZone timeZone,
PortalException pe)
throws PortalException
getDate in interface PortalPortalExceptionpublic long getDefaultCompanyId()
getDefaultCompanyId in interface Portal
public Map<String,Serializable> getExpandoBridgeAttributes(ExpandoBridge expandoBridge,
PortletRequest portletRequest)
throws PortalException,
SystemException
getExpandoBridgeAttributes in interface PortalPortalException
SystemExceptionpublic String getFirstPageLayoutTypes(javax.servlet.jsp.PageContext pageContext)
getFirstPageLayoutTypes in interface Portalpublic String getGlobalLibDir()
getGlobalLibDir in interface Portal
public String getGoogleGadgetURL(Portlet portlet,
ThemeDisplay themeDisplay)
throws PortalException,
SystemException
getGoogleGadgetURL in interface PortalPortalException
SystemExceptionpublic String[] getGuestPermissions(javax.servlet.http.HttpServletRequest request)
getGuestPermissions in interface Portalpublic String[] getGuestPermissions(PortletRequest portletRequest)
getGuestPermissions in interface Portal
public String getHomeURL(javax.servlet.http.HttpServletRequest request)
throws PortalException,
SystemException
getHomeURL in interface PortalPortalException
SystemExceptionpublic String getHost(javax.servlet.http.HttpServletRequest request)
getHost in interface Portalpublic String getHost(PortletRequest portletRequest)
getHost in interface Portalpublic javax.servlet.http.HttpServletRequest getHttpServletRequest(PortletRequest portletRequest)
getHttpServletRequest in interface Portalpublic javax.servlet.http.HttpServletResponse getHttpServletResponse(PortletResponse portletResponse)
getHttpServletResponse in interface Portalpublic String getJsSafePortletId(String portletId)
getJsSafePortletId in interface Portalpublic String getLayoutActualURL(Layout layout)
getLayoutActualURL in interface Portal
public String getLayoutActualURL(Layout layout,
String mainPath)
getLayoutActualURL in interface Portal
public String getLayoutActualURL(long groupId,
boolean privateLayout,
String mainPath,
String friendlyURL)
throws PortalException,
SystemException
getLayoutActualURL in interface PortalPortalException
SystemException
public String getLayoutActualURL(long groupId,
boolean privateLayout,
String mainPath,
String friendlyURL,
Map<String,String[]> params,
Map<String,Object> requestContext)
throws PortalException,
SystemException
getLayoutActualURL in interface PortalPortalException
SystemExceptionpublic String getLayoutEditPage(Layout layout)
getLayoutEditPage in interface Portalpublic String getLayoutEditPage(String type)
getLayoutEditPage in interface Portal
public String getLayoutFriendlyURL(Layout layout,
ThemeDisplay themeDisplay)
throws PortalException,
SystemException
getLayoutFriendlyURL in interface PortalPortalException
SystemException
public String getLayoutFriendlyURL(Layout layout,
ThemeDisplay themeDisplay,
Locale locale)
throws PortalException,
SystemException
getLayoutFriendlyURL in interface PortalPortalException
SystemException
public String getLayoutFullURL(Layout layout,
ThemeDisplay themeDisplay)
throws PortalException,
SystemException
getLayoutFullURL in interface PortalPortalException
SystemException
public String getLayoutFullURL(Layout layout,
ThemeDisplay themeDisplay,
boolean doAsUser)
throws PortalException,
SystemException
getLayoutFullURL in interface PortalPortalException
SystemException
public String getLayoutFullURL(long groupId,
String portletId)
throws PortalException,
SystemException
getLayoutFullURL in interface PortalPortalException
SystemException
public String getLayoutFullURL(ThemeDisplay themeDisplay)
throws PortalException,
SystemException
getLayoutFullURL in interface PortalPortalException
SystemException
public String getLayoutSetFriendlyURL(LayoutSet layoutSet,
ThemeDisplay themeDisplay)
throws PortalException,
SystemException
getLayoutSetFriendlyURL in interface PortalPortalException
SystemExceptionpublic String getLayoutTarget(Layout layout)
getLayoutTarget in interface Portal
public String getLayoutURL(Layout layout,
ThemeDisplay themeDisplay)
throws PortalException,
SystemException
getLayoutURL in interface PortalPortalException
SystemException
public String getLayoutURL(Layout layout,
ThemeDisplay themeDisplay,
boolean doAsUser)
throws PortalException,
SystemException
getLayoutURL in interface PortalPortalException
SystemException
public String getLayoutURL(ThemeDisplay themeDisplay)
throws PortalException,
SystemException
getLayoutURL in interface PortalPortalException
SystemExceptionpublic String getLayoutViewPage(Layout layout)
getLayoutViewPage in interface Portalpublic String getLayoutViewPage(String type)
getLayoutViewPage in interface Portalpublic LiferayPortletResponse getLiferayPortletResponse(PortletResponse portletResponse)
getLiferayPortletResponse in interface Portalpublic Locale getLocale(javax.servlet.http.HttpServletRequest request)
getLocale in interface Portalpublic Locale getLocale(RenderRequest renderRequest)
getLocale in interface Portal
public String getNetvibesURL(Portlet portlet,
ThemeDisplay themeDisplay)
throws PortalException,
SystemException
getNetvibesURL in interface PortalPortalException
SystemExceptionpublic javax.servlet.http.HttpServletRequest getOriginalServletRequest(javax.servlet.http.HttpServletRequest request)
getOriginalServletRequest in interface Portal
public long getParentGroupId(long groupId)
throws PortalException,
SystemException
getParentGroupId in interface PortalPortalException
SystemExceptionpublic String getPathContext()
getPathContext in interface Portalpublic String getPathFriendlyURLPrivateGroup()
getPathFriendlyURLPrivateGroup in interface Portalpublic String getPathFriendlyURLPrivateUser()
getPathFriendlyURLPrivateUser in interface Portalpublic String getPathFriendlyURLPublic()
getPathFriendlyURLPublic in interface Portalpublic String getPathImage()
getPathImage in interface Portalpublic String getPathMain()
getPathMain in interface Portal
public long getPlidFromFriendlyURL(long companyId,
String friendlyURL)
getPlidFromFriendlyURL in interface Portal
public long getPlidFromPortletId(long groupId,
boolean privateLayout,
String portletId)
throws PortalException,
SystemException
getPlidFromPortletId in interface PortalPortalException
SystemException
public long getPlidFromPortletId(long groupId,
String portletId)
throws PortalException,
SystemException
getPlidFromPortletId in interface PortalPortalException
SystemExceptionpublic String getPortalLibDir()
getPortalLibDir in interface Portalpublic int getPortalPort()
getPortalPort in interface Portalpublic Properties getPortalProperties()
getPortalProperties in interface Portalpublic String getPortalURL(javax.servlet.http.HttpServletRequest request)
getPortalURL in interface Portal
public String getPortalURL(javax.servlet.http.HttpServletRequest request,
boolean secure)
getPortalURL in interface Portalpublic String getPortalURL(PortletRequest portletRequest)
getPortalURL in interface Portal
public String getPortalURL(PortletRequest portletRequest,
boolean secure)
getPortalURL in interface Portal
public String getPortalURL(String serverName,
int serverPort,
boolean secure)
getPortalURL in interface Portal
public String getPortalURL(ThemeDisplay themeDisplay)
throws PortalException,
SystemException
getPortalURL in interface PortalPortalException
SystemExceptionpublic String getPortalWebDir()
getPortalWebDir in interface Portalpublic List<KeyValuePair> getPortletBreadcrumbList(javax.servlet.http.HttpServletRequest request)
getPortletBreadcrumbList in interface Portal
public String getPortletDescription(Portlet portlet,
javax.servlet.ServletContext servletContext,
Locale locale)
getPortletDescription in interface Portal
public String getPortletDescription(Portlet portlet,
User user)
getPortletDescription in interface Portal
public String getPortletDescription(String portletId,
Locale locale)
getPortletDescription in interface Portal
public String getPortletDescription(String portletId,
String languageId)
getPortletDescription in interface Portal
public String getPortletDescription(String portletId,
User user)
getPortletDescription in interface Portal
public Object[] getPortletFriendlyURLMapper(long groupId,
boolean privateLayout,
String url,
Map<String,String[]> params,
Map<String,Object> requestContext)
throws PortalException,
SystemException
PortalException
SystemExceptionpublic String getPortletId(javax.servlet.http.HttpServletRequest request)
getPortletId in interface Portalpublic String getPortletId(PortletRequest portletRequest)
getPortletId in interface Portalpublic String getPortletNamespace(String portletId)
getPortletNamespace in interface Portal
public String getPortletTitle(Portlet portlet,
Locale locale)
getPortletTitle in interface Portal
public String getPortletTitle(Portlet portlet,
String languageId)
getPortletTitle in interface Portal
public String getPortletTitle(Portlet portlet,
javax.servlet.ServletContext servletContext,
Locale locale)
getPortletTitle in interface Portal
public String getPortletTitle(Portlet portlet,
User user)
getPortletTitle in interface Portalpublic String getPortletTitle(RenderResponse renderResponse)
getPortletTitle in interface Portal
public String getPortletTitle(String portletId,
Locale locale)
getPortletTitle in interface Portal
public String getPortletTitle(String portletId,
String languageId)
getPortletTitle in interface Portal
public String getPortletTitle(String portletId,
User user)
getPortletTitle in interface Portal
public String getPortletXmlFileName()
throws SystemException
getPortletXmlFileName in interface PortalSystemExceptionpublic PortletPreferences getPreferences(javax.servlet.http.HttpServletRequest request)
getPreferences in interface Portalpublic PreferencesValidator getPreferencesValidator(Portlet portlet)
getPreferencesValidator in interface Portal
public long getScopeGroupId(javax.servlet.http.HttpServletRequest request)
throws PortalException,
SystemException
getScopeGroupId in interface PortalPortalException
SystemException
public long getScopeGroupId(javax.servlet.http.HttpServletRequest request,
String portletId)
throws PortalException,
SystemException
getScopeGroupId in interface PortalPortalException
SystemExceptionpublic long getScopeGroupId(Layout layout)
getScopeGroupId in interface Portal
public long getScopeGroupId(Layout layout,
String portletId)
getScopeGroupId in interface Portalpublic long getScopeGroupId(long plid)
getScopeGroupId in interface Portal
public long getScopeGroupId(PortletRequest portletRequest)
throws PortalException,
SystemException
getScopeGroupId in interface PortalPortalException
SystemException
public User getSelectedUser(javax.servlet.http.HttpServletRequest request)
throws PortalException,
SystemException
getSelectedUser in interface PortalPortalException
SystemException
public User getSelectedUser(javax.servlet.http.HttpServletRequest request,
boolean checkPermission)
throws PortalException,
SystemException
getSelectedUser in interface PortalPortalException
SystemException
public User getSelectedUser(PortletRequest portletRequest)
throws PortalException,
SystemException
getSelectedUser in interface PortalPortalException
SystemException
public User getSelectedUser(PortletRequest portletRequest,
boolean checkPermission)
throws PortalException,
SystemException
getSelectedUser in interface PortalPortalException
SystemException
public javax.servlet.ServletContext getServletContext(Portlet portlet,
javax.servlet.ServletContext servletContext)
getServletContext in interface Portal
public SocialEquityActionMapping getSocialEquityActionMapping(String name,
String actionId)
getSocialEquityActionMapping in interface Portalpublic List<SocialEquityActionMapping> getSocialEquityActionMappings(String name)
getSocialEquityActionMappings in interface Portalpublic String[] getSocialEquityClassNames()
getSocialEquityClassNames in interface Portal
public String getStaticResourceURL(javax.servlet.http.HttpServletRequest request,
String uri)
getStaticResourceURL in interface Portal
public String getStaticResourceURL(javax.servlet.http.HttpServletRequest request,
String uri,
long timestamp)
getStaticResourceURL in interface Portal
public String getStaticResourceURL(javax.servlet.http.HttpServletRequest request,
String uri,
String queryString)
getStaticResourceURL in interface Portal
public String getStaticResourceURL(javax.servlet.http.HttpServletRequest request,
String uri,
String queryString,
long timestamp)
getStaticResourceURL in interface Portalpublic String getStrutsAction(javax.servlet.http.HttpServletRequest request)
getStrutsAction in interface Portalpublic String[] getSystemCommunityRoles()
getSystemCommunityRoles in interface Portalpublic String[] getSystemGroups()
getSystemGroups in interface Portalpublic String[] getSystemOrganizationRoles()
getSystemOrganizationRoles in interface Portalpublic String[] getSystemRoles()
getSystemRoles in interface Portalpublic UploadServletRequest getUploadServletRequest(javax.servlet.http.HttpServletRequest request)
getUploadServletRequest in interface Portalpublic UploadPortletRequest getUploadPortletRequest(PortletRequest portletRequest)
getUploadPortletRequest in interface Portalpublic Date getUptime()
getUptime in interface Portal
public String getURLWithSessionId(String url,
String sessionId)
getURLWithSessionId in interface Portal
public User getUser(javax.servlet.http.HttpServletRequest request)
throws PortalException,
SystemException
getUser in interface PortalPortalException
SystemException
public User getUser(PortletRequest portletRequest)
throws PortalException,
SystemException
getUser in interface PortalPortalException
SystemExceptionpublic long getUserId(javax.servlet.http.HttpServletRequest request)
getUserId in interface Portalpublic long getUserId(PortletRequest portletRequest)
getUserId in interface Portal
public String getUserName(long userId,
String defaultUserName)
getUserName in interface Portal
public String getUserName(long userId,
String defaultUserName,
javax.servlet.http.HttpServletRequest request)
getUserName in interface Portal
public String getUserName(long userId,
String defaultUserName,
String userAttribute)
getUserName in interface Portal
public String getUserName(long userId,
String defaultUserName,
String userAttribute,
javax.servlet.http.HttpServletRequest request)
getUserName in interface Portalpublic String getUserPassword(javax.servlet.http.HttpServletRequest request)
getUserPassword in interface Portalpublic String getUserPassword(javax.servlet.http.HttpSession session)
getUserPassword in interface Portalpublic String getUserPassword(PortletRequest portletRequest)
getUserPassword in interface Portal
public String getUserValue(long userId,
String param,
String defaultValue)
throws SystemException
getUserValue in interface PortalSystemException
public long getValidUserId(long companyId,
long userId)
throws PortalException,
SystemException
getValidUserId in interface PortalPortalException
SystemException
public String getWidgetURL(Portlet portlet,
ThemeDisplay themeDisplay)
throws PortalException,
SystemException
getWidgetURL in interface PortalPortalException
SystemException
public boolean isAllowAddPortletDefaultResource(javax.servlet.http.HttpServletRequest request,
Portlet portlet)
throws PortalException,
SystemException
isAllowAddPortletDefaultResource in interface PortalPortalException
SystemException
public boolean isCommunityAdmin(User user,
long groupId)
throws Exception
isCommunityAdmin in interface PortalException
public boolean isCommunityOwner(User user,
long groupId)
throws Exception
isCommunityOwner in interface PortalException
public boolean isCompanyAdmin(User user)
throws Exception
isCompanyAdmin in interface PortalException
public boolean isControlPanelPortlet(String portletId,
String category,
ThemeDisplay themeDisplay)
throws SystemException
isControlPanelPortlet in interface PortalSystemException
public boolean isControlPanelPortlet(String portletId,
ThemeDisplay themeDisplay)
throws SystemException
isControlPanelPortlet in interface PortalSystemExceptionpublic boolean isLayoutFirstPageable(Layout layout)
isLayoutFirstPageable in interface Portalpublic boolean isLayoutFirstPageable(String type)
isLayoutFirstPageable in interface Portalpublic boolean isLayoutFriendliable(Layout layout)
isLayoutFriendliable in interface Portalpublic boolean isLayoutFriendliable(String type)
isLayoutFriendliable in interface Portalpublic boolean isLayoutParentable(Layout layout)
isLayoutParentable in interface Portalpublic boolean isLayoutParentable(String type)
isLayoutParentable in interface Portalpublic boolean isLayoutSitemapable(Layout layout)
isLayoutSitemapable in interface Portalpublic boolean isMethodGet(PortletRequest portletRequest)
isMethodGet in interface Portalpublic boolean isMethodPost(PortletRequest portletRequest)
isMethodPost in interface Portalpublic boolean isOmniadmin(long userId)
isOmniadmin in interface Portalpublic boolean isReservedParameter(String name)
isReservedParameter in interface Portalpublic boolean isSystemGroup(String groupName)
isSystemGroup in interface Portalpublic boolean isSystemRole(String roleName)
isSystemRole in interface Portal
public boolean isUpdateAvailable()
throws SystemException
isUpdateAvailable in interface PortalSystemExceptionpublic boolean isValidResourceId(String resourceId)
isValidResourceId in interface Portalpublic void removePortalPortEventListener(PortalPortEventListener portalPortEventListener)
removePortalPortEventListener in interface Portal
public String renderPage(javax.servlet.ServletContext servletContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String path)
throws IOException,
javax.servlet.ServletException
renderPage in interface PortalIOException
javax.servlet.ServletException
public String renderPortlet(javax.servlet.ServletContext servletContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Portlet portlet,
String queryString,
boolean writeOutput)
throws IOException,
javax.servlet.ServletException
renderPortlet in interface PortalIOException
javax.servlet.ServletException
public String renderPortlet(javax.servlet.ServletContext servletContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Portlet portlet,
String queryString,
String columnId,
Integer columnPos,
Integer columnCount,
boolean writeOutput)
throws IOException,
javax.servlet.ServletException
renderPortlet in interface PortalIOException
javax.servlet.ServletException
public String renderPortlet(javax.servlet.ServletContext servletContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Portlet portlet,
String queryString,
String columnId,
Integer columnPos,
Integer columnCount,
String path,
boolean writeOutput)
throws IOException,
javax.servlet.ServletException
renderPortlet in interface PortalIOException
javax.servlet.ServletException
public void sendError(Exception e,
ActionRequest actionRequest,
ActionResponse actionResponse)
throws IOException
sendError in interface PortalIOException
public void sendError(Exception e,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException,
javax.servlet.ServletException
sendError in interface PortalIOException
javax.servlet.ServletException
public void sendError(int status,
Exception e,
ActionRequest actionRequest,
ActionResponse actionResponse)
throws IOException
sendError in interface PortalIOException
public void sendError(int status,
Exception e,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException,
javax.servlet.ServletException
sendError in interface PortalIOException
javax.servlet.ServletException
public void setPageDescription(String description,
javax.servlet.http.HttpServletRequest request)
setPageDescription in interface Portal
public void setPageKeywords(String keywords,
javax.servlet.http.HttpServletRequest request)
setPageKeywords in interface Portal
public void setPageSubtitle(String subtitle,
javax.servlet.http.HttpServletRequest request)
setPageSubtitle in interface Portal
public void setPageTitle(String title,
javax.servlet.http.HttpServletRequest request)
setPageTitle in interface Portalpublic void setPortalPort(javax.servlet.http.HttpServletRequest request)
setPortalPort in interface Portal
public void storePreferences(PortletPreferences preferences)
throws IOException,
ValidatorException
storePreferences in interface PortalIOException
ValidatorExceptionpublic String transformCustomSQL(String sql)
transformCustomSQL in interface Portal
public PortletMode updatePortletMode(String portletId,
User user,
Layout layout,
PortletMode portletMode,
javax.servlet.http.HttpServletRequest request)
updatePortletMode in interface Portal
public WindowState updateWindowState(String portletId,
User user,
Layout layout,
WindowState windowState,
javax.servlet.http.HttpServletRequest request)
updateWindowState in interface Portal
protected void addDefaultResource(ThemeDisplay themeDisplay,
Layout layout,
Portlet portlet,
boolean portletActions)
throws PortalException,
SystemException
PortalException
SystemException
protected List<Portlet> filterControlPanelPortlets(Set<Portlet> portlets,
String category,
ThemeDisplay themeDisplay)
protected long getDoAsUserId(javax.servlet.http.HttpServletRequest request,
String doAsUserIdString,
boolean alwaysAllowDoAsUser)
throws Exception
Exceptionprotected void notifyPortalPortEventListeners(int portalPort)
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||