public class Allow
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
ROOT_PATH |
限定符和类型 | 方法和说明 |
---|---|
int |
allowDesign(java.lang.String path) |
int |
allowExcelSubmit(java.lang.String path) |
int |
allowFileFolderDesign(java.lang.String path) |
int |
allowFileFolderForm(java.lang.String path) |
int |
allowFileFolderView(java.lang.String path) |
int |
allowFileFolderWrite(java.lang.String path) |
int |
allowForm(java.lang.String path) |
int |
allowView(java.lang.String path) |
int |
allowWrite(java.lang.String path) |
static Allocation |
getAllocation(java.lang.String roleName) |
public static final java.lang.String ROOT_PATH
public Allow()
public Allow(java.lang.String roleName)
public Allow(java.lang.String[] roleNames)
public static Allocation getAllocation(java.lang.String roleName)
public int allowView(java.lang.String path) throws JSONException
JSONException
public int allowFileFolderView(java.lang.String path) throws JSONException
JSONException
public int allowWrite(java.lang.String path) throws JSONException
JSONException
public int allowFileFolderWrite(java.lang.String path) throws JSONException
JSONException
public int allowDesign(java.lang.String path) throws JSONException
JSONException
public int allowFileFolderDesign(java.lang.String path) throws JSONException
JSONException
public int allowForm(java.lang.String path) throws JSONException
JSONException
public int allowFileFolderForm(java.lang.String path) throws JSONException
JSONException
public int allowExcelSubmit(java.lang.String path) throws JSONException
JSONException