public class CustomAttributeImpl extends AttributeImpl implements CustomAttribute
| Modifier and Type | Class and Description |
|---|---|
static class |
BaseObject.ChildAlreadyExists |
protected static interface |
BaseObject.Manager |
protected static class |
BaseObject.Matcher |
protected static class |
BaseObject.STATE |
protected static class |
BaseObject.UnsupportedRestOperationException |
AttributeImpl.OtherFieldsCustomAttribute.DynamicChoiceListDataFilterTypeADDL_LIST_DISPLAY_FIELDS, ADDL_LIST_SEARCH_FIELDS, API_NAME, BODY, CHILD_LOOKUP_CODES, DATA_FILTERS, DATETIME_DISPLAY_TYPE, DECIMAL_PLACES, DEFAULT_VALUE, DEFINITION, DEPENDENCY_FIELDS, DESCRIPTION, DISPLAY_HEIGHT, DISPLAY_LABEL, DISPLAY_LABEL_PLURAL, DISPLAY_SEQUENCE, DISPLAY_WIDTH, ENABLED, END_DATE_ACTIVE, ERROR_MESSAGE, EXAMPLE, EXPRESSION, FIELDS, FORMULA_TYPE, FULL_NAME, FUNCTION_ID, FUNCTIONS, GLOBAL_FUNCTIONS, HELP_TEXT, ID, INDEXED, IS_CUSTOM, IS_MULTISELECT_PICKLIST, LIST_DISPLAY_FIELD, LIST_OBJECT, LOOKUP_CODE, LOOKUP_TYPE, LOOKUP_TYPES, LOOKUPS, MATCH_CASE, MAX_LENGTH, MAX_VALUE, MEANING, MIN_LENGTH, MIN_VALUE, NAME, OBJECTS, OPERATOR, PARAMETERS, PARENT_BUSINESS_OBJECT, PARENT_LOOKUP_CODE, PARENT_PICKLIST, PICKLIST_LOOKUP_TYPE, PRIVILEGE, PUBLISHED_AS_REST, RECORD_NAME_LABEL, REQUIRED, REQUIRED_EXPRESSION, RETURN_TYPE, SEARCH_FIELD_API_NAME, SETID, SORT_BY, SORT_BY_ASCENDING, START_DATE_ACTIVE, TRIGGERS, TYPE, UPDATABLE, UPDATABLE_EXPRESSION, VALIDATORS, VALUE_MAP, VALUE1, VALUE2, VISIBILITY_PROPERTY| Constructor and Description |
|---|
CustomAttributeImpl(BusinessObjectImpl owner,
org.codehaus.jettison.json.JSONObject attr) |
| Modifier and Type | Method and Description |
|---|---|
void |
activate()
Activate an attribute
|
oracle.adf.businesseditor.model.views.BindVarExprData |
addBindVarExpr(java.lang.String varName,
java.lang.String expression,
java.lang.String varType)
Applicable only for DCL attribute using expression criteria filter
Adds a bind variable as advanced Data Filter parameter for a Dynamic
Choice List.
|
DataFilter |
addDataFilter(Attribute attr,
ComparisonOperator operator,
java.lang.Object[] values)
Add a data filter to further refine the set of data appearing within
the list of value used by dynamic choice list.
|
DataFilter |
addDataFilter(Attribute attr,
java.lang.String operator,
java.lang.Object[] values)
Add a data filter to further refine the set of data appearing within
the list of value used by dynamic choice list.
|
void |
addDisplayAttribute(Attribute attr)
Adds an attribute to be included in the List of Values window for
context.
|
void |
addSearchAttribute(Attribute attr)
Adds an attribute to be included as search criteria in addition to the
selection display value.
|
protected org.codehaus.jettison.json.JSONObject |
convertToJSON(java.lang.Object... attrNameAndValues) |
protected <T> T |
createChild(java.lang.String accessorName,
java.lang.Class<T> type,
org.codehaus.jettison.json.JSONObject obj) |
protected void |
deleteChild(BaseObject.Matcher matcher) |
protected void |
deleteChild(java.lang.String accessorName,
java.lang.String childName) |
void |
deprecate()
Deprecate an attribute
|
void |
doCreateNewChildren() |
void |
doDeleteChildren() |
void |
doSetAttributes() |
boolean |
equals(java.lang.Object obj) |
protected <T> T |
findChild(java.lang.Class<T> type,
BaseObject.Matcher matcher) |
protected <T> T |
findChild(java.lang.String accessorName,
java.lang.String childName,
java.lang.Class<T> type) |
protected <T> java.util.List<T> |
findChildren(java.lang.Class<T> type,
BaseObject.Matcher matcher)
Find all children objects matching the given Matcher.
|
java.lang.String |
getApiName()
Returns the API name of the custom attribte.
|
protected java.lang.Object |
getAttribute(java.lang.String attrName) |
protected java.lang.Object |
getAttribute(java.lang.String attrName,
java.lang.Object defaultValue)
Get the attribute value for the given attribute name.
|
java.util.List<oracle.adf.businesseditor.model.views.BindVarExprData> |
getBindVarExprList()
Return list of bind variables that are used in Data Filter advanced mode
expression to refine the set of data appearing within the list of value
used by dynamic choice list (DCL).
|
protected <T> java.util.Collection<T> |
getChildren(java.lang.String accessorName,
java.lang.Class<T> type) |
protected java.util.List<oracle.adfinternal.businesseditor.restapi.BaseObject> |
getChildrenDeleted(BaseObject.Matcher childMatcher) |
protected org.codehaus.jettison.json.JSONArray |
getChildrenJSON(java.lang.String accessorName)
Get all children of a given type defined by accessorName.
|
protected java.util.List<oracle.adfinternal.businesseditor.restapi.BaseObject> |
getChildrenNew(BaseObject.Matcher childMatcher) |
java.util.List<DataFilter> |
getDataFilters()
Return list of data filter that are used to refine the set of data
appearing within the list of value used by dynamic choice list.
|
DatetimeDisplayType |
getDatetimeDisplayType()
Returns the display type of this attribute.
|
int |
getDecimalPlace()
Returns the decimal place of this attribute
|
java.lang.String |
getDefaultValue()
Returns the default value of this attribute.
|
java.lang.String |
getDescription() |
java.util.List<Attribute> |
getDisplayAttributes()
Returns list of display attributes that is included in the List of
Values window for context.
|
java.util.List<java.lang.String> |
getDisplayAttrs()
Returns list of display attributes that is included in the List of
Values window for context.
|
int |
getDisplayHeight()
Returns the display height of this attribute.
|
int |
getDisplayWidth()
Returns the display width of this attribute.
|
CustomAttribute.DynamicChoiceListDataFilterType |
getDynamicChoiceListDataFilterType()
Applicable only in expression criteria filter mode.
|
java.lang.String |
getExistingCriteriaName()
Applicable only in expression criteria filter mode.
|
java.lang.String |
getExpression()
Returns the expression of this attribute.
|
java.lang.String |
getExpressionCriteriaFilter()
Applicable only in expression criteria filter mode.
|
protected java.lang.String |
getFinderKey(java.lang.String accessorName)
Get the key whose value defines the resource name for this object in URL path
|
protected java.lang.String |
getInternalName()
Name that will represent the resource id for this object.
|
Attribute |
getListDisplayAttribute()
Retursn the list display attribute used by a dynamic choice list.
|
static java.lang.String |
getLocalizedString(java.lang.String key,
java.lang.Object... args) |
protected oracle.adfinternal.model.logging.contextual.logger.functional.FunctionalLogger |
getLogger() |
BaseObject.Matcher |
getMatcher()
Get a Matcher that is used to compare with another object.
|
int |
getMaxLength()
Returns the maximum length of this attribute.
|
java.math.BigDecimal |
getMaxValue()
Returns the maximum value of this attribute.
|
int |
getMinLength()
Returns the minimum length of this attribute.
|
java.math.BigDecimal |
getMinValue()
Returns the minimum value of this attribute.
|
java.lang.String |
getName() |
protected oracle.adfinternal.businesseditor.restapi.BaseObject |
getOwner()
Get the container object that contains this object.
|
protected java.lang.String[] |
getQueryKeys(java.lang.String accessorName)
Different types of objects use different names to find a child object.
|
java.lang.String |
getRequiredExpression()
Returns the expression that determine if this attribute is required.
|
java.util.List<Attribute> |
getSearchAttributes()
Return list of attributes that are included as search criteria in addition
to the selection display value.
|
java.util.List<java.lang.String> |
getSearchAttrs()
Return list of attributes that are included as search criteria in addition
to the selection display value.
|
protected BaseObject.STATE |
getState() |
boolean |
isCriteriaFilterIgnoreNullBindVarValues() |
boolean |
isDefaultValueExpression()
Returns if the default value of this attribute is an expression.
|
boolean |
isDeprecated()
Return if an attribute is deprecated
|
boolean |
isExpressionCriteriaFilter()
Applicable only for lookup type attribute
Returns true if Data Filter of a Dynamic Choice List uses an expression.
|
boolean |
isIncludedInServicePayload()
Returns if this attribute is included in the service payload
|
boolean |
isIndexed()
Returns if the attribute is indexed.
|
boolean |
isMultiselectFixedChoiceList()
Returns if this attribute is a multi-select fixed choice list.
|
boolean |
isNew() |
void |
removeDataFilter(DataFilter dataFilter)
Remove the data filter that is used to refine the set of data appearing
within the list of value used by dynamic choice list.
|
void |
removeDisplayAttr(Attribute attr)
Removes an attribute from being included in the List of Values window
for context.
|
void |
removeSearchAttr(Attribute attr)
Removes an attribute from being included as search criteria in addition
to the selection display value.
|
protected void |
setAttribute(java.lang.String attrName,
java.lang.Object value) |
void |
setCriteriaFilterIgnoreNullBindVarValues(boolean ignoreNullBindVarValues)
Applicable only in expression criteria filter mode.
|
void |
setDatetimeDisplayType(DatetimeDisplayType displayType)
Sets the display type of a Datetime attribute.
|
void |
setDecimalPlace(int value)
Sets the decimal place of this attribute.
|
void |
setDefaultValue(java.lang.String value)
Sets the default value of this attribute.
|
void |
setDescription(java.lang.String text) |
void |
setDisplayHeight(int value)
Sets the display height of this attribute.
|
void |
setDisplayWidth(int value)
Sets the display width of this attribute.
|
void |
setDynamicChoiceListDataFilterType(CustomAttribute.DynamicChoiceListDataFilterType type)
Sets the type of data filter the dynamic choice list field will use.
|
void |
setExistingCriteriaName(java.lang.String criteriaName)
Sets the existing criteria name for the data filter the dynamic choice
list field will use.
|
void |
setExpression(java.lang.String value)
Sets the expression of this attribute.
|
void |
setExpressionCriteriaFilter(java.lang.String criteriaExpression)
Applicable only in expression criteria filter mode.
|
void |
setFixedChoiceListLookupType(java.lang.String value)
Sets the lookup type of the fixed choice list attribute.
|
void |
setFormulaType(FormulaType formulaType)
Sets the type of data the expression will be setting as this attribute
value.
|
void |
setIncludedInServicePayload(boolean value)
Sets if this attribute is included in the service payload
|
void |
setIndexed(boolean value)
Sets if this attribute is indexed.
|
void |
setIsExpressionCriteriaFilter(boolean criteriaMode)
Applicable only for lookup type attribute.
|
void |
setListDisplayAttribute(Attribute dataSourceAttribute)
Sets the list display attribute to be used by a dynamic choice list.
|
protected void |
setLogger(oracle.adfinternal.model.logging.contextual.logger.functional.FunctionalLogger logger) |
void |
setMaxLength(int value)
Sets the maximum length of this attribute.
|
void |
setMaxValue(java.math.BigDecimal value)
Sets the maximum value of this attribute.
|
void |
setMinLength(int value)
Sets the minimum length of this attribute.
|
void |
setMinValue(java.math.BigDecimal value)
Sets the minimum value of this attribute.Throws JboException if minimum value cannot be set for the attribute type.
|
void |
setMultiselectFixedChoiceList(boolean value)
Sets if the attribute is a multi-select fixed choice list.
|
void |
setName(java.lang.String name)
Renames this object.
|
void |
setProperty(java.lang.String property,
java.lang.Object value)
Assign a value to a property for the attribute
|
void |
setRequiredExpression(java.lang.String value)
Sets the expression that determine if an attribute is required.
|
void |
setUpdateable(boolean value)
Sets if the attribute is updateable.
|
void |
undoChanges() |
protected void |
verifyObjectIsValid()
Verifies if object is valid.
|
addDependencyAttr, addOtherAttr, createTrigger, createTrigger, createValidator, deleteTrigger, deleteValidator, findTrigger, findValidator, getAccessorNameFromOwner, getBusinessObject, getCustomProperties, getCustomProperty, getDependencyAttributes, getDependencyAttrs, getDisplayLabel, getFixedChoiceListLookupType, getFixedChoiceListSetidEnabledValueMap, getFixedChoiceListValueMap, getFormulaType, getHelpText, getOtherAttributes, getOtherAttrs, getParentChoiceList, getTriggers, getType, getUpdateableExpression, getValidators, initChildObject, isRemovable, isRequired, isSearchable, isUpdateable, removeDependencyAttr, removeOtherAttr, setCustomProperty, setDisplayLabel, setHelpText, setParentChoiceList, setParentChoiceListWithSetIdLookup, setRequired, setSearchable, setUpdateableExpression, toApiNameclone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddDependencyAttr, createTrigger, createTrigger, createValidator, deleteTrigger, deleteValidator, findTrigger, findValidator, getBusinessObject, getCustomProperties, getCustomProperty, getDependencyAttributes, getDependencyAttrs, getDescription, getDisplayLabel, getFixedChoiceListLookupType, getFixedChoiceListSetidEnabledValueMap, getFixedChoiceListValueMap, getFormulaType, getHelpText, getName, getParentChoiceList, getTriggers, getType, getUpdateableExpression, getValidators, isRemovable, isRequired, isSearchable, isUpdateable, removeDependencyAttr, setCustomProperty, setDescription, setDisplayLabel, setHelpText, setParentChoiceList, setParentChoiceListWithSetIdLookup, setRequired, setSearchable, setUpdateableExpressionpublic CustomAttributeImpl(BusinessObjectImpl owner, org.codehaus.jettison.json.JSONObject attr) throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String getApiName()
CustomAttributegetApiName in interface CustomAttributepublic void setRequiredExpression(java.lang.String value)
AttributesetRequiredExpression in interface AttributesetRequiredExpression in interface CustomAttributesetRequiredExpression in class AttributeImplvalue - the expression to determine if an attribute is required.public java.lang.String getRequiredExpression()
AttributegetRequiredExpression in interface AttributegetRequiredExpression in interface CustomAttributegetRequiredExpression in class AttributeImplpublic void setDisplayWidth(int value)
CustomAttributesetDisplayWidth in interface CustomAttributevalue - this display widthpublic int getDisplayWidth()
CustomAttributegetDisplayWidth in interface CustomAttributepublic void setDisplayHeight(int value)
CustomAttributesetDisplayHeight in interface CustomAttributevalue - the display heightpublic int getDisplayHeight()
CustomAttributegetDisplayHeight in interface CustomAttributepublic void setUpdateable(boolean value)
CustomAttributesetUpdateable in interface CustomAttributevalue - if this attribute is updateablepublic void setIndexed(boolean value)
CustomAttributesetIndexed in interface CustomAttributevalue - if this attribute is indexedpublic boolean isIndexed()
CustomAttributeisIndexed in interface CustomAttributepublic void setMinLength(int value)
CustomAttributesetMinLength in interface CustomAttributevalue - the minimum lengthpublic int getMinLength()
CustomAttributegetMinLength in interface CustomAttributepublic void setMaxLength(int value)
CustomAttributesetMaxLength in interface CustomAttributevalue - the maximum lengthpublic int getMaxLength()
CustomAttributegetMaxLength in interface CustomAttributepublic void setMinValue(java.math.BigDecimal value)
CustomAttributesetMinValue in interface CustomAttributevalue - the minimum valuepublic java.math.BigDecimal getMinValue()
CustomAttributegetMinValue in interface CustomAttributepublic void setMaxValue(java.math.BigDecimal value)
CustomAttributesetMaxValue in interface CustomAttributevalue - the maximum valuepublic java.math.BigDecimal getMaxValue()
CustomAttributegetMaxValue in interface CustomAttributepublic void setDecimalPlace(int value)
CustomAttributesetDecimalPlace in interface CustomAttributevalue - the decimal placepublic int getDecimalPlace()
CustomAttributegetDecimalPlace in interface CustomAttributepublic void setDefaultValue(java.lang.String value)
CustomAttributesetDefaultValue in interface CustomAttributevalue - the default valuepublic java.lang.String getDefaultValue()
CustomAttributegetDefaultValue in interface CustomAttributepublic void setExpression(java.lang.String value)
CustomAttributesetExpression in interface CustomAttributevalue - the expressionpublic java.lang.String getExpression()
CustomAttributegetExpression in interface CustomAttributepublic boolean isDefaultValueExpression()
CustomAttributeisDefaultValueExpression in interface CustomAttributepublic void setDatetimeDisplayType(DatetimeDisplayType displayType)
CustomAttributesetDatetimeDisplayType in interface CustomAttributedisplayType - the display typepublic DatetimeDisplayType getDatetimeDisplayType()
CustomAttributegetDatetimeDisplayType in interface CustomAttributepublic void setMultiselectFixedChoiceList(boolean value)
CustomAttributesetMultiselectFixedChoiceList in interface CustomAttributevalue - if the attribute is a multi-select fixed choice listpublic boolean isMultiselectFixedChoiceList()
CustomAttributeisMultiselectFixedChoiceList in interface CustomAttributepublic void setIncludedInServicePayload(boolean value)
CustomAttributesetIncludedInServicePayload in interface CustomAttributevalue - if this attribute is included in the service payloadpublic boolean isIncludedInServicePayload()
CustomAttributeisIncludedInServicePayload in interface CustomAttributepublic void setFixedChoiceListLookupType(java.lang.String value)
CustomAttributesetFixedChoiceListLookupType in interface CustomAttributevalue - the lookup typepublic void setListDisplayAttribute(Attribute dataSourceAttribute)
CustomAttributesetListDisplayAttribute in interface CustomAttributedataSourceAttribute - the list display attributepublic Attribute getListDisplayAttribute()
CustomAttributegetListDisplayAttribute in interface CustomAttributepublic void addDisplayAttribute(Attribute attr)
CustomAttributeaddDisplayAttribute in interface CustomAttributeattr - the attribute to be addedpublic void removeDisplayAttr(Attribute attr)
CustomAttributeremoveDisplayAttr in interface CustomAttributeattr - the attribute to be removedpublic java.util.List<java.lang.String> getDisplayAttrs()
CustomAttributegetDisplayAttrs in interface CustomAttributepublic java.util.List<Attribute> getDisplayAttributes()
CustomAttributegetDisplayAttributes in interface CustomAttributepublic void addSearchAttribute(Attribute attr)
CustomAttributeaddSearchAttribute in interface CustomAttributeattr - the attribute to be addedpublic void removeSearchAttr(Attribute attr)
CustomAttributeremoveSearchAttr in interface CustomAttributeattr - the attribute to be removedpublic java.util.List<java.lang.String> getSearchAttrs()
CustomAttributegetSearchAttrs in interface CustomAttributepublic java.util.List<Attribute> getSearchAttributes()
CustomAttributegetSearchAttributes in interface CustomAttributepublic DataFilter addDataFilter(Attribute attr, java.lang.String operator, java.lang.Object[] values)
CustomAttributeaddDataFilter in interface CustomAttributeattr - Attribute of the search field. The attribute must belong to
the same business object as the list display attributeoperator - Operator of the filtervalues - Values of the filterpublic DataFilter addDataFilter(Attribute attr, ComparisonOperator operator, java.lang.Object[] values)
CustomAttributeaddDataFilter in interface CustomAttributeattr - Attribute of the search field. The attribute must belong to
the same business object as the list display attributeoperator - Operator of the filtervalues - Values of the filterpublic void removeDataFilter(DataFilter dataFilter)
CustomAttributeremoveDataFilter in interface CustomAttributedataFilter - filter to removepublic java.util.List<DataFilter> getDataFilters()
CustomAttributegetDataFilters in interface CustomAttributepublic void setFormulaType(FormulaType formulaType)
CustomAttributesetFormulaType in interface CustomAttributeformulaType - formula typepublic void setProperty(java.lang.String property,
java.lang.Object value)
CustomAttributesetProperty in interface CustomAttributeproperty - the name of the property to be updatedvalue - the value of the propertypublic void deprecate()
CustomAttributedeprecate in interface CustomAttributepublic void activate()
CustomAttributeactivate in interface CustomAttributepublic boolean isDeprecated()
CustomAttributeisDeprecated in interface CustomAttributepublic java.util.List<oracle.adf.businesseditor.model.views.BindVarExprData> getBindVarExprList()
CustomAttributeCustomAttribute.addBindVarExpr(String, String, String) instead.getBindVarExprList in interface CustomAttributepublic boolean isExpressionCriteriaFilter()
CustomAttributeisExpressionCriteriaFilter in interface CustomAttributepublic void setIsExpressionCriteriaFilter(boolean criteriaMode)
CustomAttributesetIsExpressionCriteriaFilter in interface CustomAttributecriteriaMode - isfilterpublic java.lang.String getExpressionCriteriaFilter()
CustomAttributegetExpressionCriteriaFilter in interface CustomAttributepublic oracle.adf.businesseditor.model.views.BindVarExprData addBindVarExpr(java.lang.String varName,
java.lang.String expression,
java.lang.String varType)
CustomAttributeCustomAttribute.setExpressionCriteriaFilter(String)
If the variable is not used in data filter expression, this call will be ignored
during the time of saving.
If editing this dynamic choice list field and if we only want to make changes
to the variable's bound expression, still use this method by passing
the same type as before.
Adding same name as an existing one, but with different type will cause a
JboException error.
It does not matter if a variable's bound value expression is added first or
data filter expression is set first. Actual bind variable creation and setting
expression is done during saving.
Type can be Number or Date or Text. Anything else will still be considered
as Text.addBindVarExpr in interface CustomAttributevarName - variable nameexpression - expressionvarType - "Number" or "Date" or "Text". Default is "Text"CustomAttribute.setExpressionCriteriaFilter(String)public void setExpressionCriteriaFilter(java.lang.String criteriaExpression)
CustomAttributeCustomAttribute.addBindVarExpr(String, String, String)setExpressionCriteriaFilter in interface CustomAttributecriteriaExpression - Advanced Data Filter expression using bind variablespublic void setCriteriaFilterIgnoreNullBindVarValues(boolean ignoreNullBindVarValues)
CustomAttributesetCriteriaFilterIgnoreNullBindVarValues in interface CustomAttributeignoreNullBindVarValues - Ignores bind variables whose values are nullpublic boolean isCriteriaFilterIgnoreNullBindVarValues()
isCriteriaFilterIgnoreNullBindVarValues in interface CustomAttributepublic void setDynamicChoiceListDataFilterType(CustomAttribute.DynamicChoiceListDataFilterType type)
CustomAttributesetDynamicChoiceListDataFilterType in interface CustomAttributetype - data filter typepublic CustomAttribute.DynamicChoiceListDataFilterType getDynamicChoiceListDataFilterType()
CustomAttributegetDynamicChoiceListDataFilterType in interface CustomAttributepublic void setExistingCriteriaName(java.lang.String criteriaName)
CustomAttributesetExistingCriteriaName in interface CustomAttributecriteriaName - name of existing view criteriapublic java.lang.String getExistingCriteriaName()
CustomAttributegetExistingCriteriaName in interface CustomAttributeprotected oracle.adfinternal.businesseditor.restapi.BaseObject getOwner()
protected java.lang.String[] getQueryKeys(java.lang.String accessorName)
accessorName - the resource name to reach a particular type of child objectprotected java.lang.String getFinderKey(java.lang.String accessorName)
accessorName - the resource name to reach a particular type of child objectprotected final java.lang.String getInternalName()
public java.lang.String getName()
public void setName(java.lang.String name)
BaseObject.ChildAlreadyExists if there
is a name clash. Whether the name can be overloaded or not is left
to the findChild(Class, Matcher)name - new namepublic void setDescription(java.lang.String text)
public java.lang.String getDescription()
protected java.lang.Object getAttribute(java.lang.String attrName)
protected void verifyObjectIsValid()
oracle.jbo.JboException - if object is invalidprotected java.lang.Object getAttribute(java.lang.String attrName,
java.lang.Object defaultValue)
attrName - name of attributedefaultValue - default valueprotected oracle.adfinternal.model.logging.contextual.logger.functional.FunctionalLogger getLogger()
protected void setLogger(oracle.adfinternal.model.logging.contextual.logger.functional.FunctionalLogger logger)
protected BaseObject.STATE getState()
public boolean isNew()
protected void setAttribute(java.lang.String attrName,
java.lang.Object value)
public BaseObject.Matcher getMatcher()
equals(Object) which does a finer comparision of the whole URL path. For example,
functions from global functions or different business objects might match in signature
but not equal as their URL path will be different.protected java.util.List<oracle.adfinternal.businesseditor.restapi.BaseObject> getChildrenDeleted(BaseObject.Matcher childMatcher)
protected java.util.List<oracle.adfinternal.businesseditor.restapi.BaseObject> getChildrenNew(BaseObject.Matcher childMatcher)
protected <T> T findChild(java.lang.String accessorName,
java.lang.String childName,
java.lang.Class<T> type)
protected <T> T findChild(java.lang.Class<T> type,
BaseObject.Matcher matcher)
protected <T> java.util.List<T> findChildren(java.lang.Class<T> type,
BaseObject.Matcher matcher)
T - Class that is expected type of the returned children objects.type - Class instance of type Tmatcher - Matcher that is used to find the correct childrenprotected org.codehaus.jettison.json.JSONArray getChildrenJSON(java.lang.String accessorName)
throws java.lang.Exception
accessorName - resource name or type of the children objectsjava.lang.Exception - if any thrown by the GET requestprotected <T> java.util.Collection<T> getChildren(java.lang.String accessorName,
java.lang.Class<T> type)
protected <T> T createChild(java.lang.String accessorName,
java.lang.Class<T> type,
org.codehaus.jettison.json.JSONObject obj)
protected void deleteChild(java.lang.String accessorName,
java.lang.String childName)
protected void deleteChild(BaseObject.Matcher matcher)
protected org.codehaus.jettison.json.JSONObject convertToJSON(java.lang.Object... attrNameAndValues)
public void doDeleteChildren()
public void doCreateNewChildren()
public void doSetAttributes()
public void undoChanges()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic static java.lang.String getLocalizedString(java.lang.String key,
java.lang.Object... args)