org.jasig.portal.layout.restrictions.alm
Class ALRestriction

java.lang.Object
  extended by org.jasig.portal.layout.restrictions.UserLayoutRestriction
      extended by org.jasig.portal.layout.restrictions.alm.ALRestriction
All Implemented Interfaces:
IUserLayoutRestriction
Direct Known Subclasses:
BooleanRestriction, DepthRestriction, GroupRestriction, PriorityRestriction

public abstract class ALRestriction
extends UserLayoutRestriction

The generic aggregated layout restriction class.

Since:
uPortal 2.5
Version:
$Revision: 1.1 $ $Date: 2005/05/03 20:46:02 $
Author:
Michael Ivanov

Field Summary
 
Fields inherited from class org.jasig.portal.layout.restrictions.UserLayoutRestriction
nodePath
 
Fields inherited from interface org.jasig.portal.layout.restrictions.IUserLayoutRestriction
CHILDREN_RESTRICTION_PATH, LOCAL_RESTRICTION_PATH, PARENT_RESTRICTION_PATH
 
Constructor Summary
ALRestriction()
           
ALRestriction(java.lang.String name)
           
ALRestriction(java.lang.String name, java.lang.String nodePath)
           
 
Method Summary
 boolean checkRestriction(IAggregatedLayout layout, java.lang.String nodeId)
          Checks the restriction on a node for a given user layout and node ID
 
Methods inherited from class org.jasig.portal.layout.restrictions.UserLayoutRestriction
checkRestriction, checkRestriction, getName, getRestrictionExpression, getRestrictionPath, getUniqueKey, getUniqueKey, getUniqueKey, parseRestrictionExpression, setName, setRestrictionExpression, setRestrictionPath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ALRestriction

public ALRestriction()

ALRestriction

public ALRestriction(java.lang.String name)

ALRestriction

public ALRestriction(java.lang.String name,
                     java.lang.String nodePath)
Method Detail

checkRestriction

public boolean checkRestriction(IAggregatedLayout layout,
                                java.lang.String nodeId)
                         throws PortalException
Checks the restriction on a node for a given user layout and node ID

Parameters:
layout - a IAggregatedLayout layout
nodeId - a String node ID
Returns:
a boolean value
Throws:
PortalException