org.apache.pluto.portlet.admin.model
Class PortletEntityRegistryXao
java.lang.Object
org.apache.pluto.portlet.admin.BaseAdminObject
org.apache.pluto.portlet.admin.model.PortletEntityRegistryXao
- public class PortletEntityRegistryXao
- extends BaseAdminObject
This class is used to access and store data in the portletentityregistry.xml file.
It uses Castor and is loosely based on the
org.apache.services.portletentityregistry.PortletEntityRegistryServiceFileImpl
class in Pluto's 'portal' module.
- Author:
- Craig Doremus
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, wait, wait, wait |
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
PortletEntityRegistryXao
public PortletEntityRegistryXao()
throws java.lang.Exception
init
public void init()
throws java.lang.Exception
- Throws:
java.lang.Exception
save
public void save(PortletApplicationEntityListImpl apps)
throws java.lang.Exception
- Throws:
java.lang.Exception
load
public PortletApplicationEntityListImpl load()
throws java.lang.Exception
- Throws:
java.lang.Exception
toString
public java.lang.String toString()
toString
public java.lang.String toString(int indent)
getApplications
public java.util.Collection getApplications()
throws java.lang.Exception
- Throws:
java.lang.Exception
getApplication
public PortletApplicationEntityImpl getApplication(java.lang.String appContext)
throws java.lang.Exception
- Throws:
java.lang.Exception
getPortletPreferences
public java.util.Collection getPortletPreferences(java.lang.String appId,
java.lang.String portletId)
throws java.lang.Exception
- Throws:
java.lang.Exception
applicationExists
public boolean applicationExists(java.lang.String appContext)
Copyright © 2003-2006 . All Rights Reserved.