Class PortletAppRegistryContextImpl
- java.lang.Object
-
- com.sun.portal.portletcontainer.admin.registry.PortletAppRegistryContextImpl
-
- All Implemented Interfaces:
PortletAppRegistryContext
public class PortletAppRegistryContextImpl extends Object implements PortletAppRegistryContext
PortletAppRegistryContextImpl is a concrete implementation of the PortletAppRegistryContext interface.
-
-
Constructor Summary
Constructors Constructor Description PortletAppRegistryContextImpl()
-
Method Summary
All Methods Instance Methods Concrete 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 desiredLocale)
Map<String,Object>
getUserInfoMap(String portletName)
boolean
hasEdit(String portletName)
boolean
hasHelp(String portletName)
boolean
hasView(String portletName)
void
removePortlet(String portletName)
-
-
-
Constructor Detail
-
PortletAppRegistryContextImpl
public PortletAppRegistryContextImpl() throws PortletRegistryException
- Throws:
PortletRegistryException
-
-
Method Detail
-
getMarkupTypes
public List<String> getMarkupTypes(String portletName) throws PortletRegistryException
- Specified by:
getMarkupTypes
in interfacePortletAppRegistryContext
- Throws:
PortletRegistryException
-
getDescription
public String getDescription(String portletName, String desiredLocale) throws PortletRegistryException
- Specified by:
getDescription
in interfacePortletAppRegistryContext
- Throws:
PortletRegistryException
-
getShortTitle
public String getShortTitle(String portletName, String desiredLocale) throws PortletRegistryException
- Specified by:
getShortTitle
in interfacePortletAppRegistryContext
- Throws:
PortletRegistryException
-
getTitle
public String getTitle(String portletName, String desiredLocale) throws PortletRegistryException
- Specified by:
getTitle
in interfacePortletAppRegistryContext
- Throws:
PortletRegistryException
-
getKeywords
public List<String> getKeywords(String portletName, String desiredLocale) throws PortletRegistryException
- Specified by:
getKeywords
in interfacePortletAppRegistryContext
- Throws:
PortletRegistryException
-
getDisplayName
public String getDisplayName(String portletName, String desiredLocale) throws PortletRegistryException
- Specified by:
getDisplayName
in interfacePortletAppRegistryContext
- Throws:
PortletRegistryException
-
getRoleMap
public Map<String,Object> getRoleMap(String portletName) throws PortletRegistryException
- Specified by:
getRoleMap
in interfacePortletAppRegistryContext
- Throws:
PortletRegistryException
-
getUserInfoMap
public Map<String,Object> getUserInfoMap(String portletName) throws PortletRegistryException
- Specified by:
getUserInfoMap
in interfacePortletAppRegistryContext
- Throws:
PortletRegistryException
-
removePortlet
public void removePortlet(String portletName) throws PortletRegistryException
- Specified by:
removePortlet
in interfacePortletAppRegistryContext
- Throws:
PortletRegistryException
-
hasView
public boolean hasView(String portletName) throws PortletRegistryException
- Specified by:
hasView
in interfacePortletAppRegistryContext
- Throws:
PortletRegistryException
-
hasEdit
public boolean hasEdit(String portletName) throws PortletRegistryException
- Specified by:
hasEdit
in interfacePortletAppRegistryContext
- Throws:
PortletRegistryException
-
hasHelp
public boolean hasHelp(String portletName) throws PortletRegistryException
- Specified by:
hasHelp
in interfacePortletAppRegistryContext
- Throws:
PortletRegistryException
-
getAvailablePortlets
public List<String> getAvailablePortlets() throws PortletRegistryException
- Specified by:
getAvailablePortlets
in interfacePortletAppRegistryContext
- Throws:
PortletRegistryException
-
-