com.fatwire.cs.ui.authorization
Interface UIAccess
public interface UIAccess
This interface will be used as a gateway to manage authorization inside Alloy UI.
Method Summary |
boolean |
isPermitted(java.lang.String username,
AssetId assetId,
long pubId,
java.lang.String function,
java.util.ArrayList messages,
boolean skipAfterOneMessage)
is Access allowed for specifed function |
isPermitted
boolean isPermitted(java.lang.String username,
AssetId assetId,
long pubId,
java.lang.String function,
java.util.ArrayList messages,
boolean skipAfterOneMessage)
- is Access allowed for specifed function
- Parameters:
username
- User nameassetId
- AssetId
instance contains Asset Type and Asset IdpubId
- Publication Idfunction
- Function Name, It can be null if this class is not used for any other functionmessages
- ArrayList to be populated to store access failure messages, It can be null if no need to populate access failure messagesskipAfterOneMessage
- true
If you want to skip after one failure message; false
otherwise.
- Returns:
true
if the Access is allowed for specifed function;
false
otherwise.
Copyright (c) 2003 - 2011 FatWire Corporation All Rights Reserved.