public class DeputyManagementStorageService extends Object implements DeputyManager
Constructor and Description |
---|
DeputyManagementStorageService() |
Modifier and Type | Method and Description |
---|---|
void |
addMandate(DocumentModel entry) |
List<String> |
getAvalaibleDeputyIds(String userName) |
List<DocumentModel> |
getAvalaibleMandates(String userName) |
String |
getDeputySchemaName() |
List<String> |
getPossiblesAlternateLogins(String userName) |
DocumentModel |
newMandate(String username,
String deputy) |
DocumentModel |
newMandate(String username,
String deputy,
Calendar start,
Calendar end) |
void |
removeMandate(String username,
String deputy) |
void |
resetDeputies() |
public String getDeputySchemaName()
getDeputySchemaName
in interface DeputyManager
public void resetDeputies() throws ClientException
ClientException
public List<String> getPossiblesAlternateLogins(String userName) throws ClientException
getPossiblesAlternateLogins
in interface DeputyManager
ClientException
public List<String> getAvalaibleDeputyIds(String userName) throws ClientException
getAvalaibleDeputyIds
in interface DeputyManager
ClientException
public List<DocumentModel> getAvalaibleMandates(String userName) throws ClientException
getAvalaibleMandates
in interface DeputyManager
ClientException
public DocumentModel newMandate(String username, String deputy) throws ClientException
newMandate
in interface DeputyManager
ClientException
public DocumentModel newMandate(String username, String deputy, Calendar start, Calendar end) throws ClientException
newMandate
in interface DeputyManager
ClientException
public void addMandate(DocumentModel entry) throws ClientException
addMandate
in interface DeputyManager
ClientException
public void removeMandate(String username, String deputy) throws ClientException
removeMandate
in interface DeputyManager
ClientException
Copyright © 2015 Nuxeo SA. All rights reserved.