com.caucho.portal.generic
Class Constraint
java.lang.Object
com.caucho.portal.generic.Constraint
public abstract class Constraint
- extends java.lang.Object
|
Field Summary |
static int |
SC_EXCLUDE
Return value for check(), indicates that the request cannot proceed
for the current portlet but other portlets can continue to be
processed. |
static int |
SC_FAIL
Return value for check(), indicates that the request cannot proceed
for the current portlet. |
static int |
SC_FORBIDDEN
Return value for check(), indicates that the client is not authorized
for the current portlet. |
static int |
SC_PASS
Return value for check(), indicates that the request can proceed |
|
Method Summary |
abstract int |
check(PortletRequest request,
PortletResponse response)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SC_PASS
public static final int SC_PASS
- Return value for check(), indicates that the request can proceed
- See Also:
- Constant Field Values
SC_EXCLUDE
public static final int SC_EXCLUDE
- Return value for check(), indicates that the request cannot proceed
for the current portlet but other portlets can continue to be
processed.
- See Also:
- Constant Field Values
SC_FAIL
public static final int SC_FAIL
- Return value for check(), indicates that the request cannot proceed
for the current portlet. The constraint is passed to
Window#handleConstraint(ConstraintFailureEvent).
- See Also:
- Constant Field Values
SC_FORBIDDEN
public static final int SC_FORBIDDEN
- Return value for check(), indicates that the client is not authorized
for the current portlet. The constraint is passed to
Window#handleConstraint(ConstraintFailureEvent).
- See Also:
- Constant Field Values
Constraint
public Constraint()
check
public abstract int check(PortletRequest request,
PortletResponse response)