*
* @return an <code>IRestrictionManager</code> value
*/
public static IRestrictionManager getRestrictionManager(IUserLayout layout) throws PortalException {
try {
IRestrictionManager restrictionManager = (IRestrictionManager) restrictionManagerClass.newInstance();
restrictionManager.setUserLayout(layout);
return restrictionManager;
} catch (Exception e) {
throw new PortalException("Unable to instantiate a \""+restrictionManagerClass.getName()+"\"",e);
}
}