public class CommonModule extends AbstractEJBModule implements ICommonModule
| Constructor and Description |
|---|
CommonModule() |
| Modifier and Type | Method and Description |
|---|---|
void |
addEvent(String plugin,
String entityName,
String entityId,
String code) |
protected void |
aroundCreateAccount(javax.interceptor.InvocationContext ctx) |
AccountDTO |
createAccount(AccountDTO extAccount) |
void |
deleteAccount(AccountDTO u) |
AccountDTO |
findAccountByUsername(String username) |
List<? extends IEventData> |
getEventforPluginSince(Date date,
String code,
String plugin) |
List<? extends IEventData> |
getEventSince(Date date,
String code) |
List<AccountDTO> |
listAllAccount() |
void |
preLoad() |
Object |
sendConfirmationEmail(javax.interceptor.InvocationContext ctx) |
AccountDTO |
updateAccount(AccountDTO u) |
getPrincipalgetModuleProperties, getModuleProperty, getParamManager, getPrinciaplUserName, getPrincipalProperty, getUserLastLogin, glassfishWorkAround, refreshModuleProperties, registerModule, setModuleProperty@PostConstruct public void preLoad()
preLoad in interface ICommonModulepublic List<? extends IEventData> getEventSince(Date date, String code)
getEventSince in interface IEventManagerpublic List<? extends IEventData> getEventforPluginSince(Date date, String code, String plugin)
getEventforPluginSince in interface IEventManagerpublic void addEvent(String plugin, String entityName, String entityId, String code) throws EvasionException
addEvent in interface IEventManagerEvasionExceptionpublic AccountDTO createAccount(AccountDTO extAccount) throws EvasionException
createAccount in interface IAccountManagerEvasionExceptionpublic void deleteAccount(AccountDTO u)
deleteAccount in interface IAccountManagerpublic AccountDTO updateAccount(AccountDTO u)
updateAccount in interface IAccountManagerpublic List<AccountDTO> listAllAccount()
listAllAccount in interface IAccountManagerpublic Object sendConfirmationEmail(javax.interceptor.InvocationContext ctx) throws Exception
Exceptionprotected void aroundCreateAccount(javax.interceptor.InvocationContext ctx)
public AccountDTO findAccountByUsername(String username)
findAccountByUsername in interface IAccountManagerCopyright © 2012. All Rights Reserved.