Interface PortletAdminData
-
- All Known Implementing Classes:
PortletAdminDataImpl
public interface PortletAdminData
The PortletAdminData is responsible for administering portlets. The includes deploying/undeploying portlets, creating/modifying portlet windows.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
createPortletWindow(String portletName, String portletWindowName, String title)
boolean
deploy(String warName, boolean deployToContainer)
boolean
deploy(String warName, String rolesFilename, String userInfoFilename, boolean deployToContainer)
List<String>
getPortletApplicationNames()
List<String>
getPortletDisplayNames(String locale)
List<String>
getPortletNames()
List<PortletAppData>
getPortlets(String locale)
List<String>
getPortletWindowNames()
String
getWidth(String portletWindowName)
void
init(PortletRegistryContext portletRegistryContext)
boolean
isVisible(String portletWindowName)
boolean
modifyPortletWindow(String portletWindowName, String width, boolean visible, String row)
boolean
movePortletWindows(List<PortletWindowData> portletWindows)
boolean
undeploy(String warName, boolean undeployFromContainer)
-
-
-
Method Detail
-
init
void init(PortletRegistryContext portletRegistryContext) throws PortletRegistryException
- Throws:
PortletRegistryException
-
deploy
boolean deploy(String warName, boolean deployToContainer) throws Exception
- Throws:
Exception
-
deploy
boolean deploy(String warName, String rolesFilename, String userInfoFilename, boolean deployToContainer) throws Exception
- Throws:
Exception
-
undeploy
boolean undeploy(String warName, boolean undeployFromContainer) throws Exception
- Throws:
Exception
-
getPortlets
List<PortletAppData> getPortlets(String locale)
-
createPortletWindow
boolean createPortletWindow(String portletName, String portletWindowName, String title) throws Exception
- Throws:
Exception
-
modifyPortletWindow
boolean modifyPortletWindow(String portletWindowName, String width, boolean visible, String row) throws Exception
- Throws:
Exception
-
movePortletWindows
boolean movePortletWindows(List<PortletWindowData> portletWindows) throws Exception
- Throws:
Exception
-
-