Interface PortletAppRegistryContext
-
- All Known Implementing Classes:
PortletAppRegistryContextImpl
public interface PortletAppRegistryContext
PortletAppRegistryContext provides information pertaining to the portlet app registry. This includes information about portlets.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<String>
getAvailablePortlets()
String
getDescription(String portletName, String desiredLocale)
String
getDisplayName(String portletName, String desiredLocale)
List<String>
getKeywords(String portletName, String desiredLocale)
List<String>
getMarkupTypes(String portletName)
Map<String,Object>
getRoleMap(String portletName)
String
getShortTitle(String portletName, String desiredLocale)
String
getTitle(String portletName, String desiredLocales)
Map<String,Object>
getUserInfoMap(String portletName)
boolean
hasEdit(String portletName)
boolean
hasHelp(String portletName)
boolean
hasView(String portletName)
void
removePortlet(String portletName)
-
-
-
Method Detail
-
getMarkupTypes
List<String> getMarkupTypes(String portletName) throws PortletRegistryException
- Throws:
PortletRegistryException
-
getDescription
String getDescription(String portletName, String desiredLocale) throws PortletRegistryException
- Throws:
PortletRegistryException
-
getShortTitle
String getShortTitle(String portletName, String desiredLocale) throws PortletRegistryException
- Throws:
PortletRegistryException
-
getTitle
String getTitle(String portletName, String desiredLocales) throws PortletRegistryException
- Throws:
PortletRegistryException
-
getKeywords
List<String> getKeywords(String portletName, String desiredLocale) throws PortletRegistryException
- Throws:
PortletRegistryException
-
getDisplayName
String getDisplayName(String portletName, String desiredLocale) throws PortletRegistryException
- Throws:
PortletRegistryException
-
getRoleMap
Map<String,Object> getRoleMap(String portletName) throws PortletRegistryException
- Throws:
PortletRegistryException
-
getUserInfoMap
Map<String,Object> getUserInfoMap(String portletName) throws PortletRegistryException
- Throws:
PortletRegistryException
-
removePortlet
void removePortlet(String portletName) throws PortletRegistryException
- Throws:
PortletRegistryException
-
hasView
boolean hasView(String portletName) throws PortletRegistryException
- Throws:
PortletRegistryException
-
hasEdit
boolean hasEdit(String portletName) throws PortletRegistryException
- Throws:
PortletRegistryException
-
hasHelp
boolean hasHelp(String portletName) throws PortletRegistryException
- Throws:
PortletRegistryException
-
getAvailablePortlets
List<String> getAvailablePortlets() throws PortletRegistryException
- Throws:
PortletRegistryException
-
-