org.apache.pluto.portlet.admin.model
Class PageRegistryXao

java.lang.Object
  extended byorg.apache.pluto.portlet.admin.BaseAdminObject
      extended byorg.apache.pluto.portlet.admin.model.PageRegistryXao

public class PageRegistryXao
extends BaseAdminObject

This class is used to access and store data in the pageregistry.xml file. It uses Castor and is loosely based on the org.apache.services.pageregistry.PageRegistryServiceFileImpl class in Pluto's 'portal' module.

Author:
Craig Doremus

Field Summary
static java.lang.String CONFIG_FILE
           
static java.lang.String DEFAULT_MAPPING
           
 
Constructor Summary
PageRegistryXao()
           
 
Method Summary
 void init()
           
 PortalImpl load()
           
 boolean pageExists(java.lang.String page)
           
 void save(PortalImpl page)
           
 
Methods inherited from class org.apache.pluto.portlet.admin.BaseAdminObject
logDebug, logError, logError, logMethodEnd, logMethodEnd, logMethodStart, logParam, logParam, logParam, logVar, logVar, logVar, logWarn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONFIG_FILE

public static final java.lang.String CONFIG_FILE
See Also:
Constant Field Values

DEFAULT_MAPPING

public static final java.lang.String DEFAULT_MAPPING
See Also:
Constant Field Values
Constructor Detail

PageRegistryXao

public PageRegistryXao()
                throws java.lang.Exception
Method Detail

init

public void init()
          throws java.lang.Exception
Throws:
java.lang.Exception

save

public void save(PortalImpl page)
          throws java.lang.Exception
Throws:
java.lang.Exception

load

public PortalImpl load()
                throws java.lang.Exception
Throws:
java.lang.Exception

pageExists

public boolean pageExists(java.lang.String page)


Copyright © 2003-2007 . All Rights Reserved.