Package com.soffid.iam.service
Interface VaultService
-
public interface VaultServiceService VaultService
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AccountaddToFolder(Account account)Operation addToFoldervoidapplyFolderPermissions(VaultFolderPermissions permissions)Operation applyFolderPermissionsVaultElementcreate(VaultElement folder)Operation createVaultFoldercreate(VaultFolder folder)Operation createList<Account>findAccounts(String filter)Operation findAccountsVaultFolderfindFolder(long id)Operation findFolderPagedResult<VaultFolder>findFolderByTextAndJsonQuery(String text, String jsonQuery, Integer start, Integer pageSize)Operation findFolderByTextAndJsonQueryAsyncList<VaultFolder>findFolderByTextAndJsonQueryAsync(String text, String jsonQuery)Operation findFolderByTextAndJsonQueryAsyncList<VaultFolder>findFolders(String filter)Operation findFoldersVaultElementfindVaultElement(long id)Operation findVaultElementList<VaultElement>findVaultElementByText(String filter)Operation findVaultElementByTextList<VaultElement>getChildren(VaultElement parent)Operation getChildrenList<VaultFolder>getChildren(VaultFolder parent)Operation getChildrenVaultFolderPermissionsgetFolderPermissions(VaultFolder folder)Operation getFolderPermissionsVaultFoldergetPersonalFolder()Operation getPersonalFolderList<VaultFolder>getPublicRootFolders()Operation getPublicRootFoldersList<VaultFolder>getRootFolders()Operation getRootFoldersList<Account>list(VaultFolder folder)Operation listvoidremove(VaultElement folder)Operation removevoidremove(VaultFolder folder)Operation removeVaultElementupdate(VaultElement folder)Operation updateVaultFolderupdate(VaultFolder folder)Operation update
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
findFolderByTextAndJsonQueryAsync
AsyncList<VaultFolder> findFolderByTextAndJsonQueryAsync(String text, String jsonQuery) throws InternalErrorException
Operation findFolderByTextAndJsonQueryAsync- Parameters:
text-jsonQuery-- Returns:
- Throws:
InternalErrorException
-
findFolderByTextAndJsonQuery
PagedResult<VaultFolder> findFolderByTextAndJsonQuery(String text, String jsonQuery, Integer start, Integer pageSize) throws InternalErrorException
Operation findFolderByTextAndJsonQuery- Parameters:
text-jsonQuery-start-pageSize-- Returns:
- Throws:
InternalErrorException
-
create
VaultElement create(VaultElement folder) throws InternalErrorException
Operation create- Parameters:
folder-- Returns:
- Throws:
InternalErrorException
-
findVaultElement
VaultElement findVaultElement(long id) throws InternalErrorException
Operation findVaultElement- Parameters:
id-- Returns:
- Throws:
InternalErrorException
-
update
VaultElement update(VaultElement folder) throws InternalErrorException
Operation update- Parameters:
folder-- Returns:
- Throws:
InternalErrorException
-
create
VaultFolder create(VaultFolder folder) throws InternalErrorException
Operation create- Parameters:
folder-- Returns:
- Throws:
InternalErrorException
-
findFolder
VaultFolder findFolder(long id) throws InternalErrorException
Operation findFolder- Parameters:
id-- Returns:
- Throws:
InternalErrorException
-
getPersonalFolder
VaultFolder getPersonalFolder() throws InternalErrorException
Operation getPersonalFolder- Returns:
- Throws:
InternalErrorException
-
update
VaultFolder update(VaultFolder folder) throws InternalErrorException
Operation update- Parameters:
folder-- Returns:
- Throws:
InternalErrorException
-
getFolderPermissions
VaultFolderPermissions getFolderPermissions(VaultFolder folder) throws InternalErrorException
Operation getFolderPermissions- Parameters:
folder-- Returns:
- Throws:
InternalErrorException
-
addToFolder
Account addToFolder(Account account) throws InternalErrorException
Operation addToFolder- Parameters:
account-- Returns:
- Throws:
InternalErrorException
-
findAccounts
List<Account> findAccounts(String filter) throws InternalErrorException
Operation findAccounts- Parameters:
filter-- Returns:
- Throws:
InternalErrorException
-
findFolders
List<VaultFolder> findFolders(String filter) throws InternalErrorException
Operation findFolders- Parameters:
filter-- Returns:
- Throws:
InternalErrorException
-
findVaultElementByText
List<VaultElement> findVaultElementByText(String filter) throws InternalErrorException
Operation findVaultElementByText- Parameters:
filter-- Returns:
- Throws:
InternalErrorException
-
getChildren
List<VaultElement> getChildren(VaultElement parent) throws InternalErrorException
Operation getChildren- Parameters:
parent-- Returns:
- Throws:
InternalErrorException
-
getChildren
List<VaultFolder> getChildren(VaultFolder parent) throws InternalErrorException
Operation getChildren- Parameters:
parent-- Returns:
- Throws:
InternalErrorException
-
getPublicRootFolders
List<VaultFolder> getPublicRootFolders() throws InternalErrorException
Operation getPublicRootFolders- Returns:
- Throws:
InternalErrorException
-
getRootFolders
List<VaultFolder> getRootFolders() throws InternalErrorException
Operation getRootFolders- Returns:
- Throws:
InternalErrorException
-
list
List<Account> list(VaultFolder folder) throws InternalErrorException
Operation list- Parameters:
folder-- Returns:
- Throws:
InternalErrorException
-
applyFolderPermissions
void applyFolderPermissions(VaultFolderPermissions permissions) throws InternalErrorException
Operation applyFolderPermissions- Parameters:
permissions-- Throws:
InternalErrorException
-
remove
void remove(VaultElement folder) throws InternalErrorException
Operation remove- Parameters:
folder-- Throws:
InternalErrorException
-
remove
void remove(VaultFolder folder) throws InternalErrorException
Operation remove- Parameters:
folder-- Throws:
InternalErrorException
-
-