|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.portal.principal.PrincipalDaoJdbc
public class PrincipalDaoJdbc
Class resposible for executing database operations on the Principal entity.
Constructor Summary | |
---|---|
PrincipalDaoJdbc()
|
Method Summary | |
---|---|
void |
add(PrincipalConfig principal,
ITransaction transaction)
Adds a new principal |
void |
delete(String principalId,
ITransaction transaction)
Delets a principal |
PrincipalConfig |
get(String principalId,
ITransaction transaction)
Get the principal. |
PrincipalConfig |
getByShortId(String shortId,
ITransaction transaction)
Get the principal by his's short Id |
void |
update(PrincipalConfig principal,
ITransaction transaction)
Updates a principal |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PrincipalDaoJdbc()
Method Detail |
---|
public void add(PrincipalConfig principal, ITransaction transaction) throws DaoException, PortalException
IPrincipalDao
add
in interface IPrincipalDao
DaoException
PortalException
public void delete(String principalId, ITransaction transaction) throws DaoException, PortalException
IPrincipalDao
delete
in interface IPrincipalDao
DaoException
PortalException
public void update(PrincipalConfig principal, ITransaction transaction) throws DaoException, PortalException
IPrincipalDao
update
in interface IPrincipalDao
DaoException
PortalException
public PrincipalConfig get(String principalId, ITransaction transaction) throws DaoException, PortalException
IPrincipalDao
get
in interface IPrincipalDao
DaoException
PortalException
public PrincipalConfig getByShortId(String shortId, ITransaction transaction) throws DaoException, PortalException
IPrincipalDao
getByShortId
in interface IPrincipalDao
DaoException
PortalException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |