|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.wewebu.ow.server.ecmimpl.OwStandardReason
public class OwStandardReason
Standard/Default implementation of a OwReason object.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
| Field Summary | |
|---|---|
static OwStandardReason |
ALLOWED
Default instance for allow with empty reason description |
| Fields inherited from interface com.wewebu.ow.server.ecm.OwReason |
|---|
EMPTY_REASON_DESCRIPTION |
| Constructor Summary | |
|---|---|
OwStandardReason(boolean isAllowed_p,
String description_p)
|
|
| Method Summary | |
|---|---|
String |
getReasonDescription()
String message why it is denied/allowed. |
boolean |
isAllowed()
Return status if it is allowed or not. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final OwStandardReason ALLOWED
| Constructor Detail |
|---|
public OwStandardReason(boolean isAllowed_p,
String description_p)
| Method Detail |
|---|
public String getReasonDescription()
OwReasonAttention should not return null
use OwReason.EMPTY_REASON_DESCRIPTION instead as return
value.
getReasonDescription in interface OwReasonpublic boolean isAllowed()
OwReason
isAllowed in interface OwReason
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||