|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectit.geosolutions.geonetwork.GNClient
public class GNClient
Facade for the various GN operations
| Constructor Summary | |
|---|---|
GNClient(String serviceURL)
|
|
| Method Summary | |
|---|---|
void |
deleteMetadata(long id)
|
Element |
get(Long id)
|
Element |
get(String uuid)
|
long |
insertMetadata(GNInsertConfiguration cfg,
File metadataFile)
Facade for GNMetadataInsert.insertMetadata(HTTPUtils, String, File, GNInsertConfiguration) |
long |
insertRequest(File requestFile)
Facade for GNMetadataInsert.insertRequest((HTTPUtils connection, String gnServiceURL, File inputFile)) |
boolean |
login(String username,
String password)
Facade for GNLogin.login(it.geosolutions.geonetwork.util.HTTPUtils, java.lang.String, java.lang.String, java.lang.String) |
GNSearchResponse |
search(File fileRequest)
|
GNSearchResponse |
search(GNSearchRequest searchRequest)
|
void |
setPrivileges(long metadataId,
GNPrivConfiguration cfg)
Facade for GNMetadataAdmin.setPriv(it.geosolutions.geonetwork.util.HTTPUtils, java.lang.String, long, it.geosolutions.geonetwork.util.GNPrivConfiguration) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GNClient(String serviceURL)
| Method Detail |
|---|
public boolean login(String username,
String password)
GNLogin.login(it.geosolutions.geonetwork.util.HTTPUtils, java.lang.String, java.lang.String, java.lang.String)
public long insertMetadata(GNInsertConfiguration cfg,
File metadataFile)
throws GNLibException,
GNServerException
GNMetadataInsert.insertMetadata(HTTPUtils, String, File, GNInsertConfiguration)
GNLibException
GNServerException
public long insertRequest(File requestFile)
throws GNLibException,
GNServerException
GNMetadataInsert.insertRequest((HTTPUtils connection, String gnServiceURL, File inputFile))
GNLibException
GNServerException
public void setPrivileges(long metadataId,
GNPrivConfiguration cfg)
throws GNLibException,
GNServerException
GNMetadataAdmin.setPriv(it.geosolutions.geonetwork.util.HTTPUtils, java.lang.String, long, it.geosolutions.geonetwork.util.GNPrivConfiguration)
GNLibException
GNServerException
public GNSearchResponse search(GNSearchRequest searchRequest)
throws GNLibException,
GNServerException
GNLibException
GNServerException
public GNSearchResponse search(File fileRequest)
throws GNLibException,
GNServerException
GNLibException
GNServerException
public Element get(Long id)
throws GNLibException,
GNServerException
GNLibException
GNServerException
public Element get(String uuid)
throws GNLibException,
GNServerException
GNLibException
GNServerException
public void deleteMetadata(long id)
throws GNLibException,
GNServerException
GNLibException
GNServerException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||