Package | Description |
---|---|
com.fatwire.assetapi.site |
Modifier and Type | Method and Description |
---|---|
static Permission.AssetSafeFunctionEnum |
Permission.AssetSafeFunctionEnum.fromString(String value) |
Permission.AssetSafeFunctionEnum |
SAFEPermission.getFunction() |
static Permission.AssetSafeFunctionEnum |
Permission.AssetSafeFunctionEnum.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Permission.AssetSafeFunctionEnum[] |
Permission.AssetSafeFunctionEnum.values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
boolean |
PermissionManager.isSAFEPermissionGranted(String site, AssetId asset, String user, Permission.AssetSafeFunctionEnum function)
Checks whether the user has SAFE permission for the given asset in the given site
|
boolean |
Permission.isSAFEPermissionGranted(String site, AssetId asset, String user, Permission.AssetSafeFunctionEnum function)
Checks whether the user has SAFE permission for the given asset in the given site
|
void |
Permission.setSAFEPermission(String site, AssetId asset, String user, Permission.AssetSafeFunctionEnum function, boolean grant)
Set the user's SAFE permission for the given site, asset, and function
|