Interface GeoNetworkAdministration
- All Superinterfaces:
GeoNetworkPublisher,GeoNetworkReader
- All Known Implementing Classes:
GeoNetwork
-
Method Summary
Modifier and TypeMethodDescriptionvoidassignOwnership(List<Long> toTransferIds, Integer targetUserId, Integer targetGroupId) createGroup(String name, String description, String mail, Integer id) createUsers(String username, String password, User.Profile profile, Collection<Integer> groups) getAvailableOwnershipTransfer(Integer userId) getUsers()voidtransferOwnership(Integer sourceUserId, Integer sourceGroupId, Integer targetUserId, Integer targetGroupId) Methods inherited from interface org.gcube.spatial.data.geonetwork.GeoNetworkPublisher
deleteMetadata, getCurrentUserConfiguration, insertAndPromoteMetadata, insertAndPromoteMetadata, insertAndPromoteMetadata, insertAndPromoteMetadata, insertMetadata, insertMetadata, insertMetadata, insertMetadata, registerXMLAdapter, setPrivileges, updateMetadata, updateMetadataMethods inherited from interface org.gcube.spatial.data.geonetwork.GeoNetworkReader
getById, getById, getByIdAsRawString, getConfiguration, getInfo, getInfo, login, logout, query, query
-
Method Details
-
createGroup
Group createGroup(String name, String description, String mail, Integer id) throws it.geosolutions.geonetwork.exception.GNLibException, it.geosolutions.geonetwork.exception.GNServerException, MissingServiceEndpointException - Throws:
it.geosolutions.geonetwork.exception.GNLibExceptionit.geosolutions.geonetwork.exception.GNServerExceptionMissingServiceEndpointException
-
getGroups
Set<Group> getGroups() throws it.geosolutions.geonetwork.exception.GNLibException, it.geosolutions.geonetwork.exception.GNServerException, MissingServiceEndpointException- Throws:
it.geosolutions.geonetwork.exception.GNLibExceptionit.geosolutions.geonetwork.exception.GNServerExceptionMissingServiceEndpointException
-
getUsers
Set<User> getUsers() throws it.geosolutions.geonetwork.exception.GNLibException, it.geosolutions.geonetwork.exception.GNServerException, MissingServiceEndpointException- Throws:
it.geosolutions.geonetwork.exception.GNLibExceptionit.geosolutions.geonetwork.exception.GNServerExceptionMissingServiceEndpointException
-
createUsers
User createUsers(String username, String password, User.Profile profile, Collection<Integer> groups) throws it.geosolutions.geonetwork.exception.GNLibException, it.geosolutions.geonetwork.exception.GNServerException, MissingServiceEndpointException - Throws:
it.geosolutions.geonetwork.exception.GNLibExceptionit.geosolutions.geonetwork.exception.GNServerExceptionMissingServiceEndpointException
-
assignOwnership
void assignOwnership(List<Long> toTransferIds, Integer targetUserId, Integer targetGroupId) throws AuthorizationException, it.geosolutions.geonetwork.exception.GNServerException, MissingServiceEndpointException, it.geosolutions.geonetwork.exception.GNLibException - Throws:
AuthorizationExceptionit.geosolutions.geonetwork.exception.GNServerExceptionMissingServiceEndpointExceptionit.geosolutions.geonetwork.exception.GNLibException
-
getAvailableOwnershipTransfer
String getAvailableOwnershipTransfer(Integer userId) throws it.geosolutions.geonetwork.exception.GNServerException, MissingServiceEndpointException, it.geosolutions.geonetwork.exception.GNLibException - Throws:
it.geosolutions.geonetwork.exception.GNServerExceptionMissingServiceEndpointExceptionit.geosolutions.geonetwork.exception.GNLibException
-
getMetadataOwners
String getMetadataOwners() throws it.geosolutions.geonetwork.exception.GNServerException, MissingServiceEndpointException, it.geosolutions.geonetwork.exception.GNLibException- Throws:
it.geosolutions.geonetwork.exception.GNServerExceptionMissingServiceEndpointExceptionit.geosolutions.geonetwork.exception.GNLibException
-
transferOwnership
void transferOwnership(Integer sourceUserId, Integer sourceGroupId, Integer targetUserId, Integer targetGroupId) throws it.geosolutions.geonetwork.exception.GNServerException, MissingServiceEndpointException, it.geosolutions.geonetwork.exception.GNLibException - Throws:
it.geosolutions.geonetwork.exception.GNServerExceptionMissingServiceEndpointExceptionit.geosolutions.geonetwork.exception.GNLibException
-