- CallbackOverlay - Class in jb.gwt_main_modules.base_widgets.client.js_api
-
Overlay an object with a "callback" method so we can call it
without knowing the details of the object.
- CallbackOverlay() - Constructor for class jb.gwt_main_modules.base_widgets.client.js_api.CallbackOverlay
-
- ChangeLogApiPublisher - Class in jb.gwt_main_modules.base_widgets.client.js_api
-
API for adding entries to the asset history logs
All methods are located in a sub object at window.MBAPI.cl
(window.MBAPI.cl.addChangeLog(theEntry, theCallback)
for example)
- ChangeLogApiPublisher() - Constructor for class jb.gwt_main_modules.base_widgets.client.js_api.ChangeLogApiPublisher
-
- changeViewToDirectory(String, DefaultCallback) - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MBDOMUtils
-
<button style="padding: 3px;" onclick="window.MBAPI.createNewAsset("testt", "anotherTest", true, function(theAssetId)
{
if(theAssetId > 0)
{
window.MBAPI.changeViewToDirectory("anotherTest" , function()
{
window.MBAPI.showPreExtendedView(parseInt(theAssetId), "bob");
});
}
}
);">Create New Asset</button>
Changes view to directory
- changeWorkspace(String, String, boolean) - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MBDOMUtils
-
Changes active workspace.
- clearAllNotifications() - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MessageApiPublisher
-
Clear any active notifications currently displayed in the notification center for my user
- createAssetByDirId(String, int, Boolean, DefaultCallback) - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MBDOMUtils
-
This method creates new asset if destination folder is within the current ACL root path.
- createAssetLink(int, int, String, DefaultCallback) - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MBDOMUtils
-
<button style="padding: 3px;" onclick="window.MBAPI.createAssetLink(2001, 2002, 'This is a Test', function() {window.alert('success')});">Link Assets</button>
Create a link between two assets, from theAssetId -> theSecondAssetId
- createBooleanCriterion(String) - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.SearchApiPublisher
-
Create a GwtSearchCriteria object for searching with
- createBundle(String, String, DefaultCallback) - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MBDOMUtils
-
- createBundleByDirId(int, String, DefaultCallback) - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MBDOMUtils
-
Bundles the given folder at the given dir id, creates the folder if doesn't exist already,
if the given folder is within the current ACL root path.
- createCurrentSelectionSearch() - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.SearchApiPublisher
-
Get a location object for displaying the current selection
- createDictionaryWord(int, String, String, String) - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MBDOMUtils
-
This function creates a new word entry in the dictionary.
- createDictionaryWordByName(String, String, String, String) - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MBDOMUtils
-
This function creates a new word entry in the dictionary.
- createDirectorySearch(int, boolean) - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.SearchApiPublisher
-
Get a search object for directory search
- createDirectorySearchRelative(String, boolean) - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.SearchApiPublisher
-
Get a search object for directory search
- createFieldCriterion(String, String, String) - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.SearchApiPublisher
-
Create a field criterion
- createInstance(String) - Static method in class jb.gwt_main_modules.events.client.CurrentSelectionChangeEvent
-
- createInstance() - Static method in class jb.gwt_main_modules.events.client.ViewChangeEvent
-
- createMap(JsArrayString, JsArrayString) - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MBDOMUtils
-
Create a map from the given two equal-length javascript string arrays.
- createNewAsset(String, String, Boolean, DefaultCallback) - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MBDOMUtils
-
- createPDFCatalog() - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MBDOMUtils
-
Creates PDF catalog
- createQuickSearch(String, boolean, boolean, boolean) - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.SearchApiPublisher
-
Get a search object for the "quick search" portion.
- createSavedSelectionSearch(int) - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.SearchApiPublisher
-
Get a location object for displaying a saved selection
- CurrentSelectionChangeEvent - Class in jb.gwt_main_modules.events.client
-
Event for a change to the current selection
- CurrentSelectionChangeEvent(boolean) - Constructor for class jb.gwt_main_modules.events.client.CurrentSelectionChangeEvent
-
- currentWorkspaceHasUploadM3taforms() - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MBDOMUtils
-
Does the current workspace have required upload m3taforms?
- destructiveClearDirtyState() - Method in class jb.gwt_main_modules.base_widgets.client.js_api.mf.NativeM3TAForm
-
Mark the current form as clean, removing save / cancel buttons.
- directoryPathToId(String, DefaultCallback) - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MBDOMUtils
-
<button style="padding: 3px;" onclick="window.MBAPI.createNewAsset("testt", "anotherTest", true, function(theAssetId)
{
if(theAssetId > 0)
{
window.MBAPI.directoryPathToId("anotherTest" , function(theDirectoryId)
{
window.alert("the directory id: " + theDirectoryId);
});
}
}
);">Create New Asset</button>
Gets directory id from the relative path
- dispatch(DownloadHandler) - Method in class jb.gwt_main_modules.base_widgets.client.events.download.DownloadEvent
-
- dispatch(PerspectiveChangeHandler) - Method in class jb.gwt_main_modules.base_widgets.client.events.perspectivechange.WorkspaceChangeEvent
-
- dispatch(R3SearchHierarchyTermAddedHandler) - Method in class jb.gwt_main_modules.base_widgets.client.events.r3searchhierarchy.R3SearchHierarchyTermAddedEvent
-
- dispatch(CurrentSelectionChangeHandler) - Method in class jb.gwt_main_modules.events.client.CurrentSelectionChangeEvent
-
- dispatch(ViewChangeHandler) - Method in class jb.gwt_main_modules.events.client.ViewChangeEvent
-
- dispatch(UploadCompleteHandler) - Method in class jb.gwt_main_modules.upload.client.UploadEvent
-
- doAjaxPostRequest(String, DefaultCallback) - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MBDOMUtils
-
Method to fetch a remote url using POST method.
- doAjaxRequest(String, DefaultCallback) - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MBDOMUtils
-
- doFetchAssetIds(String, int, int, JavaScriptObject) - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.SelectionApiPublisher
-
This is not a JavaScript callable method
- doGetCurrentPage(JavaScriptObject) - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.SelectionApiPublisher
-
Internal method for calling server and doing get the current page.
- doGetField(JavaScriptObject, JsArrayInteger, JsArrayString) - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MetadataApiPublisher
-
- doGetNextPage(JavaScriptObject) - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.SelectionApiPublisher
-
Internal method for calling server and doing get the next page.
- doGetPreviousPage(JavaScriptObject) - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.SelectionApiPublisher
-
Internal method for calling server and doing get the previous page.
- DownloadApiPublisher - Class in jb.gwt_main_modules.base_widgets.client.js_api
-
Methods for downloading items via various methods in the DAM
All methods are located in a sub object at window.MBAPI
(window.MBAPI.downloadCustom(theResolverType, theResolverId)
for example)
- DownloadApiPublisher() - Constructor for class jb.gwt_main_modules.base_widgets.client.js_api.DownloadApiPublisher
-
- downloadCustom(String, String) - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.DownloadApiPublisher
-
Download something defined by the resolver strings using a custom download
Ex.
- DownloadEvent - Class in jb.gwt_main_modules.base_widgets.client.events.download
-
This event is fired when a download of an asset(s) is triggered
- DownloadEvent(int, int, String, String) - Constructor for class jb.gwt_main_modules.base_widgets.client.events.download.DownloadEvent
-
- dragEnded() - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MBDOMUtils
-
Removes the variable that says we're doing out of browser drag drop
- dragStarted() - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MBDOMUtils
-
Sets a variable that says we're doing Out of browser drag drop
- getAllFields() - Method in class jb.gwt_main_modules.base_widgets.client.js_api.mf.NativeM3TAForm
-
Get all of the M3TAForm's fields.
- getAssetData() - Method in class jb.gwt_main_modules.base_widgets.client.js_api.mf.NativeM3TAForm
-
Get the attached asset data
- getAssetId() - Method in class jb.gwt_main_modules.base_widgets.client.events.download.DownloadEvent
-
- getAssetId() - Method in class jb.gwt_main_modules.base_widgets.client.js_api.mf.NativeM3TAForm
-
If a single asset's metadata is being edited and view by the M3TAForm, its asset id is returned, otherwise -1.
- getAssetIdsOnCurrentPage(DefaultCallback) - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MBDOMUtils
-
Pass back a js array of asset id's
- getAssetsFieldValue(DefaultCallback, JsArrayInteger, String, String) - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MetadataApiPublisher
-
Deprecated.
- getAssociatedType() - Method in class jb.gwt_main_modules.base_widgets.client.events.download.DownloadEvent
-
- getAssociatedType() - Method in class jb.gwt_main_modules.base_widgets.client.events.perspectivechange.WorkspaceChangeEvent
-
- getAssociatedType() - Method in class jb.gwt_main_modules.base_widgets.client.events.r3searchhierarchy.R3SearchHierarchyTermAddedEvent
-
- getAssociatedType() - Method in class jb.gwt_main_modules.events.client.CurrentSelectionChangeEvent
-
- getAssociatedType() - Method in class jb.gwt_main_modules.events.client.ViewChangeEvent
-
- getAssociatedType() - Method in class jb.gwt_main_modules.upload.client.UploadEvent
-
- getAvailablePermissions() - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.PermissionApiPublisher
-
Get all permissions that are set
- getAvailableSystemProperties() - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.PermissionApiPublisher
-
Get all available system properties
- getBuildNumber() - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MBDOMUtils
-
Get the number of the current build (i.e.
- getBuildNumberInternal() - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MBDOMUtils
-
This is not a JavaScript callable method
return the build number parsed from the end of our main js file.
- getBuildVersion() - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MBDOMUtils
-
Get the associated version of the build (i.e.
- getClassName() - Static method in class jb.gwt_main_modules.base_widgets.client.events.download.DownloadEvent
-
- getClassName() - Static method in class jb.gwt_main_modules.base_widgets.client.events.perspectivechange.WorkspaceChangeEvent
-
- getClassName() - Static method in class jb.gwt_main_modules.base_widgets.client.events.r3searchhierarchy.R3SearchHierarchyTermAddedEvent
-
- getClassName() - Static method in class jb.gwt_main_modules.events.client.CurrentSelectionChangeEvent
-
- getClassName() - Static method in class jb.gwt_main_modules.events.client.ViewChangeEvent
-
- getClassName() - Static method in class jb.gwt_main_modules.upload.client.UploadEvent
-
- getCurrentDirectory(DefaultCallback) - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MBDOMUtils
-
Get the path of the current directory we're browsing.
- getCurrentPage(SelectionRetrievalCallback) - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.SelectionApiPublisher
-
Gets the current page of selections.
- getCurrentSelectionCount() - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MBDOMUtils
-
<img src="oneBlankPixel.png" onload="window.MBAPI.registerForEvents(function(event){
if(event === 'CurrentSelectionChangeEvent')
{
document.getElementById('current_selection').innerHTML = window.MBAPI.getCurrentSelectionCount();
};});">
<div onload="document.getElementById('current_selection').innerHTML = window.MBAPI.getCurrentSelectionCount();" id="current_selection">0</div>
Get the current selection count of the logged in user.
- getCurrentWorkspace() - Method in class jb.gwt_main_modules.base_widgets.client.events.perspectivechange.WorkspaceChangeEvent
-
- getCurrentWorkspace() - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MBDOMUtils
-
Get the current workspace id
- getCurrentWorkspaceName() - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MBDOMUtils
-
Get the current workspace name.
- getDebugInfo(boolean) - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MBDOMUtils
-
Gets information used for troubleshooting.
- getElement() - Method in class jb.gwt_main_modules.base_widgets.client.js_api.mf.NativeField
-
Gets the element of the field for operations on it.
- getErrorMessage() - Method in class jb.gwt_main_modules.base_widgets.client.js_api.mf.NativeField
-
Get the error message.
- getField(DefaultCallback, JsArrayInteger, JsArrayString) - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MetadataApiPublisher
-
Get metadata for a specific asset
- getField(String) - Method in class jb.gwt_main_modules.base_widgets.client.js_api.mf.NativeM3TAForm
-
Get a field by id.
- getFieldsForNamespace(DefaultCallback, int, String) - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MetadataApiPublisher
-
Deprecated.
- getFileName() - Method in class jb.gwt_main_modules.base_widgets.client.events.download.DownloadEvent
-
- getID() - Method in class jb.gwt_main_modules.base_widgets.client.js_api.mf.NativeField
-
Get the field's id.
- getInstance(AssetContextMenu) - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.menu.NativeAssetContextMenu
-
Use the js constructor to get an instance of this object
- getInstanceId() - Method in class jb.gwt_main_modules.base_widgets.client.js_api.mf.NativeM3TAForm
-
Get the M3TAForm instance id.
- getItemId() - Method in class jb.gwt_main_modules.base_widgets.client.events.download.DownloadEvent
-
- getLanguage() - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MBDOMUtils
-
Gets the current language.
- getName() - Method in class jb.gwt_main_modules.base_widgets.client.js_api.mf.NativeField
-
Get the name.
- getName() - Method in class jb.gwt_main_modules.base_widgets.client.js_api.mf.NativeM3TAForm
-
Get the name.
- getNativeBooleanCriteria(GwtBooleanCriterion) - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.SearchApiPublisher
-
- getNextPage(SelectionRetrievalCallback) - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.SelectionApiPublisher
-
Gets the next page of selections.
- getParentNotWidget(Element) - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MBDOMUtils
-
Walks up the DOM hierarchy to find the first parent element that
doesn't belong to a widget.
- getPlacedImages(int, JavaScriptObject) - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.SearchApiPublisher
-
Returns an array of record ids of places assets
- getPreviousPage(SelectionRetrievalCallback) - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.SelectionApiPublisher
-
Gets the previous page of selections.
- getResolver() - Method in class jb.gwt_main_modules.base_widgets.client.events.download.DownloadEvent
-
- getSavedSearch(String, JavaScriptObject) - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.SearchApiPublisher
-
Method returns a saved search by name
Example code:
function doSearch()
{
parent.MBAPI.search.getSavedSearch("My Search Name", callback);
}
function callback(theSearch)
{
parent.MBAPI.search.getViewPage().setSearch(theSearch);
parent.MBAPI.search.refreshView(function(){});
}
- getSavedSearchById(int, JavaScriptObject) - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.SearchApiPublisher
-
Method returns a saved search by id
Example code:
function doSearch()
{
parent.MBAPI.search.getSavedSearchById(3, callback);//3 is the search id
}
function callback(theSearch)
{
parent.MBAPI.search.getViewPage().setSearch(theSearch);
parent.MBAPI.search.refreshView(function(){});
}
- getSelectedAsset() - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MBDOMUtils
-
Get the current selected asset id from the current view object
- getSelectionManager() - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.SelectionApiPublisher
-
Gets the selection manager.
- getSolrHierarchyTermLabel() - Method in class jb.gwt_main_modules.base_widgets.client.events.r3searchhierarchy.R3SearchHierarchyTermAddedEvent
-
- getSystemProperty(String) - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.PermissionApiPublisher
-
Get a system property
- getTrans(String) - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MBDOMUtils
-
Gets the global translation string by key.
- getType() - Static method in class jb.gwt_main_modules.base_widgets.client.events.download.DownloadEvent
-
- getType() - Static method in class jb.gwt_main_modules.base_widgets.client.events.perspectivechange.WorkspaceChangeEvent
-
- getType() - Static method in class jb.gwt_main_modules.base_widgets.client.events.r3searchhierarchy.R3SearchHierarchyTermAddedEvent
-
- getType() - Static method in class jb.gwt_main_modules.events.client.CurrentSelectionChangeEvent
-
- getType() - Static method in class jb.gwt_main_modules.events.client.ViewChangeEvent
-
- getType() - Static method in class jb.gwt_main_modules.upload.client.UploadEvent
-
- getUI() - Method in class jb.gwt_main_modules.base_widgets.client.js_api.mf.NativeField
-
Get the ui type.
- getUploadDirectoryChoice() - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MBDOMUtils
-
get the path for the current view widget
- getValidator() - Method in class jb.gwt_main_modules.base_widgets.client.js_api.mf.NativeField
-
Get the validator.
- getValue() - Method in class jb.gwt_main_modules.base_widgets.client.js_api.mf.NativeField
-
Get the value of the field, can't get RDB values.
- getViewPage() - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.SearchApiPublisher
-
Gets an instance of our current ViewPage so we can modify and do searches
- getWorkspaceIds() - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MBDOMUtils
-
Gets all workspace ids.
- goHome() - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MBDOMUtils
-
Clear any current searches or locations.
- R3SearchHierarchyTermAddedEvent - Class in jb.gwt_main_modules.base_widgets.client.events.r3searchhierarchy
-
Event that's fired when a R3Search hierarchy term (SolrHierarchyTermLabel) is added.
- R3SearchHierarchyTermAddedEvent(SolrHierarchyTermLabel) - Constructor for class jb.gwt_main_modules.base_widgets.client.events.r3searchhierarchy.R3SearchHierarchyTermAddedEvent
-
- refreshView(DefaultCallback) - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.SearchApiPublisher
-
Calling this method will reload our current ViewPage
- registerDraggable(String, NativeDraggableInformationDelegate) - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MBDOMUtils
-
<style>
.bob-test
{
height:15px;
width:15px;
background-color:red;
}
</style>
<div style="background-color:white; border:2px solid orange" id="testDrag"><img src="oneBlankPixel.png" style="width:100px; height:100px;" onclick="var aTmp = function()
{
var aDelegate = {};
aDelegate.getTypes = function()
{
var aTypes = [];
aTypes[0] = 'javascriptdraggable';
return aTypes;
};
aDelegate.getData= function()
{
return 'Draggable Data String';
}
window.MBAPI.registerDraggable('testDrag', aDelegate);
}; aTmp();"></div>
- registerDropController(String, DropController) - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MBDOMUtils
-
<style>
.bob-test
{
height:15px;
width:15px;
background-color:red;
}
</style>
<div style="background-color:blue;" id="testDropController"><img src="oneBlankPixel.png" style="width:100px; height:100px;" onclick="var aTmp = function()
{
//window.alert('est');
var aDropController = {};
aDropController.onDrop = function(theContext)
{
window.alert(theContext.getData());
};
aDropController.onEnter = function(theContext)
{
theContext.setProxyStyle('bob-test');
};
aDropController.onLeave = function(theContext)
{
theContext.clearProxyStyle();
};
aDropController.onMove = function(){};
aDropController.onPreviewDrop = function(){return true;};
window.MBAPI.registerDropController('testDropController', aDropController);
}; aTmp();"></div>
- registerForEvents(String, DefaultCallback) - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MBDOMUtils
-
function register()
{
window.MBAPI.registerForEvents("ViewChangeEvent", callback);
}
function callback(theEvent)
{
console.log(theEvent);
}
- registerForUploadDragEvents(DefaultCallback) - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MBDOMUtils
-
Register your function here to be informed of any events fired by native widgets to the global event bus
The function will receive one parameter, the event name.
- registerJSNI(DownloadEvent) - Method in class jb.gwt_main_modules.base_widgets.client.events.download.DownloadEvent
-
- registerJSNI(WorkspaceChangeEvent) - Method in class jb.gwt_main_modules.base_widgets.client.events.perspectivechange.WorkspaceChangeEvent
-
- registerJSNI(R3SearchHierarchyTermAddedEvent) - Method in class jb.gwt_main_modules.base_widgets.client.events.r3searchhierarchy.R3SearchHierarchyTermAddedEvent
-
Exports the event to javascript.
- registerJSNI(CurrentSelectionChangeEvent) - Method in class jb.gwt_main_modules.events.client.CurrentSelectionChangeEvent
-
- registerJSNI(ViewChangeEvent) - Method in class jb.gwt_main_modules.events.client.ViewChangeEvent
-
- registerJSNI(UploadEvent) - Method in class jb.gwt_main_modules.upload.client.UploadEvent
-
- RemoteLoginManager - Class in jb.gwt_main_modules.base_widgets.client.js_api
-
Supports remote login from javascript clients.
All methods are located in a sub object at window.MBAPI.remote
(window.MBAPI.remote.getUserKey(theCallback)
for example)
- RemoteLoginManager() - Constructor for class jb.gwt_main_modules.base_widgets.client.js_api.RemoteLoginManager
-
- rescindInvites() - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MBDOMUtils
-
Displays the invite user setup dialog.
- resetField() - Method in class jb.gwt_main_modules.base_widgets.client.js_api.mf.NativeField
-
Set back to default state
- ResolverURLUtils - Class in jb.gwt_main_modules.base_widgets.client.js_api
-
Some API functions accept resolver URL's as parameters.
This class provides an easy way to generate these URL strings
This example copies all of the files in the directory with an id of 5 to the directory with the id of 6
MBAPI.resolverCopy(MBAPI.getDirectoryURL(5), 6, new function(){})
The same function can be called with any resolver URL
MBAPI.resolverCopy(MBAPI.getSavedSelectionURL(3), 6, new function(){})
MBAPI.resolverCopy(MBAPI.getAssetURL([123456,654321]), 6, new function(){})
MBAPI.resolverCopy(MBAPI.getCurrentSelectionURL(), 6, new function(){})
- ResolverURLUtils() - Constructor for class jb.gwt_main_modules.base_widgets.client.js_api.ResolverURLUtils
-
- saveScratchBasket(String, String, String, String, boolean, JavaScriptObject) - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MBDOMUtils
-
Saves the current Scratch Basket with the specified Scratch Basket parameters, as either a public or private selection.
- saveScratchBasketSelection(String, String, String, String, JavaScriptObject, JavaScriptObject, JavaScriptObject) - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MBDOMUtils
-
Show the Save Selection dialog for the specified Scratch Basket parameters.
- saveSelection() - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MBDOMUtils
-
Saves selection
- SearchApiPublisher - Class in jb.gwt_main_modules.base_widgets.client.js_api
-
Methods for creating and running searches in the user's interface.
All methods are located in a sub object at window.MBAPI.search
(window.MBAPI.search.getViewPage()
for example)
- SearchApiPublisher() - Constructor for class jb.gwt_main_modules.base_widgets.client.js_api.SearchApiPublisher
-
- SelectionApiPublisher - Class in jb.gwt_main_modules.base_widgets.client.js_api
-
Methods for dealing with the user's current selection (get/set/changes), cart based selections, and saved selection management.
All methods are located in a sub object at window.MBAPI.selection
(window.MBAPI.selection.saveScratchBasket(theWidgetId, theTabId, theName, theDescription, theFromDate, theToDate, theDownloadLimit, theIsPublic, thePosAction)
for example)
- SelectionApiPublisher() - Constructor for class jb.gwt_main_modules.base_widgets.client.js_api.SelectionApiPublisher
-
- sendEmail(String, String, String, DefaultCallback) - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MBDOMUtils
-
<button style="padding: 3px;" onclick="window.MBAPI.sendEmail('example@example.com', 'blah', 'test body', function()
{
});">Send Email</button>
This method exposes a javascript function to have the MediaBeacon server send an email
- sendResetPasswordLinkForUsername(String, String, String, String, Boolean, DefaultCallback) - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MBDOMUtils
-
Send a reset password link from a javascript.
- setCSVAction(String) - Method in class jb.gwt_main_modules.base_widgets.client.js_api.mf.NativeField
-
Change the value of the CSV field's associated action.
- setCSVDefaultAction(String) - Method in class jb.gwt_main_modules.base_widgets.client.js_api.mf.NativeField
-
Change the value of the CSV field's associated myDefaultAction variable.
- setCustomButton(String, String, String) - Method in class jb.gwt_main_modules.base_widgets.client.js_api.mf.NativeField
-
Add custom button next to field with passed in javascript
Example to add button that looks like a person icon, has hover text, and adds the current user's username on click to the associated field.
- setDiscussionOpen(boolean) - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MBDOMUtils
-
Make sure next time we show ext view or pre-ext view, we are showing discussions
- setEnabled(boolean) - Method in class jb.gwt_main_modules.base_widgets.client.js_api.mf.NativeField
-
Set the field disabled or enabled.
- setField(DefaultCallback, int, String, String, String, String, String) - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MetadataApiPublisher
-
Can set the metadata of a specific asset
- setHelpMessage(String) - Method in class jb.gwt_main_modules.base_widgets.client.js_api.mf.NativeField
-
Create a help button w/hover, tippy text attached
- setInvalid(boolean, String) - Method in class jb.gwt_main_modules.base_widgets.client.js_api.mf.NativeField
-
Set the validity of the field's value.
- setLabel(String) - Method in class jb.gwt_main_modules.base_widgets.client.js_api.mf.NativeField
-
Set the field label.
- setLanguage(String) - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MBDOMUtils
-
Set the page's language to a particular language, refresh the page
- setMaxLength(int) - Method in class jb.gwt_main_modules.base_widgets.client.js_api.mf.NativeField
-
Set max length accepted by the field
- setMessage(String) - Method in class jb.gwt_main_modules.base_widgets.client.js_api.mf.NativeField
-
Set a message for the field
- setNotEmpty(boolean) - Method in class jb.gwt_main_modules.base_widgets.client.js_api.mf.NativeField
-
Set the field as being not empty (or removing not empty if added via API before).
- setPlaceholderText(String) - Method in class jb.gwt_main_modules.base_widgets.client.js_api.mf.NativeField
-
Text to display in the textbox if no text has been entered.
- setReadOnly(boolean, boolean) - Method in class jb.gwt_main_modules.base_widgets.client.js_api.mf.NativeField
-
Set the field read only.
- setSortOrder(String) - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.SearchApiPublisher
-
Sets the sort order for specified field.
- setSubstitutionSearchProperty(JavaScriptObject, JavaScriptObject) - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.PermissionApiPublisher
-
Sets a search substitution property.
- setupAPI() - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.menu.NativeAssetContextMenu
-
setup our js apis
- setupAPI() - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.menu.NativeMenuItem
-
setup our js apis
- setupAPI() - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.mf.NativeField
-
Setup the field wrapper constructor and functions.
- setupAPI() - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.mf.NativeM3TAForm
-
Setup the M3TAForm wrapper's constructor and functions.
- setupJavascriptAPIs() - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.ChangeLogApiPublisher
-
- setupJavascriptAPIs() - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.DownloadApiPublisher
-
Setup message javascript API.
- setupJavascriptAPIs() - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.FileApiPublisher
-
- setupJavascriptAPIs() - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MBDOMUtils
-
This is not a JavaScript callable method
Create external javascript functions that can be called from the button bar to do actions or show dialogs
- setupJavascriptAPIs() - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MessageApiPublisher
-
Setup message javascript API.
- setupJavascriptAPIs() - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MetadataApiPublisher
-
- setupJavascriptAPIs() - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.mf.M3TAFormApiPublisher
-
Setup the M3TAForm javascript API.
- setupJavascriptAPIs() - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.NotificationsApiPublisher
-
- setupJavascriptAPIs() - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.PermissionApiPublisher
-
- setupJavascriptAPIs() - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.RemoteLoginManager
-
Sets up this manager's api.
- setupJavascriptAPIs() - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.ResolverURLUtils
-
- setupJavascriptAPIs() - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.SearchApiPublisher
-
- setupJavascriptAPIs() - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.SelectionApiPublisher
-
Setup javascript APIs.
- setupJavascriptAPIs() - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.UserApiPublisher
-
- setValue(String) - Method in class jb.gwt_main_modules.base_widgets.client.js_api.mf.NativeField
-
Set the field's value and mark it dirty.
- setValueTransformer(String) - Method in class jb.gwt_main_modules.base_widgets.client.js_api.mf.NativeField
-
Example to append 2 to the end of a returned value: "return theValue + '2'"
- setVisible(boolean) - Method in class jb.gwt_main_modules.base_widgets.client.js_api.mf.NativeField
-
Set the field visible or hidden.
- show3dViewer(int) - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MBDOMUtils
-
Programmatic access to show the 3d viewer in full screen.
- showAdvancedSearch() - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MBDOMUtils
-
Shows advanced search
- showAlert(String, String) - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MessageApiPublisher
-
Show a standard (non-blocking) alert dialog like MediaBeacon would
- showBulkEditDialog() - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MetadataApiPublisher
-
Show the bulk edit dialog
- showContactInfo() - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MBDOMUtils
-
Show contact info
- showDialog(String, Object, String, String, JavaScriptObject, JavaScriptObject, String, String, boolean, boolean) - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MessageApiPublisher
-
Show a dialog.
- showNotificationDialog(String, String, String, String, JavaScriptObject) - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MessageApiPublisher
-
Show a notification dialog with an "OK" button.
- showPreExtendedView(int, String) - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MBDOMUtils
-
<button style="padding: 3px;" onclick="window.MBAPI.createNewAsset("testt", "anotherTest", true, function(theAssetId)
{
if(theAssetId > 0)
{
window.MBAPI.changeViewToDirectory("anotherTest" , function()
{
window.MBAPI.showPreExtendedView(parseInt(theAssetId), "bob");
});
}
}
);">Create New Asset</button>
Shows asset's metadata in pre-extended view
- showReports() - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MBDOMUtils
-
Show the Reports widget
- showUploadDialog(String) - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MBDOMUtils
-
Show the upload dialog with the custom required metaform, if specified.
- startNotification(String, boolean) - Static method in class jb.gwt_main_modules.base_widgets.client.js_api.MBDOMUtils
-
Starts notification for the specified id, opening Notification Center immediately.