org.apache.jetspeed.portlets.rpad.simple
Class SimpleRepository

java.lang.Object
  extended by org.apache.jetspeed.portlets.rpad.simple.SimpleRepository
All Implemented Interfaces:
Repository

public class SimpleRepository
extends Object
implements Repository


Field Summary
private  boolean available
           
private  String configPath
           
private static org.apache.commons.logging.Log log
          Logger for this class
private  String name
           
private  List portletApplications
           
 
Constructor Summary
SimpleRepository()
           
 
Method Summary
 String getConfigPath()
           
protected  InputSource getInputSource(String path)
           
 String getName()
           
 PortletApplication getPortletApplication(String groupId, String artifactId, String version, String packaging)
           
 List getPortletApplications()
           
 void init()
           
 boolean isAvailable()
           
 void setAvailable(boolean available)
           
 void setConfigPath(String configPath)
           
 void setName(String name)
           
 String toXMLString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private static final org.apache.commons.logging.Log log
Logger for this class


name

private String name

configPath

private String configPath

portletApplications

private List portletApplications

available

private boolean available
Constructor Detail

SimpleRepository

public SimpleRepository()
Method Detail

init

public void init()
Specified by:
init in interface Repository

getInputSource

protected InputSource getInputSource(String path)

getPortletApplication

public PortletApplication getPortletApplication(String groupId,
                                                String artifactId,
                                                String version,
                                                String packaging)
Specified by:
getPortletApplication in interface Repository

getConfigPath

public String getConfigPath()
Returns:
the configPath

setConfigPath

public void setConfigPath(String configPath)
Parameters:
configPath - the configPath to set

getPortletApplications

public List getPortletApplications()
Specified by:
getPortletApplications in interface Repository
Returns:
the portletApplications

getName

public String getName()
Specified by:
getName in interface Repository
Returns:
the name

setName

public void setName(String name)
Parameters:
name - the name to set

toXMLString

public String toXMLString()
Specified by:
toXMLString in interface Repository

isAvailable

public boolean isAvailable()
Specified by:
isAvailable in interface Repository
Returns:
the available

setAvailable

public void setAvailable(boolean available)
Specified by:
setAvailable in interface Repository
Parameters:
available - the available to set


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.