public class OwStandardReason extends Object implements OwReason
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
Modifier and Type | Field and Description |
---|---|
static OwStandardReason |
ALLOWED
Default instance for allow with empty reason description
|
EMPTY_REASON_DESCRIPTION
Constructor and Description |
---|
OwStandardReason(boolean isAllowed_p,
String description_p) |
Modifier and Type | Method and Description |
---|---|
String |
getReasonDescription()
String message why it is denied/allowed.
|
boolean |
isAllowed()
Return status if it is allowed or not.
|
public static final OwStandardReason ALLOWED
public OwStandardReason(boolean isAllowed_p, String description_p)
public String getReasonDescription()
OwReason
Attention should not return null
use OwReason.EMPTY_REASON_DESCRIPTION
instead as return
value.
getReasonDescription
in interface OwReason
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.