|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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, PORTAL_REALM, 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()
|
long |
getDigestAuthUserId(javax.servlet.http.HttpServletRequest request)
|
protected long |
getDoAsUserId(javax.servlet.http.HttpServletRequest request,
String doAsUserIdString,
boolean alwaysAllowDoAsUser)
|
Map<String,Serializable> |
getExpandoBridgeAttributes(ExpandoBridge expandoBridge,
PortletRequest portletRequest)
|
String |
getFacebookURL(Portlet portlet,
String facebookCanvasPageURL,
ThemeDisplay themeDisplay)
|
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 Portal
public 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 Portal
PortalException
SystemException
public String addPreservedParameters(ThemeDisplay themeDisplay, Layout layout, String url, boolean doAsUser)
Portal
false
,
then doAsUserId and doAsUserLanguageId will never be added.
addPreservedParameters
in interface Portal
public String addPreservedParameters(ThemeDisplay themeDisplay, String url)
Portal
addPreservedParameters
in interface Portal
public void clearRequestParameters(RenderRequest renderRequest)
clearRequestParameters
in interface Portal
public void copyRequestParameters(ActionRequest actionRequest, ActionResponse actionResponse)
copyRequestParameters
in interface Portal
public 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 Portal
PortalException
SystemException
public BaseModel<?> getBaseModel(ResourcePermission resourcePermission) throws PortalException, SystemException
getBaseModel
in interface Portal
PortalException
SystemException
public BaseModel<?> getBaseModel(String modelName, String primKey) throws PortalException, SystemException
getBaseModel
in interface Portal
PortalException
SystemException
public long getBasicAuthUserId(javax.servlet.http.HttpServletRequest request) throws PortalException, SystemException
getBasicAuthUserId
in interface Portal
PortalException
SystemException
public long getBasicAuthUserId(javax.servlet.http.HttpServletRequest request, long companyId) throws PortalException, SystemException
getBasicAuthUserId
in interface Portal
PortalException
SystemException
public String getCDNHost()
getCDNHost(boolean)
getCDNHost
in interface Portal
public String getCDNHost(boolean secure)
getCDNHost
in interface Portal
public String getCDNHostHttp()
getCDNHostHttp
in interface Portal
public String getCDNHostHttps()
getCDNHostHttps
in interface Portal
public String getClassName(long classNameId)
getClassName
in interface Portal
public long getClassNameId(Class<?> classObj)
getClassNameId
in interface Portal
public long getClassNameId(String value)
getClassNameId
in interface Portal
public String getClassNamePortletId(String className)
getClassNamePortletId
in interface Portal
public String getCommunityLoginURL(ThemeDisplay themeDisplay) throws PortalException, SystemException
getCommunityLoginURL
in interface Portal
PortalException
SystemException
public String[] getCommunityPermissions(javax.servlet.http.HttpServletRequest request)
getCommunityPermissions
in interface Portal
public String[] getCommunityPermissions(PortletRequest portletRequest)
getCommunityPermissions
in interface Portal
public Company getCompany(javax.servlet.http.HttpServletRequest request) throws PortalException, SystemException
getCompany
in interface Portal
PortalException
SystemException
public Company getCompany(PortletRequest portletRequest) throws PortalException, SystemException
getCompany
in interface Portal
PortalException
SystemException
public long getCompanyId(javax.servlet.http.HttpServletRequest request)
getCompanyId
in interface Portal
public long getCompanyId(PortletRequest portletRequest)
getCompanyId
in interface Portal
public long[] getCompanyIds()
getCompanyIds
in interface Portal
public String getComputerAddress()
getComputerAddress
in interface Portal
public String getComputerName()
getComputerName
in interface Portal
public String getControlPanelCategory(String portletId, ThemeDisplay themeDisplay) throws SystemException
getControlPanelCategory
in interface Portal
SystemException
public String getControlPanelFullURL(long scopeGroupId, String ppid, Map<String,String[]> params) throws PortalException, SystemException
getControlPanelFullURL
in interface Portal
PortalException
SystemException
public List<Portlet> getControlPanelPortlets(String category, ThemeDisplay themeDisplay) throws SystemException
getControlPanelPortlets
in interface Portal
SystemException
public String getCurrentCompleteURL(javax.servlet.http.HttpServletRequest request)
getCurrentCompleteURL
in interface Portal
public String getCurrentURL(javax.servlet.http.HttpServletRequest request)
getCurrentURL
in interface Portal
public String getCurrentURL(PortletRequest portletRequest)
getCurrentURL
in interface Portal
public String getCustomSQLFunctionIsNotNull()
getCustomSQLFunctionIsNotNull
in interface Portal
public 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 Portal
PortalException
public Date getDate(int month, int day, int year, int hour, int min, TimeZone timeZone, PortalException pe) throws PortalException
getDate
in interface Portal
PortalException
public Date getDate(int month, int day, int year, PortalException pe) throws PortalException
getDate
in interface Portal
PortalException
public Date getDate(int month, int day, int year, TimeZone timeZone, PortalException pe) throws PortalException
getDate
in interface Portal
PortalException
public long getDefaultCompanyId()
getDefaultCompanyId
in interface Portal
public long getDigestAuthUserId(javax.servlet.http.HttpServletRequest request) throws PortalException, SystemException
getDigestAuthUserId
in interface Portal
PortalException
SystemException
public Map<String,Serializable> getExpandoBridgeAttributes(ExpandoBridge expandoBridge, PortletRequest portletRequest) throws PortalException, SystemException
getExpandoBridgeAttributes
in interface Portal
PortalException
SystemException
public String getFacebookURL(Portlet portlet, String facebookCanvasPageURL, ThemeDisplay themeDisplay) throws PortalException, SystemException
getFacebookURL
in interface Portal
PortalException
SystemException
public String getFirstPageLayoutTypes(javax.servlet.jsp.PageContext pageContext)
getFirstPageLayoutTypes
in interface Portal
public String getGlobalLibDir()
getGlobalLibDir
in interface Portal
public String getGoogleGadgetURL(Portlet portlet, ThemeDisplay themeDisplay) throws PortalException, SystemException
getGoogleGadgetURL
in interface Portal
PortalException
SystemException
public String[] getGuestPermissions(javax.servlet.http.HttpServletRequest request)
getGuestPermissions
in interface Portal
public String[] getGuestPermissions(PortletRequest portletRequest)
getGuestPermissions
in interface Portal
public String getHomeURL(javax.servlet.http.HttpServletRequest request) throws PortalException, SystemException
getHomeURL
in interface Portal
PortalException
SystemException
public String getHost(javax.servlet.http.HttpServletRequest request)
getHost
in interface Portal
public String getHost(PortletRequest portletRequest)
getHost
in interface Portal
public javax.servlet.http.HttpServletRequest getHttpServletRequest(PortletRequest portletRequest)
getHttpServletRequest
in interface Portal
public javax.servlet.http.HttpServletResponse getHttpServletResponse(PortletResponse portletResponse)
getHttpServletResponse
in interface Portal
public String getJsSafePortletId(String portletId)
getJsSafePortletId
in interface Portal
public 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 Portal
PortalException
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 Portal
PortalException
SystemException
public String getLayoutEditPage(Layout layout)
getLayoutEditPage
in interface Portal
public String getLayoutEditPage(String type)
getLayoutEditPage
in interface Portal
public String getLayoutFriendlyURL(Layout layout, ThemeDisplay themeDisplay) throws PortalException, SystemException
getLayoutFriendlyURL
in interface Portal
PortalException
SystemException
public String getLayoutFriendlyURL(Layout layout, ThemeDisplay themeDisplay, Locale locale) throws PortalException, SystemException
getLayoutFriendlyURL
in interface Portal
PortalException
SystemException
public String getLayoutFullURL(Layout layout, ThemeDisplay themeDisplay) throws PortalException, SystemException
getLayoutFullURL
in interface Portal
PortalException
SystemException
public String getLayoutFullURL(Layout layout, ThemeDisplay themeDisplay, boolean doAsUser) throws PortalException, SystemException
getLayoutFullURL
in interface Portal
PortalException
SystemException
public String getLayoutFullURL(long groupId, String portletId) throws PortalException, SystemException
getLayoutFullURL
in interface Portal
PortalException
SystemException
public String getLayoutFullURL(ThemeDisplay themeDisplay) throws PortalException, SystemException
getLayoutFullURL
in interface Portal
PortalException
SystemException
public String getLayoutSetFriendlyURL(LayoutSet layoutSet, ThemeDisplay themeDisplay) throws PortalException, SystemException
getLayoutSetFriendlyURL
in interface Portal
PortalException
SystemException
public String getLayoutTarget(Layout layout)
getLayoutTarget
in interface Portal
public String getLayoutURL(Layout layout, ThemeDisplay themeDisplay) throws PortalException, SystemException
getLayoutURL
in interface Portal
PortalException
SystemException
public String getLayoutURL(Layout layout, ThemeDisplay themeDisplay, boolean doAsUser) throws PortalException, SystemException
getLayoutURL
in interface Portal
PortalException
SystemException
public String getLayoutURL(ThemeDisplay themeDisplay) throws PortalException, SystemException
getLayoutURL
in interface Portal
PortalException
SystemException
public String getLayoutViewPage(Layout layout)
getLayoutViewPage
in interface Portal
public String getLayoutViewPage(String type)
getLayoutViewPage
in interface Portal
public LiferayPortletResponse getLiferayPortletResponse(PortletResponse portletResponse)
getLiferayPortletResponse
in interface Portal
public Locale getLocale(javax.servlet.http.HttpServletRequest request)
getLocale
in interface Portal
public Locale getLocale(RenderRequest renderRequest)
getLocale
in interface Portal
public String getNetvibesURL(Portlet portlet, ThemeDisplay themeDisplay) throws PortalException, SystemException
getNetvibesURL
in interface Portal
PortalException
SystemException
public 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 Portal
PortalException
SystemException
public String getPathContext()
getPathContext
in interface Portal
public String getPathFriendlyURLPrivateGroup()
getPathFriendlyURLPrivateGroup
in interface Portal
public String getPathFriendlyURLPrivateUser()
getPathFriendlyURLPrivateUser
in interface Portal
public String getPathFriendlyURLPublic()
getPathFriendlyURLPublic
in interface Portal
public String getPathImage()
getPathImage
in interface Portal
public 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 Portal
PortalException
SystemException
public long getPlidFromPortletId(long groupId, String portletId) throws PortalException, SystemException
getPlidFromPortletId
in interface Portal
PortalException
SystemException
public String getPortalLibDir()
getPortalLibDir
in interface Portal
public int getPortalPort()
getPortalPort
in interface Portal
public Properties getPortalProperties()
getPortalProperties
in interface Portal
public String getPortalURL(javax.servlet.http.HttpServletRequest request)
getPortalURL
in interface Portal
public String getPortalURL(javax.servlet.http.HttpServletRequest request, boolean secure)
getPortalURL
in interface Portal
public 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 Portal
PortalException
SystemException
public String getPortalWebDir()
getPortalWebDir
in interface Portal
public 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
SystemException
public String getPortletId(javax.servlet.http.HttpServletRequest request)
getPortletId
in interface Portal
public String getPortletId(PortletRequest portletRequest)
getPortletId
in interface Portal
public 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 Portal
public 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 Portal
SystemException
public PortletPreferences getPreferences(javax.servlet.http.HttpServletRequest request)
getPreferences
in interface Portal
public PreferencesValidator getPreferencesValidator(Portlet portlet)
getPreferencesValidator
in interface Portal
public long getScopeGroupId(javax.servlet.http.HttpServletRequest request) throws PortalException, SystemException
getScopeGroupId
in interface Portal
PortalException
SystemException
public long getScopeGroupId(javax.servlet.http.HttpServletRequest request, String portletId) throws PortalException, SystemException
getScopeGroupId
in interface Portal
PortalException
SystemException
public long getScopeGroupId(Layout layout)
getScopeGroupId
in interface Portal
public long getScopeGroupId(Layout layout, String portletId)
getScopeGroupId
in interface Portal
public long getScopeGroupId(long plid)
getScopeGroupId
in interface Portal
public long getScopeGroupId(PortletRequest portletRequest) throws PortalException, SystemException
getScopeGroupId
in interface Portal
PortalException
SystemException
public User getSelectedUser(javax.servlet.http.HttpServletRequest request) throws PortalException, SystemException
getSelectedUser
in interface Portal
PortalException
SystemException
public User getSelectedUser(javax.servlet.http.HttpServletRequest request, boolean checkPermission) throws PortalException, SystemException
getSelectedUser
in interface Portal
PortalException
SystemException
public User getSelectedUser(PortletRequest portletRequest) throws PortalException, SystemException
getSelectedUser
in interface Portal
PortalException
SystemException
public User getSelectedUser(PortletRequest portletRequest, boolean checkPermission) throws PortalException, SystemException
getSelectedUser
in interface Portal
PortalException
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 Portal
public List<SocialEquityActionMapping> getSocialEquityActionMappings(String name)
getSocialEquityActionMappings
in interface Portal
public 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 Portal
public String getStrutsAction(javax.servlet.http.HttpServletRequest request)
getStrutsAction
in interface Portal
public String[] getSystemCommunityRoles()
getSystemCommunityRoles
in interface Portal
public String[] getSystemGroups()
getSystemGroups
in interface Portal
public String[] getSystemOrganizationRoles()
getSystemOrganizationRoles
in interface Portal
public String[] getSystemRoles()
getSystemRoles
in interface Portal
public UploadServletRequest getUploadServletRequest(javax.servlet.http.HttpServletRequest request)
getUploadServletRequest
in interface Portal
public UploadPortletRequest getUploadPortletRequest(PortletRequest portletRequest)
getUploadPortletRequest
in interface Portal
public 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 Portal
PortalException
SystemException
public User getUser(PortletRequest portletRequest) throws PortalException, SystemException
getUser
in interface Portal
PortalException
SystemException
public long getUserId(javax.servlet.http.HttpServletRequest request)
getUserId
in interface Portal
public 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 Portal
public String getUserPassword(javax.servlet.http.HttpServletRequest request)
getUserPassword
in interface Portal
public String getUserPassword(javax.servlet.http.HttpSession session)
getUserPassword
in interface Portal
public String getUserPassword(PortletRequest portletRequest)
getUserPassword
in interface Portal
public String getUserValue(long userId, String param, String defaultValue) throws SystemException
getUserValue
in interface Portal
SystemException
public long getValidUserId(long companyId, long userId) throws PortalException, SystemException
getValidUserId
in interface Portal
PortalException
SystemException
public String getWidgetURL(Portlet portlet, ThemeDisplay themeDisplay) throws PortalException, SystemException
getWidgetURL
in interface Portal
PortalException
SystemException
public boolean isAllowAddPortletDefaultResource(javax.servlet.http.HttpServletRequest request, Portlet portlet) throws PortalException, SystemException
isAllowAddPortletDefaultResource
in interface Portal
PortalException
SystemException
public boolean isCommunityAdmin(User user, long groupId) throws Exception
isCommunityAdmin
in interface Portal
Exception
public boolean isCommunityOwner(User user, long groupId) throws Exception
isCommunityOwner
in interface Portal
Exception
public boolean isCompanyAdmin(User user) throws Exception
isCompanyAdmin
in interface Portal
Exception
public boolean isControlPanelPortlet(String portletId, String category, ThemeDisplay themeDisplay) throws SystemException
isControlPanelPortlet
in interface Portal
SystemException
public boolean isControlPanelPortlet(String portletId, ThemeDisplay themeDisplay) throws SystemException
isControlPanelPortlet
in interface Portal
SystemException
public boolean isLayoutFirstPageable(Layout layout)
isLayoutFirstPageable
in interface Portal
public boolean isLayoutFirstPageable(String type)
isLayoutFirstPageable
in interface Portal
public boolean isLayoutFriendliable(Layout layout)
isLayoutFriendliable
in interface Portal
public boolean isLayoutFriendliable(String type)
isLayoutFriendliable
in interface Portal
public boolean isLayoutParentable(Layout layout)
isLayoutParentable
in interface Portal
public boolean isLayoutParentable(String type)
isLayoutParentable
in interface Portal
public boolean isLayoutSitemapable(Layout layout)
isLayoutSitemapable
in interface Portal
public boolean isMethodGet(PortletRequest portletRequest)
isMethodGet
in interface Portal
public boolean isMethodPost(PortletRequest portletRequest)
isMethodPost
in interface Portal
public boolean isOmniadmin(long userId)
isOmniadmin
in interface Portal
public boolean isReservedParameter(String name)
isReservedParameter
in interface Portal
public boolean isSystemGroup(String groupName)
isSystemGroup
in interface Portal
public boolean isSystemRole(String roleName)
isSystemRole
in interface Portal
public boolean isUpdateAvailable() throws SystemException
isUpdateAvailable
in interface Portal
SystemException
public boolean isValidResourceId(String resourceId)
isValidResourceId
in interface Portal
public 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 Portal
IOException
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 Portal
IOException
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 Portal
IOException
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 Portal
IOException
javax.servlet.ServletException
public void sendError(Exception e, ActionRequest actionRequest, ActionResponse actionResponse) throws IOException
sendError
in interface Portal
IOException
public void sendError(Exception e, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException, javax.servlet.ServletException
sendError
in interface Portal
IOException
javax.servlet.ServletException
public void sendError(int status, Exception e, ActionRequest actionRequest, ActionResponse actionResponse) throws IOException
sendError
in interface Portal
IOException
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 Portal
IOException
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 Portal
public void setPortalPort(javax.servlet.http.HttpServletRequest request)
setPortalPort
in interface Portal
public void storePreferences(PortletPreferences preferences) throws IOException, ValidatorException
storePreferences
in interface Portal
IOException
ValidatorException
public 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
Exception
protected void notifyPortalPortEventListeners(int portalPort)
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |