public class JSCheckoutManager extends JSBaseScriptableObject
myLogger
Constructor and Description |
---|
JSCheckoutManager() |
Modifier and Type | Method and Description |
---|---|
boolean |
jsFunction_cancelCheckout(ManagedFile theFile)
Remove PWC and unlock the asset.
|
boolean |
jsFunction_checkinWorkingCopy(ManagedFile theFile,
java.lang.String theComment,
IFileObject theUploadFile,
boolean theReplaceName,
boolean theReplaceMetadata)
Check in the Working Copy as a new version of the asset.
|
int |
jsFunction_checkout(ManagedFile theFile)
Check out the asset, creating a Private Working Copy (PWC) for editing.
|
org.mozilla.javascript.NativeArray |
jsFunction_getVersionAssetIds(int theAssetId)
get a list of versions including the current
|
int |
jsFunction_getWorkingCopyId(ManagedFile theFile)
Get the ID of the working copy, for editing, etc.
|
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, ensureSymbolScriptable, equivalentValues, get, get, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getAttributes, getClassName, getClassPrototype, getDefaultValue, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGeneratorFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, has, hasInstance, hasProperty, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, put, put, putConst, putConstProperty, putProperty, putProperty, putProperty, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setAttributes, setExternalArrayData, setGetterOrSetter, setParentScope, setPrototype, size
public int jsFunction_checkout(ManagedFile theFile)
theFile
- the file to check out.public boolean jsFunction_cancelCheckout(ManagedFile theFile)
theFile
- the file to cancel check out.public boolean jsFunction_checkinWorkingCopy(ManagedFile theFile, java.lang.String theComment, IFileObject theUploadFile, boolean theReplaceName, boolean theReplaceMetadata)
theFile
- the file that will get the PWC as a new version.theComment
- a description of the change.theUploadFile
- the file that will replace the originalpublic int jsFunction_getWorkingCopyId(ManagedFile theFile)
public org.mozilla.javascript.NativeArray jsFunction_getVersionAssetIds(int theAssetId)
theAssetId
- the current idCopyright © 2023 MediaBeacon, Inc. All Rights Reserved.