uPortal 2.4.1
API Documentation

org.jasig.portal.layout.restrictions
Class HiddenRestriction

java.lang.Object
  extended byorg.jasig.portal.layout.restrictions.UserLayoutRestriction
      extended byorg.jasig.portal.layout.restrictions.BooleanRestriction
          extended byorg.jasig.portal.layout.restrictions.HiddenRestriction
All Implemented Interfaces:
IUserLayoutRestriction

public class HiddenRestriction
extends BooleanRestriction

HiddenRestriction checks the restriction on the "hidden" property for a given ALNode object.

Version:
$Revision: 1.6 $
Author:
Michael Ivanov

Field Summary
 
Fields inherited from class org.jasig.portal.layout.restrictions.UserLayoutRestriction
LOCAL_RESTRICTION
 
Constructor Summary
HiddenRestriction()
           
HiddenRestriction(java.lang.String nodePath)
           
 
Method Summary
 int getRestrictionType()
          Returns the type of the current restriction
 
Methods inherited from class org.jasig.portal.layout.restrictions.BooleanRestriction
checkRestriction, checkRestriction
 
Methods inherited from class org.jasig.portal.layout.restrictions.UserLayoutRestriction
getRestrictionExpression, getRestrictionName, getRestrictionName, getRestrictionPath, setRestrictionExpression
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HiddenRestriction

public HiddenRestriction(java.lang.String nodePath)

HiddenRestriction

public HiddenRestriction()
Method Detail

getRestrictionType

public int getRestrictionType()
Returns the type of the current restriction

Specified by:
getRestrictionType in interface IUserLayoutRestriction
Overrides:
getRestrictionType in class UserLayoutRestriction
Returns:
a restriction type respresented in the RestrictionTypes interface

uPortal 2.4.1
API Documentation