01: /* Copyright 2002 The JA-SIG Collaborative. All rights reserved.
02: * See license distributed with this file and
03: * available online at http://www.uportal.org/license.html
04: */
05:
06: package org.jasig.portal.layout.restrictions.alm;
07:
08: import org.jasig.portal.PortalException;
09: import org.jasig.portal.layout.alm.ALNode;
10: import org.jasig.portal.layout.restrictions.IRestrictionManager;
11:
12: /**
13: * The AL Restriction Manager Interface.
14: *
15: * @author <a href="mailto:mvi@immagic.com">Michael Ivanov</a>
16: * @version $Revision: 35731 $
17: * @since uPortal 2.5
18: */
19: public interface IALRestrictionManager extends IRestrictionManager {
20:
21: /**
22: * Checks the restriction specified by the parameters below.
23: * @param node a <code>ALNode</code> node to be checked
24: * @param restrictionName a restriction name
25: * @param restrictionPath a <code>String</code> restriction path
26: * @param propertyValue a <code>String</code> property value to be checked
27: * @return a boolean value
28: * @exception PortalException if an error occurs
29: */
30: public boolean checkRestriction(ALNode node,
31: String restrictionName, String restrictionPath,
32: String propertyValue) throws PortalException;
33:
34: /**
35: * Checks the local restriction specified by the parameters below.
36: * @param node a <code>ALNode</code> node to be checked
37: * @param restrictionName a restriction name
38: * @param propertyValue a <code>String</code> property value to be checked
39: * @return a boolean value
40: * @exception PortalException if an error occurs
41: */
42: public boolean checkRestriction(ALNode node,
43: String restrictionName, String propertyValue)
44: throws PortalException;
45:
46: }
|