Class PortletAdminDataImpl
- java.lang.Object
-
- com.sun.portal.portletcontainer.driver.admin.PortletAdminDataImpl
-
- All Implemented Interfaces:
PortletAdminData
,Serializable
public class PortletAdminDataImpl extends Object implements PortletAdminData, Serializable
PortletAdminDataImpl provides concrete implementation of PortletAdminData interface- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PortletAdminDataImpl()
-
Method Summary
All Methods Instance Methods Concrete 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
public void init(PortletRegistryContext portletRegistryContext) throws PortletRegistryException
- Specified by:
init
in interfacePortletAdminData
- Throws:
PortletRegistryException
-
deploy
public boolean deploy(String warName, boolean deployToContainer) throws Exception
- Specified by:
deploy
in interfacePortletAdminData
- Throws:
Exception
-
deploy
public boolean deploy(String warName, String rolesFilename, String userInfoFilename, boolean deployToContainer) throws Exception
- Specified by:
deploy
in interfacePortletAdminData
- Throws:
Exception
-
undeploy
public boolean undeploy(String warName, boolean undeployFromContainer) throws Exception
- Specified by:
undeploy
in interfacePortletAdminData
- Throws:
Exception
-
getPortlets
public List<PortletAppData> getPortlets(String locale)
- Specified by:
getPortlets
in interfacePortletAdminData
-
getPortletNames
public List<String> getPortletNames()
- Specified by:
getPortletNames
in interfacePortletAdminData
-
getPortletApplicationNames
public List<String> getPortletApplicationNames()
- Specified by:
getPortletApplicationNames
in interfacePortletAdminData
-
getPortletDisplayNames
public List<String> getPortletDisplayNames(String locale)
- Specified by:
getPortletDisplayNames
in interfacePortletAdminData
-
getPortletWindowNames
public List<String> getPortletWindowNames()
- Specified by:
getPortletWindowNames
in interfacePortletAdminData
-
createPortletWindow
public boolean createPortletWindow(String portletName, String portletWindowName, String title) throws Exception
- Specified by:
createPortletWindow
in interfacePortletAdminData
- Throws:
Exception
-
modifyPortletWindow
public boolean modifyPortletWindow(String portletWindowName, String width, boolean visible, String row) throws Exception
- Specified by:
modifyPortletWindow
in interfacePortletAdminData
- Throws:
Exception
-
movePortletWindows
public boolean movePortletWindows(List<PortletWindowData> portletWindows) throws Exception
- Specified by:
movePortletWindows
in interfacePortletAdminData
- Throws:
Exception
-
isVisible
public boolean isVisible(String portletWindowName) throws Exception
- Specified by:
isVisible
in interfacePortletAdminData
- Throws:
Exception
-
-