Class PortletRegistryWriter
- java.lang.Object
-
- com.sun.portal.portletcontainer.admin.PortletRegistryWriter
-
- Direct Known Subclasses:
PortletAppRegistryWriter
,PortletWindowPreferenceRegistryWriter
,PortletWindowRegistryWriter
public abstract class PortletRegistryWriter extends Object
PortletRegistryWriter is responsible for writing to the Registry xmls. There will be concrete classes to write to portlet-app-registry.xml portlet-window-registry.xml portlet-window-preference-registry.xml.
-
-
Field Summary
Fields Modifier and Type Field Description protected String
context
protected String
registryLocation
-
Constructor Summary
Constructors Constructor Description PortletRegistryWriter(String registryLocation, String filename, String context)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract void
appendDocument(List<PortletRegistryElement> portletRegistryElementList)
Appends contents in the list to the specified registry xml file in the file system.protected void
write(PortletRegistryObject portletRegistryObject)
abstract void
writeDocument(List<PortletRegistryElement> portletRegistryElementList)
Writes the contents in the list to the specified registry xml file in the file system.
-
-
-
Method Detail
-
write
protected void write(PortletRegistryObject portletRegistryObject) throws PortletRegistryException
- Throws:
PortletRegistryException
-
appendDocument
public abstract void appendDocument(List<PortletRegistryElement> portletRegistryElementList) throws PortletRegistryException
Appends contents in the list to the specified registry xml file in the file system.- Parameters:
portletRegistryElementList
- aList
of Portlet registry elements- Throws:
PortletRegistryException
-
writeDocument
public abstract void writeDocument(List<PortletRegistryElement> portletRegistryElementList) throws PortletRegistryException
Writes the contents in the list to the specified registry xml file in the file system.- Parameters:
portletRegistryElementList
- aList
of Portlet registry elements- Throws:
PortletRegistryException
-
-