Class PortletWindowRegistryContextImpl
- java.lang.Object
-
- com.sun.portal.portletcontainer.admin.registry.PortletWindowRegistryContextImpl
-
- All Implemented Interfaces:
PortletWindowRegistryContext
public class PortletWindowRegistryContextImpl extends Object implements PortletWindowRegistryContext
PortletWindowRegistryContextImpl is a concrete implementation of the PortletWindowRegistryContext interface.
-
-
Constructor Summary
Constructors Constructor Description PortletWindowRegistryContextImpl()
PortletWindowRegistryContextImpl(String context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createPortletWindow(String portletName, String portletWindowName)
void
createPortletWindow(String portletName, String portletWindowName, String title, String locale)
List<String>
getAllPortletWindows(com.sun.portal.container.PortletType portletType)
String
getConsumerID(String portletWindowName)
com.sun.portal.container.EntityID
getEntityId(String portletWindowName)
List<com.sun.portal.container.EntityID>
getEntityIds()
String
getPortletID(String portletWindowName)
com.sun.portal.container.PortletLang
getPortletLang(String portletWindowName)
String
getPortletName(String portletWindowName)
List<String>
getPortletWindows(String portletName)
String
getPortletWindowTitle(String portletWindowName)
String
getProducerEntityID(String portletWindowName)
List<String>
getRemotePortletWindows()
Integer
getRowNumber(String portletWindowName)
List<String>
getVisiblePortletWindows(com.sun.portal.container.PortletType portletType)
String
getWidth(String portletWindowName)
boolean
isRemote(String portletWindowName)
boolean
isVisible(String portletWindowName)
void
movePortletWindows(List<PortletWindowData> portletWindows)
void
removePortletWindow(String portletWindowname)
void
removePortletWindows(String portletName)
void
setPortletWindowTitle(String portletWindowName, String title)
void
setWidth(String portletWindowName, String width, String row)
void
showPortletWindow(String portletWindowName, boolean visible)
-
-
-
Constructor Detail
-
PortletWindowRegistryContextImpl
public PortletWindowRegistryContextImpl() throws PortletRegistryException
- Throws:
PortletRegistryException
-
PortletWindowRegistryContextImpl
public PortletWindowRegistryContextImpl(String context) throws PortletRegistryException
- Throws:
PortletRegistryException
-
-
Method Detail
-
getVisiblePortletWindows
public List<String> getVisiblePortletWindows(com.sun.portal.container.PortletType portletType) throws PortletRegistryException
- Specified by:
getVisiblePortletWindows
in interfacePortletWindowRegistryContext
- Throws:
PortletRegistryException
-
getAllPortletWindows
public List<String> getAllPortletWindows(com.sun.portal.container.PortletType portletType) throws PortletRegistryException
- Specified by:
getAllPortletWindows
in interfacePortletWindowRegistryContext
- Throws:
PortletRegistryException
-
isVisible
public boolean isVisible(String portletWindowName) throws PortletRegistryException
- Specified by:
isVisible
in interfacePortletWindowRegistryContext
- Throws:
PortletRegistryException
-
getEntityId
public com.sun.portal.container.EntityID getEntityId(String portletWindowName) throws PortletRegistryException
- Specified by:
getEntityId
in interfacePortletWindowRegistryContext
- Throws:
PortletRegistryException
-
getEntityIds
public List<com.sun.portal.container.EntityID> getEntityIds() throws PortletRegistryException
- Specified by:
getEntityIds
in interfacePortletWindowRegistryContext
- Throws:
PortletRegistryException
-
getPortletWindowTitle
public String getPortletWindowTitle(String portletWindowName) throws PortletRegistryException
- Specified by:
getPortletWindowTitle
in interfacePortletWindowRegistryContext
- Throws:
PortletRegistryException
-
setPortletWindowTitle
public void setPortletWindowTitle(String portletWindowName, String title) throws PortletRegistryException
- Specified by:
setPortletWindowTitle
in interfacePortletWindowRegistryContext
- Throws:
PortletRegistryException
-
createPortletWindow
public void createPortletWindow(String portletName, String portletWindowName) throws PortletRegistryException
- Specified by:
createPortletWindow
in interfacePortletWindowRegistryContext
- Throws:
PortletRegistryException
-
createPortletWindow
public void createPortletWindow(String portletName, String portletWindowName, String title, String locale) throws PortletRegistryException
- Specified by:
createPortletWindow
in interfacePortletWindowRegistryContext
- Throws:
PortletRegistryException
-
removePortletWindow
public void removePortletWindow(String portletWindowname) throws PortletRegistryException
- Specified by:
removePortletWindow
in interfacePortletWindowRegistryContext
- Throws:
PortletRegistryException
-
removePortletWindows
public void removePortletWindows(String portletName) throws PortletRegistryException
- Specified by:
removePortletWindows
in interfacePortletWindowRegistryContext
- Throws:
PortletRegistryException
-
movePortletWindows
public void movePortletWindows(List<PortletWindowData> portletWindows) throws PortletRegistryException
- Specified by:
movePortletWindows
in interfacePortletWindowRegistryContext
- Throws:
PortletRegistryException
-
showPortletWindow
public void showPortletWindow(String portletWindowName, boolean visible) throws PortletRegistryException
- Specified by:
showPortletWindow
in interfacePortletWindowRegistryContext
- Throws:
PortletRegistryException
-
getPortletName
public String getPortletName(String portletWindowName) throws PortletRegistryException
- Specified by:
getPortletName
in interfacePortletWindowRegistryContext
- Throws:
PortletRegistryException
-
getPortletWindows
public List<String> getPortletWindows(String portletName) throws PortletRegistryException
- Specified by:
getPortletWindows
in interfacePortletWindowRegistryContext
- Throws:
PortletRegistryException
-
getRowNumber
public Integer getRowNumber(String portletWindowName) throws PortletRegistryException
- Specified by:
getRowNumber
in interfacePortletWindowRegistryContext
- Throws:
PortletRegistryException
-
getWidth
public String getWidth(String portletWindowName) throws PortletRegistryException
- Specified by:
getWidth
in interfacePortletWindowRegistryContext
- Throws:
PortletRegistryException
-
setWidth
public void setWidth(String portletWindowName, String width, String row) throws PortletRegistryException
- Specified by:
setWidth
in interfacePortletWindowRegistryContext
- Throws:
PortletRegistryException
-
getPortletID
public String getPortletID(String portletWindowName) throws PortletRegistryException
- Specified by:
getPortletID
in interfacePortletWindowRegistryContext
- Throws:
PortletRegistryException
-
getConsumerID
public String getConsumerID(String portletWindowName) throws PortletRegistryException
- Specified by:
getConsumerID
in interfacePortletWindowRegistryContext
- Throws:
PortletRegistryException
-
getProducerEntityID
public String getProducerEntityID(String portletWindowName) throws PortletRegistryException
- Specified by:
getProducerEntityID
in interfacePortletWindowRegistryContext
- Throws:
PortletRegistryException
-
isRemote
public boolean isRemote(String portletWindowName) throws PortletRegistryException
- Specified by:
isRemote
in interfacePortletWindowRegistryContext
- Throws:
PortletRegistryException
-
getRemotePortletWindows
public List<String> getRemotePortletWindows() throws PortletRegistryException
- Specified by:
getRemotePortletWindows
in interfacePortletWindowRegistryContext
- Throws:
PortletRegistryException
-
getPortletLang
public com.sun.portal.container.PortletLang getPortletLang(String portletWindowName) throws PortletRegistryException
- Specified by:
getPortletLang
in interfacePortletWindowRegistryContext
- Throws:
PortletRegistryException
-
-