uPortal 2.4.1
API Documentation

org.jasig.portal.layout.restrictions
Class UnremovableRestriction

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

public class UnremovableRestriction
extends BooleanRestriction

UnremovableRestriction checks the restriction on the "unremovable" 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
UnremovableRestriction(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

UnremovableRestriction

public UnremovableRestriction(java.lang.String nodePath)
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