This project has retired. For details please refer to its
Attic page.
PortletUtils (Jetspeed 1 Enterprise Portal 1.6 API)
org.apache.jetspeed.util
Class PortletUtils
java.lang.Object
org.apache.jetspeed.util.PortletUtils
- public class PortletUtils
- extends java.lang.Object
This class provides static util methods for portlet manipulation that
aren't part of the default services.
- Version:
- $Id: PortletUtils.java,v 1.4 2004/02/23 03:23:42 jford Exp $
- Author:
- Mark Orciuch
Method Summary |
static boolean |
canAccessProfile(org.apache.turbine.util.RunData rundata,
Profile profile)
Returns true if specific profile is accessible by the current user |
static void |
regenerateIds(Portlets topPortlets)
Regenerates jspeid for all portlets, entries and references |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortletUtils
public PortletUtils()
regenerateIds
public static void regenerateIds(Portlets topPortlets)
throws java.lang.Exception
- Regenerates jspeid for all portlets, entries and references
- Returns:
- Profile with portlet ids regenerated
- Throws:
java.lang.Exception
canAccessProfile
public static boolean canAccessProfile(org.apache.turbine.util.RunData rundata,
Profile profile)
- Returns true if specific profile is accessible by the current user
- Parameters:
profile
-
- Returns:
Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.