public class VCUtilObject
extends jp.co.intra_mart.system.javascript.IdScriptableObject
| コンストラクタと説明 |
|---|
VCUtilObject() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
static String |
ensureDateWithTime(String value)
日付文字列に時刻が含まれているかどうかを判定し、時刻がない場合は 00:00:00.000 を補完します。
|
static boolean |
existsResource(Object value)
リソースが存在しているかを判定します。
|
static String |
formatDateByColumnType(Object jsdate,
Object jscolumnType,
Object jstimezoneId,
Object jspattern)
列の型に応じて、適切なタイムゾーン変換を行い、指定されたフォーマットで日付文字列を返します。
|
String |
getClassName()
Return the name of the class.
|
static boolean |
isDataViewResourceGroupAllowed()
リソースグループ:vc-dataviewが許可されているかを判定します。
|
static boolean |
isListViewExcelExportEnabled()
リスト集計のExcel出力機能が有効かどうかを判定します。
|
static boolean |
isManager()
管理者権限を保持しているかを判定します。
|
static void |
setManager(Object jsmanager)
一時的な管理者権限を付与もしくは削除します。
|
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, setInstanceIdValueapplyDescriptorToAttributeBitset, 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@JSStaticFunction public static String ensureDateWithTime(String value)
value - String 日付文字列@JSStaticFunction public static boolean existsResource(Object value)
resourceUri - String リソースURI@JSStaticFunction public static boolean isDataViewResourceGroupAllowed()
@JSStaticFunction public static boolean isManager()
@JSStaticFunction public static void setManager(Object jsmanager)
trueがセットされると、API経由で管理者と同様にデータの取得・更新・削除が可能になります。jsmanager - Boolean 管理者権限を付与する場合は true、管理者権限を削除する場合は false@JSStaticFunction public static String formatDateByColumnType(Object jsdate, Object jscolumnType, Object jstimezoneId, Object jspattern)
jsdate - Date フォーマットする日付/時刻値jscolumnType - Number 列の型(Column.TYPE_DATE=3, TYPE_TIMESTAMP=4, TYPE_TIMESTAMP_TO_DATE=7)jstimezoneId - String タイムゾーンID(例: "Asia/Tokyo", "UTC")jspattern - String フォーマット・パターン(nullの場合はISO 8601形式)@JSStaticFunction public static boolean isListViewExcelExportEnabled()
設定ファイルの <list-view enable="true"> 属性により制御されます。
設定ロード失敗時は false を返します。
public String getClassName()
jp.co.intra_mart.system.javascript.ScriptableObjectgetClassName インタフェース内 jp.co.intra_mart.system.javascript.ScriptablegetClassName クラス内 jp.co.intra_mart.system.javascript.ScriptableObjectCopyright © 2012 NTT DATA INTRAMART CORPORATION