public class GNMetadataAdminExtension extends Object
| Constructor and Description |
|---|
GNMetadataAdminExtension() |
| Modifier and Type | Method and Description |
|---|---|
static String |
createGroup(it.geosolutions.geonetwork.util.HTTPUtils connection,
String gnServiceURL,
String groupName,
String groupDescription,
String groupMail) |
static String |
createUser(it.geosolutions.geonetwork.util.HTTPUtils connection,
String gnServiceURL,
String name,
String password,
User.Profile profile,
Collection<Integer> groups) |
static String |
editUser(it.geosolutions.geonetwork.util.HTTPUtils connection,
String gnServiceURL,
User toAdd,
Collection<Integer> groups) |
static String |
getGroups(it.geosolutions.geonetwork.util.HTTPUtils connection,
String gnServiceURL) |
static String |
getUserGroupd(it.geosolutions.geonetwork.util.HTTPUtils connection,
String gnServiceURL,
Integer userId) |
static String |
getUsers(it.geosolutions.geonetwork.util.HTTPUtils connection,
String gnServiceURL) |
public static String editUser(it.geosolutions.geonetwork.util.HTTPUtils connection, String gnServiceURL, User toAdd, Collection<Integer> groups) throws it.geosolutions.geonetwork.exception.GNLibException, it.geosolutions.geonetwork.exception.GNServerException
it.geosolutions.geonetwork.exception.GNLibExceptionit.geosolutions.geonetwork.exception.GNServerExceptionpublic static String getUserGroupd(it.geosolutions.geonetwork.util.HTTPUtils connection, String gnServiceURL, Integer userId) throws it.geosolutions.geonetwork.exception.GNLibException, it.geosolutions.geonetwork.exception.GNServerException
it.geosolutions.geonetwork.exception.GNLibExceptionit.geosolutions.geonetwork.exception.GNServerExceptionpublic static String getUsers(it.geosolutions.geonetwork.util.HTTPUtils connection, String gnServiceURL) throws it.geosolutions.geonetwork.exception.GNServerException
it.geosolutions.geonetwork.exception.GNServerExceptionpublic static String createUser(it.geosolutions.geonetwork.util.HTTPUtils connection, String gnServiceURL, String name, String password, User.Profile profile, Collection<Integer> groups) throws it.geosolutions.geonetwork.exception.GNServerException, it.geosolutions.geonetwork.exception.GNLibException
it.geosolutions.geonetwork.exception.GNServerExceptionit.geosolutions.geonetwork.exception.GNLibExceptionpublic static String createGroup(it.geosolutions.geonetwork.util.HTTPUtils connection, String gnServiceURL, String groupName, String groupDescription, String groupMail) throws it.geosolutions.geonetwork.exception.GNLibException, it.geosolutions.geonetwork.exception.GNServerException
it.geosolutions.geonetwork.exception.GNLibExceptionit.geosolutions.geonetwork.exception.GNServerExceptionCopyright © 2016. All Rights Reserved.