Fields
-
oj
-
Global exported Oracle JET namespace
- Source:
Properties:
Name Type Description versionString JET version number buildString JET build number revisionString JET source code revision number
Methods
-
_createHelpIfNeeded()
-
Create help if needed
- Source:
-
_needsDescribedBySpan() → {undefined}
-
- Source:
Returns:
- Type
- undefined
-
_needsHelpIcon() → {boolean}
-
- Source:
Returns:
- Type
- boolean
-
_removeHelpDefPopup() → {undefined}
-
removes the help def popup dom and variables
- Source:
Returns:
- Type
- undefined
-
ajax() → {Object}
-
Master Ajax entry point for all oj.Model and oj.Collection server interactions, when they are using the default sync implementations. oj.ajax passes through to jQuery ajax by default. See http://api.jquery.com/jquery.ajax/ for expected parameters and return value.
- Source:
Returns:
xhr object- Type
- Object
-
check_move()
-
Checks the prepared_move object, and returns true if the move is acceptable, else false.
- Source:
-
getSubIdByNode(node) → {Object|null}
-
Returns the subId locator for the given child DOM node. Invoked by widget
Parameters:
Name Type Description nodeElement child DOM node - Source:
Returns:
The subId for the DOM node, or null when none is found.- Type
- Object | null
-
sync(method, model, options) → {Object}
-
Master server access method for all models and collections. Replace oj.sync with a new implementation to customize all oj.Model and oj.Collection server interactions
Parameters:
Name Type Argument Description methodstring "create", "read", "update", "patch", or "delete" modelObject Model (or Collection to be read) to be read/saved/deleted/created optionsObject <optional>
to control sync
success: called if sync succeeds
error: called if sync fails
others are passed to jQuery
Options that would normally be passed to a customURL callback are also included- Source:
Returns:
xhr object- Type
- Object
Non-public Methods
-
<protected> _GetFirstBracketedString(subId) → {string}
-
Returns the first bracketed substring in the specified string.
Parameters:
Name Type Description subIdstring - Source:
Returns:
- Type
- string
-
<protected> _GetFirstIndex(subId) → {number}
-
Converts a string containing a single index in the form '[index]' into the numerical index.
Parameters:
Name Type Description subIdstring - Source:
Returns:
- Type
- number
-
<protected> _GetIndexPath(subId) → {Array}
-
Converts a string containing indices in the form '[index0][index1]...[indexN]' to an array of indices.
Parameters:
Name Type Description subIdstring - Source:
Returns:
The resulting array to be used for locator indexPath.- Type
- Array
-
<protected> _GetStringFromIndexPath(indexPath) → {string}
-
Converts an indexPath array to a string of the form '[index0][index1]...[indexN]'.
Parameters:
Name Type Description indexPathArray - Source:
Returns:
The resulting string.- Type
- string