Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.lucane.server.store.sql
Class SqlServiceStore  view SqlServiceStore download SqlServiceStore.java

java.lang.Object
  extended byorg.lucane.server.store.ServiceStore
      extended byorg.lucane.server.store.sql.SqlServiceStore

public class SqlServiceStore
extends org.lucane.server.store.ServiceStore


Field Summary
private  org.lucane.server.database.DatabaseAbstractionLayer layer
           
private static java.lang.String TABLENAME
           
 
Constructor Summary
SqlServiceStore()
           
 
Method Summary
private  void createTable()
           
 java.util.Iterator getAllServices()
          Get all services
 org.lucane.common.concepts.ServiceConcept getService(java.lang.String name)
          Get a service by its name
 void removeService(org.lucane.common.concepts.ServiceConcept service)
          Remove a service
 void storeService(org.lucane.common.concepts.ServiceConcept service)
          Store a service
 void updateService(org.lucane.common.concepts.ServiceConcept service)
          Update a service
 
Methods inherited from class org.lucane.server.store.ServiceStore
getAuthorizedServices, isAutorizedService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TABLENAME

private static final java.lang.String TABLENAME
See Also:
Constant Field Values

layer

private org.lucane.server.database.DatabaseAbstractionLayer layer
Constructor Detail

SqlServiceStore

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

createTable

private void createTable()
                  throws java.sql.SQLException

storeService

public void storeService(org.lucane.common.concepts.ServiceConcept service)
                  throws java.sql.SQLException
Description copied from class: org.lucane.server.store.ServiceStore
Store a service


updateService

public void updateService(org.lucane.common.concepts.ServiceConcept service)
                   throws java.sql.SQLException
Description copied from class: org.lucane.server.store.ServiceStore
Update a service


removeService

public void removeService(org.lucane.common.concepts.ServiceConcept service)
                   throws java.sql.SQLException
Description copied from class: org.lucane.server.store.ServiceStore
Remove a service


getService

public org.lucane.common.concepts.ServiceConcept getService(java.lang.String name)
                                                     throws java.sql.SQLException
Description copied from class: org.lucane.server.store.ServiceStore
Get a service by its name


getAllServices

public java.util.Iterator getAllServices()
                                  throws java.sql.SQLException
Description copied from class: org.lucane.server.store.ServiceStore
Get all services