lumis.portal.principal
Interface IPrincipalDao

Package class diagram package IPrincipalDao
All Known Implementing Classes:
PrincipalDaoJdbc

public interface IPrincipalDao


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
 

Method Detail

add

void add(PrincipalConfig principal,
         ITransaction transaction)
         throws DaoException,
                PortalException
Adds a new principal

Parameters:
principal -
transaction -
Throws:
DaoException
PortalException

delete

void delete(String principalId,
            ITransaction transaction)
            throws DaoException,
                   PortalException
Delets a principal

Parameters:
principalId -
transaction -
Throws:
DaoException
PortalException

update

void update(PrincipalConfig principal,
            ITransaction transaction)
            throws DaoException,
                   PortalException
Updates a principal

Parameters:
principal -
transaction -
Throws:
DaoException
PortalException

get

PrincipalConfig get(String principalId,
                    ITransaction transaction)
                    throws DaoException,
                           PortalException
Get the principal.

Parameters:
principalId -
transaction -
Returns:
Throws:
DaoException
PortalException

getByShortId

PrincipalConfig getByShortId(String shortId,
                             ITransaction transaction)
                             throws DaoException,
                                    PortalException
Get the principal by his's short Id

Parameters:
shortId -
transaction -
Returns:
Throws:
DaoException
PortalException


Lumisportal  4.1.0.071221 - Copyright © 2001-2007, Lumis. All Rights Reserved.