org.fao.geonet.services.metadata
Class Create

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

public class Create
extends NotInReadOnlyModeService

Creates a metadata copying data from a given template.


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

Create

public Create()
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.