public class FileApiPublisher
extends java.lang.Object
window.MBAPIwindow.MBAPI.showDirectoryCopyMoveDialog(theDirectoryName, theDirectoryId) for example)| Constructor and Description |
|---|
FileApiPublisher() |
| Modifier and Type | Method and Description |
|---|---|
static void |
copyFile(int theAssetId,
int theDirectoryId,
jb.gwt_main_modules.base_widgets.client.DefaultCallback theCallback)
Deprecated.
|
static void |
lookupFileName(int theAssetId,
jb.gwt_main_modules.base_widgets.client.DefaultCallback theCallback)
Deprecated.
|
static void |
renameFile(int theAssetId,
java.lang.String theNewName,
jb.gwt_main_modules.base_widgets.client.DefaultCallback theCallback)
Deprecated.
|
static void |
resolverCopy(java.lang.String theResolverUrl,
int theDirectoryId,
jb.gwt_main_modules.base_widgets.client.DefaultCallback theCallback)
Copy files specified by a resolver url to a new directory.
|
static void |
resolverRename(java.lang.String theResolverUrl,
java.lang.String theNewName,
jb.gwt_main_modules.base_widgets.client.DefaultCallback theCallback)
Renames files specified by a resolver url.
|
static void |
setupJavascriptAPIs() |
static void |
showDirectoryCopyMoveDialog(java.lang.String theDirectoryName,
int theDirectoryId)
Shows the Dialog for Directory Move and Copy
|
public static void setupJavascriptAPIs()
public static void resolverRename(java.lang.String theResolverUrl,
java.lang.String theNewName,
jb.gwt_main_modules.base_widgets.client.DefaultCallback theCallback)
theResolverUrl - the resolver urltheNewName - the asset's new nametheCallback - the function to callback topublic static void showDirectoryCopyMoveDialog(java.lang.String theDirectoryName,
int theDirectoryId)
theDirectoryName - theDirectoryId - public static void resolverCopy(java.lang.String theResolverUrl,
int theDirectoryId,
jb.gwt_main_modules.base_widgets.client.DefaultCallback theCallback)
theResolverUrl - the resolver urltheDirectoryId - the directory id to copy intotheCallback - the callback to inform@Deprecated
public static void renameFile(int theAssetId,
java.lang.String theNewName,
jb.gwt_main_modules.base_widgets.client.DefaultCallback theCallback)
function hello()
{
parent.MBAPI.renameFile(4622, "bobert.jpg", success);
}
function success(theSuccess)
{
window.alert(theSuccess);
}theAssetId - asset id to renametheNewName - the asset's new nametheCallback - function to callback to, true/false success value.@Deprecated
public static void copyFile(int theAssetId,
int theDirectoryId,
jb.gwt_main_modules.base_widgets.client.DefaultCallback theCallback)
theAssetId - the asset to copytheDirectoryId - the directory id to copy intotheCallback - the callback to inform (-1 for failure, asset id for success)@Deprecated
public static void lookupFileName(int theAssetId,
jb.gwt_main_modules.base_widgets.client.DefaultCallback theCallback)
theAssetId - theCallback - DeprecatedCopyright © 2026 MediaBeacon, Inc. All Rights Reserved.