public class JSFieldManager extends JSBaseScriptableObject
Constructor and Description |
---|
JSFieldManager() |
Modifier and Type | Method and Description |
---|---|
boolean |
(JavaScript Function) canEdit(java.lang.String theFieldId,
int theEditLevel)
Returns true if the field is editable at the specified edit level, otherwise returns false.
|
boolean |
(JavaScript Function) canView(java.lang.String theFieldId,
int theViewLevel)
Returns true if the field is viewable at the specified view level, otherwise returns false.
|
PropertyWrapper[] |
(JavaScript Function) getAllFields()
Get all fields from all schemas.
|
java.lang.String |
(JavaScript Function) getColumn(java.lang.String theFieldSpec)
Gets db column name of the specified field
|
java.lang.String |
(JavaScript Function) getContainerTableName(java.lang.String theFieldSpec)
Get the name of the table the container field places its values in
|
PropertyWrapper[] |
(JavaScript Function) getFields(java.lang.String theURI)
Get fields in the schema with the given URI.
|
boolean |
(JavaScript Function) isContainer(PropertyWrapper theProperty)
Is the field a container field?
|
boolean |
(JavaScript Function) isEditable(java.lang.String theFieldId,
int theAssetId,
int theGroupId)
Returns true if the field is editable at the specified group and in the specified asset, otherwise returns false.
|
boolean |
(JavaScript Function) isHierarchical(PropertyWrapper theProperty)
Is the field a hierarchy field?
|
void |
(JavaScript Function) updateDictionary(java.lang.String theFieldId,
java.lang.String theDictionaryName)
Updates the dictionary for the given field.
|
void |
(JavaScript Function) updateValidator(java.lang.String theFieldId,
java.lang.String theValidator)
Updates the validator for the given field.
|
void |
(JavaScript Function) updateXmpPanels(java.lang.String theFieldId,
java.lang.String theDictionaryName)
Updates xmp panels for a given field.
|
associateValue, avoidObjectDetection, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, get, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassName, getClassPrototype, getDefaultValue, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, hasInstance, hasProperty, hasProperty, isConst, isEmpty, isExtensible, isSealed, preventExtensions, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setExternalArrayData, setGetterOrSetter, setParentScope, setPrototype, size
public java.lang.String (JavaScript Function) getColumn(java.lang.String theFieldSpec)
theFieldSpec
- the field namepublic java.lang.String (JavaScript Function) getContainerTableName(java.lang.String theFieldSpec)
theFieldSpec
- field idpublic PropertyWrapper[] (JavaScript Function) getFields(java.lang.String theURI)
theURI
- The URI.public PropertyWrapper[] (JavaScript Function) getAllFields()
public boolean (JavaScript Function) isContainer(PropertyWrapper theProperty)
theProperty
- public boolean (JavaScript Function) isHierarchical(PropertyWrapper theProperty)
theProperty
- public boolean (JavaScript Function) canView(java.lang.String theFieldId, int theViewLevel)
theFieldId
- the field id.theViewLevel
- the view level.public boolean (JavaScript Function) canEdit(java.lang.String theFieldId, int theEditLevel)
theFieldId
- the field id.theEditLevel
- the edit level.public boolean (JavaScript Function) isEditable(java.lang.String theFieldId, int theAssetId, int theGroupId)
theFieldId
- the field id.theAssetId
- the asset id.theGroupId
- the group id.true
if the field is editable, false
otherwise.public void (JavaScript Function) updateValidator(java.lang.String theFieldId, java.lang.String theValidator)
theFieldId
- the field idtheValidator
- the validatorpublic void (JavaScript Function) updateDictionary(java.lang.String theFieldId, java.lang.String theDictionaryName)
theFieldId
- the field idtheDictionaryName
- the dictionary namepublic void (JavaScript Function) updateXmpPanels(java.lang.String theFieldId, java.lang.String theDictionaryName)
theFieldId
- the field idtheDictionaryName
- the dictionary nameCopyright © 2017 MediaBeacon, Inc. All Rights Reserved.