org.fao.geonet.services.metadata
Class Validate

java.lang.Object
  extended by org.fao.geonet.services.MailSendingService
      extended by org.fao.geonet.services.NotInReadOnlyModeService
          extended by org.fao.geonet.services.metadata.Validate
All Implemented Interfaces:
Service

public class Validate
extends NotInReadOnlyModeService

For editing : update leaves information. Access is restricted Validate current metadata record in session. FIXME : id MUST be the id of the current metadata record in session ?


Constructor Summary
Validate()
           
 
Method Summary
 void init(String appPath, ServiceConfig params)
           
 org.jdom.Element serviceSpecificExec(org.jdom.Element params, ServiceContext context)
          Contains the code for normal execution, when GeoNetwork is not in read-only mode.
 
Methods inherited from class org.fao.geonet.services.NotInReadOnlyModeService
exec
 
Methods inherited from class org.fao.geonet.services.MailSendingService
sendMail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Validate

public Validate()
Method Detail

init

public void init(String appPath,
                 ServiceConfig params)
          throws Exception
Specified by:
init in interface Service
Overrides:
init in class NotInReadOnlyModeService
Throws:
Exception

serviceSpecificExec

public org.jdom.Element serviceSpecificExec(org.jdom.Element params,
                                            ServiceContext context)
                                     throws Exception
Description copied from class: NotInReadOnlyModeService
Contains the code for normal execution, when GeoNetwork is not in read-only mode.

Specified by:
serviceSpecificExec in class NotInReadOnlyModeService
Returns:
Throws:
Exception


Copyright © 2003-2013. All Rights Reserved.