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) |
protected String |
id(DocumentModel entry) |
protected String |
id(String username,
String deputy) |
protected void |
initPersistentService() |
protected DocumentModel |
newEntry(String username,
String deputy) |
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 DeputyManagementStorageService()
public String getDeputySchemaName()
getDeputySchemaName
in interface DeputyManager
protected void initPersistentService()
public void resetDeputies()
public List<String> getPossiblesAlternateLogins(String userName)
getPossiblesAlternateLogins
in interface DeputyManager
public List<String> getAvalaibleDeputyIds(String userName)
getAvalaibleDeputyIds
in interface DeputyManager
public List<DocumentModel> getAvalaibleMandates(String userName)
getAvalaibleMandates
in interface DeputyManager
public DocumentModel newMandate(String username, String deputy)
newMandate
in interface DeputyManager
protected DocumentModel newEntry(String username, String deputy)
public DocumentModel newMandate(String username, String deputy, Calendar start, Calendar end)
newMandate
in interface DeputyManager
public void addMandate(DocumentModel entry)
addMandate
in interface DeputyManager
public void removeMandate(String username, String deputy)
removeMandate
in interface DeputyManager
protected String id(DocumentModel entry)
Copyright © 2015 Nuxeo SA. All rights reserved.