org.apache.jetspeed.util
Class PortletUtils

java.lang.Object
  extended byorg.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

Constructor Summary
PortletUtils()
           
 
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
 

Constructor Detail

PortletUtils

public PortletUtils()
Method Detail

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.