org.fao.geonet.kernel.harvest.harvester
Class AbstractParams

java.lang.Object
  extended by org.fao.geonet.kernel.harvest.harvester.AbstractParams
Direct Known Subclasses:
ArcSDEParams, CswParams, GeonetParams, GeonetParams, GeoPRESTParams, LocalFilesystemParams, OaiPmhParams, OgcWxSParams, ThreddsParams, WebDavParams, WfsFeaturesParams, Z3950ConfigParams, Z3950Params

public abstract class AbstractParams
extends Object

TODO javadoc.


Field Summary
protected  DataManager dm
           
 String importXslt
           
 String name
           
 org.jdom.Element node
           
 boolean oneRunOnly
           
 String ownerId
          id of the user who created or updated this harvester node.
 String ownerIdGroup
          id of the group selected by the user who created or updated this harvester node.
 String password
           
 boolean useAccount
           
 String username
           
 String uuid
           
 boolean validate
           
 
Constructor Summary
AbstractParams(DataManager dm)
           
 
Method Summary
protected  void checkPort(int port)
           
protected  void copyTo(AbstractParams copy)
           
 void create(org.jdom.Element node)
           
 Iterable<String> getCategories()
           
 org.quartz.JobDetail getJob()
           
 Iterable<Privileges> getPrivileges()
           
 org.quartz.Trigger getTrigger()
           
 void update(org.jdom.Element node)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

public String name

uuid

public String uuid

useAccount

public boolean useAccount

username

public String username

password

public String password

oneRunOnly

public boolean oneRunOnly

validate

public boolean validate

importXslt

public String importXslt

node

public org.jdom.Element node

ownerId

public String ownerId
id of the user who created or updated this harvester node.


ownerIdGroup

public String ownerIdGroup
id of the group selected by the user who created or updated this harvester node.


dm

protected DataManager dm
Constructor Detail

AbstractParams

public AbstractParams(DataManager dm)
Method Detail

create

public void create(org.jdom.Element node)
            throws BadInputEx
Parameters:
node -
Throws:
BadInputEx

update

public void update(org.jdom.Element node)
            throws BadInputEx
Parameters:
node -
Throws:
BadInputEx

getPrivileges

public Iterable<Privileges> getPrivileges()
Returns:

getCategories

public Iterable<String> getCategories()
Returns:

copyTo

protected void copyTo(AbstractParams copy)
Parameters:
copy -

getJob

public org.quartz.JobDetail getJob()
Returns:

getTrigger

public org.quartz.Trigger getTrigger()
Returns:

checkPort

protected void checkPort(int port)
                  throws BadParameterEx
Parameters:
port -
Throws:
BadParameterEx


Copyright © 2003-2013. All Rights Reserved.