|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 2 (11.1.2.3.0) E17483-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.jbo.uicli.binding.JUSearchBindingCustomizer
public class JUSearchBindingCustomizer
Nested Class Summary | |
---|---|
static class |
JUSearchBindingCustomizer.SearchConjunction |
Constructor Summary | |
---|---|
JUSearchBindingCustomizer() |
Method Summary | |
---|---|
static ViewCriteriaItem |
addCriteriaItem(DCBindingContainer bc, java.lang.String itemAttrName, ViewCriteria vc) Add a criteria item to the View Criteria. |
static void |
applyAndExecuteViewCriteria(DCBindingContainer bc, java.lang.String criteriaName) |
static void |
applyAndExecuteViewCriteria(DCBindingContainer bc, ViewCriteria vc) |
static void |
applyNamedCriteria(DCBindingContainer bc, java.lang.String criteriaName) |
protected void |
createControls(DCBindingContainerDef bcDef) |
protected void |
createIterators(DCBindingContainerDef bcDef) |
protected void |
createParameters(JUFormDef bcDef, java.util.HashMap<java.lang.String,java.lang.String> configMap) |
static void |
createPersonalization(ViewObject vo, ViewCriteria vc) Creates an entry for the specified ViewCriteria in the end-user personalization layer of the associated VO. |
protected void |
createVariables(DCBindingContainerDef bcDef, java.util.HashMap<java.lang.String,java.lang.String> configMap) |
static ViewCriteria |
createViewCriteriaCopy(java.lang.String newVCName, ViewCriteria sourceVC) Creates and returns a copy of the view criteria passed into this method. |
void |
customizeBinding(java.lang.Object binding) |
void |
customizeDefinition(JUFormDef formDef, java.util.HashMap<java.lang.String,java.lang.String> config) |
static void |
deletePersonalization(ViewObject vo, java.lang.String vcName) Deletes the corresponding entry for the specified ViewCriteria from the end-user personalization layer of the associated VO. |
static void |
disableIteratorBindingValidation(DCBindingContainer bc) |
static JUCtrlListBinding |
findOrCreateLovBinding(DCBindingContainer searchBC, JUCtrlHierNodeBinding vci, int index) |
static JUFormBinding |
findOrCreateLovSearchBinding(DCBindingContainer searchBC, JUCtrlHierNodeBinding vci, int index) Public methods used by FacesCtrlSearchBinding as basic building blocks. |
static ViewCriteria |
findOrCreateViewCriteria(ViewObject vo, java.lang.String name) |
java.lang.String |
getBindIteratorName() |
static JUSearchBindingCustomizer.SearchConjunction |
getCriteriaConjunction(DCBindingContainer bc, java.lang.String criteriaName) |
static java.lang.String |
getCriteriaName(DCBindingContainer bc) Returns the name of the currently active ViewCriteria. |
static java.lang.String |
getDefaultQuickSearchAttrName(DCBindingContainer bc) Returns the name of the default quick search attribute. |
static java.util.List<ViewCriteria> |
getNamedViewCriteria(DCBindingContainer bc) Returns a list of ViewCriteria objects defined in the VO associated with the specified DCBindingContainer. |
static java.util.List<java.util.Map> |
getNamedViewCriteria(DCBindingContainer bc, LocaleContext locale) Returns a list of Map objects. |
static ViewCriteria |
getQuickSearchVC(DCBindingContainer bc, java.lang.String criteriaName, int criteriaRowIndex, java.lang.String attrName, java.lang.Object attrValue) Returns a ViewCriteria for the QuickSearch(aka QuickQuery) component using the attrName and attrValue pair. |
static java.util.List<AttributeDef> |
getSearchableAttributes(DCBindingContainer bc) Returns a List of AttributeDefs that are searchable/queriable. |
static java.util.List<AttributeDef> |
getSearchableAttributes(DCBindingContainer bc, boolean sort) Returns a List of AttributeDefs that are searchable/queriable. |
static java.util.List<AttributeDef> |
getSearchableAttributes(DCBindingContainer bc, ViewObject vo, boolean sort) |
static java.lang.String |
getVCVODefName(ViewCriteria vc) |
static ViewCriteria |
getViewCriteria(DCBindingContainer bc, java.lang.String criteriaName) |
static boolean |
hasAttributeListChanged(DCBindingContainer searchBC) |
static boolean |
isPersistenceEnabled() |
static boolean |
isSystemOper(java.lang.String oper) |
static java.lang.String |
isTrackQueryPerformed(DCBindingContainer bc) |
void |
loadOrCreateCustomDefinition(DCDefBase defObjectToCustomize, DefElement defElem) |
static void |
modeChange(DCBindingContainer bc, java.lang.String criteriaName) |
static void |
personalizeCriteriaName(DCBindingContainer bc, java.lang.String criteriaName) Save the criteria name used by the search binding to the MDS personalization framework. |
static void |
rebuildVCTree(DCBindingContainer searchBC) |
static void |
releaseListBindings(DCBindingContainer bc) |
static void |
resetCriteria(DCBindingContainer bc, java.lang.String criteriaName, LocaleContext locale) Resets the named ViewCriteria. |
static void |
resetCriteriaItemRemovable(DCBindingContainer bc, java.lang.String criteriaName) |
static void |
setCriteriaConjunction(DCBindingContainer bc, java.lang.String criteriaName, JUSearchBindingCustomizer.SearchConjunction conjunction) |
static void |
setCriteriaRenderedMode(DCBindingContainer bc, ViewCriteria vc, java.lang.String renderedMode) |
static void |
setValuesFromListBinding(JUCtrlListBinding listBinding, JUCtrlHierNodeBinding itemNode, int[] selIndices) Sets the values of a View Criteria Item to the values the user selected in a multi-select choice list. |
static void |
unapplyViewCriteria(DCBindingContainer bc, java.lang.String criteriaName) |
static void |
updatePersonalization(ViewObject vo, ViewCriteria vc) Updates the corresponding entry for the specified ViewCriteria in end-user personalization layer for the associated VO. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String VCITER
public static final java.lang.String VCROWS
public static final java.lang.String VCAPPLY
public static final java.lang.String VCTREE
public static final java.lang.String CRITERIA_ITEMS_ACC
public static final java.lang.String CRITERIA_BIND_VARS_ACC
public static final java.lang.String CRITERIA_PROPERTIES_ACC
public static final java.lang.String CRITERIA_ITEM_OPERATORS_ACC
public static final java.lang.String CRITERIA_ITEM_VALUES_ACC
public static final java.lang.String CRITERIA_ITEM_NESTED_CRITERIA_ACC
public static final java.lang.String CRITERIA_PROPERTY_AUTO_EXECUTE
public static final java.lang.String CRITERIA_PROPERTY_MODE
public static final java.lang.String CRITERIA_PROPERTY_SAVE_RESULTS_LAYOUT
public static final java.lang.String CRITERIA_PROPERTY_SHOW_IN_LIST
public static final java.lang.String CRITERIA_PROPERTY_DISPLAY_NAME
public static final java.lang.String CRITERIA_PROPERTY_DISPLAY_OPERATORS
public static final java.lang.String CRITERIA_PROPERTY_ALLOW_CONJUNCTION_OVERRIDE
public static final java.lang.String CRITERIA_ITEM_PROPERTY_ATTRIBUTE_NAME
public static final java.lang.String CRITERIA_ITEM_PROPERTY_ITEM_NUM
public static final java.lang.String CRITERIA_ITEM_PROPERTY_OPERATOR
public static final java.lang.String CRITERIA_ITEM_PROPERTY_CONJUNCTION
public static final java.lang.String CRITERIA_ITEM_PROPERTY_UPPER_COLUMN
public static final java.lang.String CRITERIA_ITEM_PROPERTY_REMOVABLE
public static final java.lang.String CRITERIA_ITEM_PROPERTY_REQUIRED
public static final java.lang.String CRITERIA_ITEM_PROPERTY_CARDINALITY
public static final java.lang.String CRITERIA_ITEM_PROPERTY_LOVNAME
public static final java.lang.String CRITERIA_ITEM_PROPERTY_LABEL
public static final java.lang.String CRITERIA_ITEM_PROPERTY_CONTROL_TYPE
public static final java.lang.String CRITERIA_ITEM_OPERATOR_PROPERTY_NAME
public static final java.lang.String CRITERIA_ITEM_OPERATOR_PROPERTY_DESCRIPTION
public static final java.lang.String CRITERIA_ITEM_OPERATOR_PROPERTY_MINCARDINALITY
public static final java.lang.String CRITERIA_ITEM_OPERATOR_PROPERTY_MAXCARDINALITY
public static final java.lang.String CRITERIA_ITEM_VALUE_PROPERTY_VALUE
public static final java.lang.String CRITERIA_ITEM_VALUE_PROPERTY_ISBINDVARIABLE
public static final java.lang.String CRITERIA_ITEM_VALUE_PROPERTY_HASTRIGGER
public static final java.lang.String PARAMDC
public static final java.lang.String PARAMRSI
public static final java.lang.String PARAMITER
public static final java.lang.String PARAMCRITERIA
public static final java.lang.String PARAMDEFAULTATTR
public static final java.lang.String PARAM_trackQueryPerformed
public static final java.lang.String INTERNAL_CRITERIA_DC
public static final java.lang.String DEFAULT_VC_NAME
public static final java.lang.String DEFAULT_VCROW_NAME
public static final java.lang.String ATTRPARAMREF
Constructor Detail |
---|
public JUSearchBindingCustomizer()
Method Detail |
---|
public void customizeBinding(java.lang.Object binding)
customizeBinding
in interface DCBindingCustomizerInterface
public void loadOrCreateCustomDefinition(DCDefBase defObjectToCustomize, DefElement defElem)
loadOrCreateCustomDefinition
in interface DCBindingCustomizerInterface
public void customizeDefinition(JUFormDef formDef, java.util.HashMap<java.lang.String,java.lang.String> config)
protected void createVariables(DCBindingContainerDef bcDef, java.util.HashMap<java.lang.String,java.lang.String> configMap)
public java.lang.String getBindIteratorName()
protected void createParameters(JUFormDef bcDef, java.util.HashMap<java.lang.String,java.lang.String> configMap)
protected void createIterators(DCBindingContainerDef bcDef)
protected void createControls(DCBindingContainerDef bcDef)
public static ViewCriteria findOrCreateViewCriteria(ViewObject vo, java.lang.String name)
public static void setCriteriaRenderedMode(DCBindingContainer bc, ViewCriteria vc, java.lang.String renderedMode)
public static void applyAndExecuteViewCriteria(DCBindingContainer bc, ViewCriteria vc)
public static void applyNamedCriteria(DCBindingContainer bc, java.lang.String criteriaName)
public static void applyAndExecuteViewCriteria(DCBindingContainer bc, java.lang.String criteriaName)
public static void disableIteratorBindingValidation(DCBindingContainer bc)
public static void personalizeCriteriaName(DCBindingContainer bc, java.lang.String criteriaName)
bc
- The search binding to be personalizecriteriaName
- The criteria name to be used in the personalized search binding.public static void createPersonalization(ViewObject vo, ViewCriteria vc)
vo
- The View Object instance in which the new view criteria belongs to.vc
- The view criteria to be persisted to the personalization framework.public static void updatePersonalization(ViewObject vo, ViewCriteria vc)
vo
- The View Object instance in which the updated view criteria belongs to.vc
- The view criteria to be persisted to the personalization framework.public static void deletePersonalization(ViewObject vo, java.lang.String vcName)
vo
- The View Object instance in which the removed view criteria belongs to.vcName
- The name of the view criteria to be removed from the personalization framework.public static ViewCriteria createViewCriteriaCopy(java.lang.String newVCName, ViewCriteria sourceVC)
newVCName
- The name to be set on the new view criteriasourceVC
- The source view criteria whose contents have to be copied into the new view criteria.public static void resetCriteria(DCBindingContainer bc, java.lang.String criteriaName, LocaleContext locale)
bc
-criteriaName
-locale
-public static void resetCriteriaItemRemovable(DCBindingContainer bc, java.lang.String criteriaName)
public static JUSearchBindingCustomizer.SearchConjunction getCriteriaConjunction(DCBindingContainer bc, java.lang.String criteriaName)
public static void setCriteriaConjunction(DCBindingContainer bc, java.lang.String criteriaName, JUSearchBindingCustomizer.SearchConjunction conjunction)
public static ViewCriteria getQuickSearchVC(DCBindingContainer bc, java.lang.String criteriaName, int criteriaRowIndex, java.lang.String attrName, java.lang.Object attrValue)
bc
-criteriaName
-criteriaRowIndex
-attrName
-attrValue
-public static java.util.List<AttributeDef> getSearchableAttributes(DCBindingContainer bc)
public static java.util.List<AttributeDef> getSearchableAttributes(DCBindingContainer bc, boolean sort)
bc
-sort
-public static java.util.List<AttributeDef> getSearchableAttributes(DCBindingContainer bc, ViewObject vo, boolean sort)
public static boolean hasAttributeListChanged(DCBindingContainer searchBC)
public static ViewCriteriaItem addCriteriaItem(DCBindingContainer bc, java.lang.String itemAttrName, ViewCriteria vc)
bc
- The reference to the binding container that has the search metadataitemAttrName
- The name of the attribute to base the view criteria itemvc
- The View Criteria in which to create the criteria itemViewCriteriaItem
that was createdpublic static void modeChange(DCBindingContainer bc, java.lang.String criteriaName)
public static JUFormBinding findOrCreateLovSearchBinding(DCBindingContainer searchBC, JUCtrlHierNodeBinding vci, int index)
public static JUCtrlListBinding findOrCreateLovBinding(DCBindingContainer searchBC, JUCtrlHierNodeBinding vci, int index)
public static void setValuesFromListBinding(JUCtrlListBinding listBinding, JUCtrlHierNodeBinding itemNode, int[] selIndices)
listBinding
- The list binding created to display the values in an lovitemNode
- The view criteria item hier node binding whose values are being set and displayedselIndices
- The indices of the items the user selected in the choice listpublic static java.lang.String getCriteriaName(DCBindingContainer bc)
bc
-public static java.lang.String getDefaultQuickSearchAttrName(DCBindingContainer bc)
bc
-public static java.lang.String isTrackQueryPerformed(DCBindingContainer bc)
public static java.util.List<ViewCriteria> getNamedViewCriteria(DCBindingContainer bc)
bc
-public static java.util.List<java.util.Map> getNamedViewCriteria(DCBindingContainer bc, LocaleContext locale)
bc
-locale
-public static void unapplyViewCriteria(DCBindingContainer bc, java.lang.String criteriaName)
public static ViewCriteria getViewCriteria(DCBindingContainer bc, java.lang.String criteriaName)
public static boolean isPersistenceEnabled()
public static java.lang.String getVCVODefName(ViewCriteria vc)
public static void releaseListBindings(DCBindingContainer bc)
public static boolean isSystemOper(java.lang.String oper)
public static void rebuildVCTree(DCBindingContainer searchBC)
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 2 (11.1.2.3.0) E17483-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |