public class GNClientExtension
extends it.geosolutions.geonetwork.GNClient
| Constructor and Description |
|---|
GNClientExtension(String serviceURL) |
| Modifier and Type | Method and Description |
|---|---|
void |
createGroup(String name,
String description,
String mail) |
void |
createUser(String name,
String password,
User.Profile profile,
Collection<Integer> groups) |
void |
editUser(User toAdd,
Collection<Integer> groups) |
Set<Group> |
getGroups() |
Set<Integer> |
getGroupsByUser(Integer userId) |
Set<User> |
getUsers() |
public GNClientExtension(String serviceURL)
public void createGroup(String name, String description, String mail) throws it.geosolutions.geonetwork.exception.GNLibException, it.geosolutions.geonetwork.exception.GNServerException
it.geosolutions.geonetwork.exception.GNLibExceptionit.geosolutions.geonetwork.exception.GNServerExceptionpublic Set<Group> getGroups() throws it.geosolutions.geonetwork.exception.GNLibException, it.geosolutions.geonetwork.exception.GNServerException
it.geosolutions.geonetwork.exception.GNLibExceptionit.geosolutions.geonetwork.exception.GNServerExceptionpublic Set<User> getUsers() throws it.geosolutions.geonetwork.exception.GNLibException, it.geosolutions.geonetwork.exception.GNServerException
it.geosolutions.geonetwork.exception.GNLibExceptionit.geosolutions.geonetwork.exception.GNServerExceptionpublic void createUser(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 void editUser(User toAdd, Collection<Integer> groups) throws it.geosolutions.geonetwork.exception.GNServerException, it.geosolutions.geonetwork.exception.GNLibException
it.geosolutions.geonetwork.exception.GNServerExceptionit.geosolutions.geonetwork.exception.GNLibExceptionCopyright © 2016. All Rights Reserved.