it.geosolutions.geobatch.catalog.impl
Class BasePersistentResource<C extends Configuration>

java.lang.Object
  extended by it.geosolutions.geobatch.catalog.impl.BaseIdentifiable
      extended by it.geosolutions.geobatch.catalog.impl.BaseResource
          extended by it.geosolutions.geobatch.catalog.impl.BasePersistentResource<C>
Type Parameters:
C -
All Implemented Interfaces:
Identifiable, Resource, java.lang.Cloneable
Direct Known Subclasses:
BaseCatalog

public abstract class BasePersistentResource<C extends Configuration>
extends BaseResource

Author:
(r2) Carlo Cancellieri - carlo.cancellieri@geo-solutions.it

Constructor Summary
BasePersistentResource(java.lang.String id, java.lang.String name, java.lang.String description)
           
 
Method Summary
 C getConfiguration()
           
 DAO getDAO()
           
 void load()
           
 void persist()
           
 boolean remove()
           
 void setConfiguration(C configuration)
           
 void setDAO(DAO flowConfigurationDAO)
           
 
Methods inherited from class it.geosolutions.geobatch.catalog.impl.BaseResource
dispose
 
Methods inherited from class it.geosolutions.geobatch.catalog.impl.BaseIdentifiable
clone, getDescription, getId, getName, setDescription, setId, setName
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface it.geosolutions.geobatch.catalog.Identifiable
getDescription, getId, getName, setDescription, setId, setName
 

Constructor Detail

BasePersistentResource

public BasePersistentResource(java.lang.String id,
                              java.lang.String name,
                              java.lang.String description)
Method Detail

getConfiguration

public C getConfiguration()

getDAO

public DAO getDAO()

persist

public void persist()
             throws java.io.IOException
Throws:
java.io.IOException

load

public void load()
          throws java.io.IOException
Throws:
java.io.IOException

remove

public boolean remove()
               throws java.io.IOException
Throws:
java.io.IOException

setConfiguration

public void setConfiguration(C configuration)

setDAO

public void setDAO(DAO flowConfigurationDAO)


Copyright © 2008-2012 GeoSolutions. All Rights Reserved.