org.fao.geonet.services.metadata
Class AddElement

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

public class AddElement
extends NotInReadOnlyModeService

For editing : adds a tag to a metadata. Access is restricted.


Constructor Summary
AddElement()
           
 
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

AddElement

public AddElement()
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
Parameters:
params -
context -
Returns:
Throws:
Exception


Copyright © 2003-2013. All Rights Reserved.