lumis.portal.principal
Interface IPrincipalManager

Package class diagram package IPrincipalManager
All Superinterfaces:
IConfigKeyChecker
All Known Implementing Classes:
PrincipalManager

@StableMinor(version="4.1",
             sinceVersion="4.0")
public interface IPrincipalManager
extends IConfigKeyChecker

Manage Principals.

Since:
4.0.6

Method Summary
 void add(SessionConfig sessionConfig, PrincipalConfig principal, ITransaction transaction)
          Add a Principal.
 void delete(SessionConfig sessionConfig, String principalId, ITransaction transaction)
          Remove a Principal.
 PrincipalConfig get(SessionConfig sessionConfig, String principalId, ITransaction transaction)
          Get the Principal.
 PrincipalConfig getByShortId(SessionConfig sessionConfig, String shortId, ITransaction transaction)
          Get the Principal given the shortId.
 void update(SessionConfig sessionConfig, PrincipalConfig principal, ITransaction transaction)
          Update a Principal.
 
Methods inherited from interface lumis.portal.serialization.operation.IConfigKeyChecker
keyExists
 

Method Detail

get

PrincipalConfig get(SessionConfig sessionConfig,
                    String principalId,
                    ITransaction transaction)
                    throws PortalException
Get the Principal.

Parameters:
sessionConfig -
principalId -
transaction -
Returns:
a PrincipalConfig.
Throws:
PortalException

getByShortId

PrincipalConfig getByShortId(SessionConfig sessionConfig,
                             String shortId,
                             ITransaction transaction)
                             throws PortalException
Get the Principal given the shortId.

Parameters:
sessionConfig -
shortId -
transaction -
Returns:
a PrincipalConfig.
Throws:
PortalException

add

void add(SessionConfig sessionConfig,
         PrincipalConfig principal,
         ITransaction transaction)
         throws PortalException
Add a Principal.

Parameters:
sessionConfig -
principal -
transaction -
Throws:
PortalException

update

void update(SessionConfig sessionConfig,
            PrincipalConfig principal,
            ITransaction transaction)
            throws PortalException
Update a Principal.

Parameters:
sessionConfig -
principal -
transaction -
Throws:
PortalException

delete

void delete(SessionConfig sessionConfig,
            String principalId,
            ITransaction transaction)
            throws PortalException
Remove a Principal.

Parameters:
sessionConfig -
principalId -
transaction -
Throws:
PortalException


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