org.fao.geonet.lib
Class SourcesLib

java.lang.Object
  extended by org.fao.geonet.lib.SourcesLib

public class SourcesLib
extends java.lang.Object


Constructor Summary
SourcesLib()
           
 
Method Summary
 void copyLogo(jeeves.server.context.ServiceContext context, java.lang.String icon, java.lang.String uuid)
           
 void copyUnknownLogo(jeeves.server.context.ServiceContext context, java.lang.String uuid)
           
 void delete(jeeves.resources.dbms.Dbms dbms, java.lang.String uuid)
           
 void retrieveLogo(jeeves.server.context.ServiceContext context, java.lang.String host, int port, java.lang.String servlet, java.lang.String uuid)
           
 void update(jeeves.resources.dbms.Dbms dbms, java.lang.String uuid, java.lang.String name, boolean isLocal)
          isLocal: means that the source is local to the node.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SourcesLib

public SourcesLib()
Method Detail

update

public void update(jeeves.resources.dbms.Dbms dbms,
                   java.lang.String uuid,
                   java.lang.String name,
                   boolean isLocal)
            throws java.sql.SQLException
isLocal: means that the source is local to the node. That is: - the source is the site-id of the node - the source has been generated by CSW, WEBDAV or Z39.50 harvesting

Throws:
java.sql.SQLException

delete

public void delete(jeeves.resources.dbms.Dbms dbms,
                   java.lang.String uuid)
            throws java.sql.SQLException
Throws:
java.sql.SQLException

copyLogo

public void copyLogo(jeeves.server.context.ServiceContext context,
                     java.lang.String icon,
                     java.lang.String uuid)

copyUnknownLogo

public void copyUnknownLogo(jeeves.server.context.ServiceContext context,
                            java.lang.String uuid)

retrieveLogo

public void retrieveLogo(jeeves.server.context.ServiceContext context,
                         java.lang.String host,
                         int port,
                         java.lang.String servlet,
                         java.lang.String uuid)