public interface OwReason
Base interface for reason object. Interface with the possibility to add a description why something is allowed or denied.
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 String |
EMPTY_REASON_DESCRIPTION
Empty String which should be used as return value if no description exist.
|
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.
|
static final String EMPTY_REASON_DESCRIPTION
boolean isAllowed()
String getReasonDescription()
Attention should not return null
use EMPTY_REASON_DESCRIPTION
instead as return
value.
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.