public interface BaseShard
Modifier and Type | Method and Description |
---|---|
void |
changeShard(String uuid,
long shardId)
Change shard.
|
List<Shard> |
getShards()
Gets shards.
|
void |
setCurrentShard(long shardId)
Sets current shard.
|
List<Shard> getShards() throws WebserviceException, RepositoryException, DatabaseException, AccessDeniedException, UnknownException
WebserviceException
- the webservice exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionAccessDeniedException
- the access denied exceptionUnknownException
- the unknown exceptionvoid setCurrentShard(long shardId) throws WebserviceException, RepositoryException, DatabaseException, AccessDeniedException, UnknownException
shardId
- the shard idWebserviceException
- the webservice exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionAccessDeniedException
- the access denied exceptionUnknownException
- the unknown exceptionvoid changeShard(String uuid, long shardId) throws WebserviceException, RepositoryException, DatabaseException, AccessDeniedException, UnknownException
uuid
- the uuidshardId
- the shard idWebserviceException
- the webservice exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionAccessDeniedException
- the access denied exceptionUnknownException
- the unknown exceptionCopyright © 2021 Open Knowledge Management System S.L.. All Rights Reserved.