public class VCQueryPermissionObject
extends jp.co.intra_mart.system.javascript.IdScriptableObject
コンストラクタと説明 |
---|
VCQueryPermissionObject()
コンストラクタ
|
VCQueryPermissionObject(VCQueryPermission permission,
jp.co.intra_mart.system.javascript.Scriptable scope)
コンストラクタ
|
修飾子とタイプ | メソッドと説明 |
---|---|
Object |
canCreateView()
クエリ編集画面で物理View作成権限を持っているかどうかを調べます。
|
Object |
canInputWhereSql()
クエリ編集画面でWHERE句の直接入力許可権限を持っているかどうかを調べます。
|
String |
getClassName()
Return the name of the class.
|
Object |
getPermittedQueryCodes()
カレントユーザがアクセスを許可されているクエリコードの一覧を返却します。
|
Object |
getPermittedTableNames(Object jsdbSource)
カレントユーザがアクセスを許可されているテーブルの一覧を返却します。
|
Object |
getPermittedViewNames(String jsdbSource)
カレントユーザがアクセスを許可されているビューの一覧を返却します。
|
Object |
isManager()
カレントユーザがViewCreatorの管理者権限を持つかどうかを調べます。
|
static Object |
jsConstructor(jp.co.intra_mart.system.javascript.Context cx,
Object[] args,
jp.co.intra_mart.system.javascript.Function ctorObj,
boolean inNewExpr)
クエリ権限判定オブジェクトを生成します。
|
activatePrototypeMap, addIdFunctionProperty, defaultGet, defaultPut, defineOwnProperty, delete, execIdCall, exportAsJSClass, fillConstructorProperties, findInstanceIdInfo, findPrototypeId, get, getAttributes, getInstanceIdName, getInstanceIdValue, getMaxInstanceId, getOwnPropertyDescriptor, has, hasPrototypeMap, incompatibleCallError, initPrototypeConstructor, initPrototypeId, initPrototypeMethod, initPrototypeValue, instanceIdInfo, put, setAttributes, setInstanceIdAttributes, setInstanceIdValue
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, equivalentValues, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, hasInstance, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototype, size, toDate
public VCQueryPermissionObject()
public VCQueryPermissionObject(VCQueryPermission permission, jp.co.intra_mart.system.javascript.Scriptable scope)
permission
- VCQueryPermission クエリ権限判定インスタンスscope
- Scriptable スコープ@JSConstructor public static Object jsConstructor(jp.co.intra_mart.system.javascript.Context cx, Object[] args, jp.co.intra_mart.system.javascript.Function ctorObj, boolean inNewExpr)
cx
- Context コンテキストのインスタンスargs
- Object[] コンストラクタに指定された引数の配列ctorObj
- Function 関数オブジェクトのインスタンスinNewExpr
- boolean newでインスタンスが作成された場合は true
、それ以外は false
@JSFunction public Object canCreateView()
true
、保持していない場合は false
を返却します。@JSFunction public Object canInputWhereSql()
true
、保持していない場合は false
を返却します。public String getClassName()
jp.co.intra_mart.system.javascript.ScriptableObject
getClassName
インタフェース内 jp.co.intra_mart.system.javascript.Scriptable
getClassName
クラス内 jp.co.intra_mart.system.javascript.ScriptableObject
@JSFunction public Object getPermittedQueryCodes()
@JSFunction public Object getPermittedTableNames(Object jsdbSource)
jsdbSource
- String データベース接続ID@JSFunction public Object getPermittedViewNames(String jsdbSource)
jsdbSource
- String データベース接続ID@JSFunction public Object isManager()
true
、保持していない場合は false
を返却します。Copyright © 2012 NTT DATA INTRAMART CORPORATION