org.gcube.common.geoserverinterface.engine
Class GeonetworkGetMethods

java.lang.Object
  extended by org.gcube.common.geoserverinterface.engine.GeonetworkGetMethods

public class GeonetworkGetMethods
extends Object


Field Summary
static String GROUP
           
 
Constructor Summary
GeonetworkGetMethods(HttpMethodCall hMC)
           
 
Method Summary
static String cleanGeoUrl(String geourl)
           
 ArrayList<CswRecord> getCswRecordsBySearch(String anyText, int maxRecords)
           
 String getGeoserverUrlForName(String groupName, boolean searchgroup)
           
 String getHarvestingById(String id)
           
 String getIdFromXml()
           
 CswLayersResult getLayersFromCsw(String referredWorkspace, int startPosition, int maxRecords, boolean sortByTitle, boolean sortAscendent, GeoCaller.FILTER_TYPE filter, String textToSearch)
           
 String getListHarvestings()
           
 String getMetadataByFileIdentifier(String uuid)
           
 String getMetadataById(String id)
           
 String searchLayerByAnyText(String anyText, int maxRecords)
           
 String searchLayerByTitleIsEqualTo(String title)
           
 String searchLayerByTitleIsLike(String title)
           
 String searchMetadataByTitle(String title, int maxRecords)
           
 String searchService(String title, GeonetworkCommonResourceInterface.GeonetworkCategory category, Boolean similarity)
           
 String updateHarvesting(String id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GROUP

public static final String GROUP
See Also:
Constant Field Values
Constructor Detail

GeonetworkGetMethods

public GeonetworkGetMethods(HttpMethodCall hMC)
Method Detail

getListHarvestings

public String getListHarvestings()

getHarvestingById

public String getHarvestingById(String id)

getMetadataByFileIdentifier

public String getMetadataByFileIdentifier(String uuid)

getMetadataById

public String getMetadataById(String id)

updateHarvesting

public String updateHarvesting(String id)

searchLayerByTitleIsLike

public String searchLayerByTitleIsLike(String title)

searchLayerByTitleIsEqualTo

public String searchLayerByTitleIsEqualTo(String title)

searchLayerByAnyText

public String searchLayerByAnyText(String anyText,
                                   int maxRecords)

searchMetadataByTitle

public String searchMetadataByTitle(String title,
                                    int maxRecords)

getCswRecordsBySearch

public ArrayList<CswRecord> getCswRecordsBySearch(String anyText,
                                                  int maxRecords)

getGeoserverUrlForName

public String getGeoserverUrlForName(String groupName,
                                     boolean searchgroup)
Parameters:
groupName - (mandatory)
Returns:

cleanGeoUrl

public static String cleanGeoUrl(String geourl)

searchService

public String searchService(String title,
                            GeonetworkCommonResourceInterface.GeonetworkCategory category,
                            Boolean similarity)

getIdFromXml

public String getIdFromXml()

getLayersFromCsw

public CswLayersResult getLayersFromCsw(String referredWorkspace,
                                        int startPosition,
                                        int maxRecords,
                                        boolean sortByTitle,
                                        boolean sortAscendent,
                                        GeoCaller.FILTER_TYPE filter,
                                        String textToSearch)
Parameters:
referredWorkspace -
startPosition -
maxRecords -
sortByTiyle -
sortAscendent -
filter -
textToSearch -
Returns:


Copyright © 2012. All Rights Reserved.