lumis.portal.principal
Class PrincipalDaoJdbc

Package class diagram package PrincipalDaoJdbc
java.lang.Object
  extended by lumis.portal.principal.PrincipalDaoJdbc
All Implemented Interfaces:
IPrincipalDao

public class PrincipalDaoJdbc
extends Object
implements IPrincipalDao

Class resposible for executing database operations on the Principal entity.

Since:
4.0.0

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

PrincipalDaoJdbc

public PrincipalDaoJdbc()
Method Detail

add

public void add(PrincipalConfig principal,
                ITransaction transaction)
         throws DaoException,
                PortalException
Description copied from interface: IPrincipalDao
Adds a new principal

Specified by:
add in interface IPrincipalDao
Throws:
DaoException
PortalException

delete

public void delete(String principalId,
                   ITransaction transaction)
            throws DaoException,
                   PortalException
Description copied from interface: IPrincipalDao
Delets a principal

Specified by:
delete in interface IPrincipalDao
Throws:
DaoException
PortalException

update

public void update(PrincipalConfig principal,
                   ITransaction transaction)
            throws DaoException,
                   PortalException
Description copied from interface: IPrincipalDao
Updates a principal

Specified by:
update in interface IPrincipalDao
Throws:
DaoException
PortalException

get

public PrincipalConfig get(String principalId,
                           ITransaction transaction)
                    throws DaoException,
                           PortalException
Description copied from interface: IPrincipalDao
Get the principal.

Specified by:
get in interface IPrincipalDao
Returns:
Throws:
DaoException
PortalException

getByShortId

public PrincipalConfig getByShortId(String shortId,
                                    ITransaction transaction)
                             throws DaoException,
                                    PortalException
Description copied from interface: IPrincipalDao
Get the principal by his's short Id

Specified by:
getByShortId in interface IPrincipalDao
Returns:
Throws:
DaoException
PortalException


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.