org.jasig.portal.layout
Class UserLayoutManagerFactory
java.lang.Object
org.jasig.portal.layout.UserLayoutManagerFactory
public class UserLayoutManagerFactory
- extends java.lang.Object
A factory class for obtaining IUserLayoutManager
implementations.
- Version:
- 1.0
- Author:
- Peter Kharchenko
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
private static final org.apache.commons.logging.Log LOG
coreUserLayoutManagerImpl
private static java.lang.Class coreUserLayoutManagerImpl
UserLayoutManagerFactory
public UserLayoutManagerFactory()
getUserLayoutManager
public static IUserLayoutManager getUserLayoutManager(IPerson person,
UserProfile profile)
throws PortalException
- Obtain a regular user layout manager implementation
- Returns:
- an
IUserLayoutManager
value
- Throws:
PortalException
immutableUserLayoutManager
public static IUserLayoutManager immutableUserLayoutManager(IUserLayoutManager man)
throws PortalException
- Returns an immutable version of a user layout manager.
- Parameters:
man
- an IUserLayoutManager
value
- Returns:
- an immutable
IUserLayoutManager
value
- Throws:
PortalException
- if an error occurs