Class PortletWindowPreferenceRegistryWriter
- java.lang.Object
-
- com.sun.portal.portletcontainer.admin.PortletRegistryWriter
-
- com.sun.portal.portletcontainer.admin.registry.PortletWindowPreferenceRegistryWriter
-
public class PortletWindowPreferenceRegistryWriter extends PortletRegistryWriter
PortletWindowPreferenceRegistryWriter is responsible for updating the portlet-window-preferences.xml file
-
-
Field Summary
-
Fields inherited from class com.sun.portal.portletcontainer.admin.PortletRegistryWriter
context, registryLocation
-
-
Constructor Summary
Constructors Constructor Description PortletWindowPreferenceRegistryWriter(String registryLocation, String context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
appendDocument(List<PortletRegistryElement> portletWindowPreferenceElementList)
Appends contents in the list to the specified registry xml file in the file system.void
writeDocument(List<PortletRegistryElement> portletWindowPreferenceElementList)
Writes the contents in the list to the specified registry xml file in the file system.-
Methods inherited from class com.sun.portal.portletcontainer.admin.PortletRegistryWriter
write
-
-
-
-
Method Detail
-
appendDocument
public void appendDocument(List<PortletRegistryElement> portletWindowPreferenceElementList) throws PortletRegistryException
Description copied from class:PortletRegistryWriter
Appends contents in the list to the specified registry xml file in the file system.- Specified by:
appendDocument
in classPortletRegistryWriter
- Parameters:
portletWindowPreferenceElementList
- aList
of Portlet registry elements- Throws:
PortletRegistryException
-
writeDocument
public void writeDocument(List<PortletRegistryElement> portletWindowPreferenceElementList) throws PortletRegistryException
Description copied from class:PortletRegistryWriter
Writes the contents in the list to the specified registry xml file in the file system.- Specified by:
writeDocument
in classPortletRegistryWriter
- Parameters:
portletWindowPreferenceElementList
- aList
of Portlet registry elements- Throws:
PortletRegistryException
-
-