public class GNMetadataAdminExtension extends Object
| Constructor and Description |
|---|
GNMetadataAdminExtension() |
| Modifier and Type | Method and Description |
|---|---|
static String |
allowedOwnershipTransfer(it.geosolutions.geonetwork.util.HTTPUtils connection,
ServerAccess access,
Integer userId) |
static String |
assignMassiveOwnership(it.geosolutions.geonetwork.util.HTTPUtils connection,
ServerAccess access,
Integer userId,
Integer groupId) |
static String |
clearMetaSelection(it.geosolutions.geonetwork.util.HTTPUtils connection,
ServerAccess access) |
static String |
createGroup(it.geosolutions.geonetwork.util.HTTPUtils connection,
ServerAccess access,
String groupName,
String groupDescription,
String groupMail,
Integer groupId) |
static String |
createUser(it.geosolutions.geonetwork.util.HTTPUtils connection,
ServerAccess access,
String name,
String password,
org.gcube.spatial.data.geonetwork.model.User.Profile profile,
Collection<Integer> groups) |
static String |
editUser(it.geosolutions.geonetwork.util.HTTPUtils connection,
ServerAccess access,
org.gcube.spatial.data.geonetwork.model.User toAdd,
Collection<Integer> groups) |
static String |
getGroups(it.geosolutions.geonetwork.util.HTTPUtils connection,
ServerAccess access) |
static String |
getUserGroupd(it.geosolutions.geonetwork.util.HTTPUtils connection,
ServerAccess access,
Integer userId) |
static String |
getUsers(it.geosolutions.geonetwork.util.HTTPUtils connection,
ServerAccess access) |
static String |
metadataOwners(it.geosolutions.geonetwork.util.HTTPUtils connection,
ServerAccess access) |
static String |
selectMeta(it.geosolutions.geonetwork.util.HTTPUtils connection,
ServerAccess access,
List<Long> toSelectIds) |
static String |
transferOwnership(it.geosolutions.geonetwork.util.HTTPUtils connection,
ServerAccess access,
Integer sourceUserId,
Integer sourceGroupId,
Integer destUserId,
Integer destGroupId) |
public static String allowedOwnershipTransfer(it.geosolutions.geonetwork.util.HTTPUtils connection, ServerAccess access, Integer userId) throws it.geosolutions.geonetwork.exception.GNServerException, it.geosolutions.geonetwork.exception.GNLibException
it.geosolutions.geonetwork.exception.GNServerExceptionit.geosolutions.geonetwork.exception.GNLibExceptionpublic static String metadataOwners(it.geosolutions.geonetwork.util.HTTPUtils connection, ServerAccess access) throws it.geosolutions.geonetwork.exception.GNServerException, it.geosolutions.geonetwork.exception.GNLibException
it.geosolutions.geonetwork.exception.GNServerExceptionit.geosolutions.geonetwork.exception.GNLibExceptionpublic static String selectMeta(it.geosolutions.geonetwork.util.HTTPUtils connection, ServerAccess access, List<Long> toSelectIds) throws it.geosolutions.geonetwork.exception.GNServerException, it.geosolutions.geonetwork.exception.GNLibException
it.geosolutions.geonetwork.exception.GNServerExceptionit.geosolutions.geonetwork.exception.GNLibExceptionpublic static String clearMetaSelection(it.geosolutions.geonetwork.util.HTTPUtils connection, ServerAccess access) throws it.geosolutions.geonetwork.exception.GNServerException, it.geosolutions.geonetwork.exception.GNLibException
it.geosolutions.geonetwork.exception.GNServerExceptionit.geosolutions.geonetwork.exception.GNLibExceptionpublic static String assignMassiveOwnership(it.geosolutions.geonetwork.util.HTTPUtils connection, ServerAccess access, Integer userId, Integer groupId) throws it.geosolutions.geonetwork.exception.GNServerException, it.geosolutions.geonetwork.exception.GNLibException
it.geosolutions.geonetwork.exception.GNServerExceptionit.geosolutions.geonetwork.exception.GNLibExceptionpublic static String transferOwnership(it.geosolutions.geonetwork.util.HTTPUtils connection, ServerAccess access, Integer sourceUserId, Integer sourceGroupId, Integer destUserId, Integer destGroupId) throws it.geosolutions.geonetwork.exception.GNServerException, it.geosolutions.geonetwork.exception.GNLibException
it.geosolutions.geonetwork.exception.GNServerExceptionit.geosolutions.geonetwork.exception.GNLibExceptionpublic static String editUser(it.geosolutions.geonetwork.util.HTTPUtils connection, ServerAccess access, org.gcube.spatial.data.geonetwork.model.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, ServerAccess access, 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, ServerAccess access) throws it.geosolutions.geonetwork.exception.GNServerException, it.geosolutions.geonetwork.exception.GNLibException
it.geosolutions.geonetwork.exception.GNServerExceptionit.geosolutions.geonetwork.exception.GNLibExceptionpublic static String createUser(it.geosolutions.geonetwork.util.HTTPUtils connection, ServerAccess access, String name, String password, org.gcube.spatial.data.geonetwork.model.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, ServerAccess access, String groupName, String groupDescription, String groupMail, Integer groupId) throws it.geosolutions.geonetwork.exception.GNLibException, it.geosolutions.geonetwork.exception.GNServerException
it.geosolutions.geonetwork.exception.GNLibExceptionit.geosolutions.geonetwork.exception.GNServerExceptionpublic static String getGroups(it.geosolutions.geonetwork.util.HTTPUtils connection, ServerAccess access) throws it.geosolutions.geonetwork.exception.GNServerException, it.geosolutions.geonetwork.exception.GNLibException
it.geosolutions.geonetwork.exception.GNServerExceptionit.geosolutions.geonetwork.exception.GNLibExceptionCopyright © 2017. All Rights Reserved.