public class JSCheckoutManager extends JSBaseScriptableObject
Constructor and Description |
---|
JSCheckoutManager() |
Modifier and Type | Method and Description |
---|---|
boolean |
(JavaScript Function) cancelCheckout(ManagedFile theFile)
Remove PWC and unlock the asset.
|
boolean |
(JavaScript Function) checkinWorkingCopy(ManagedFile theFile,
java.lang.String theComment,
IFileObject theUploadFile)
Check in the Working Copy as a new version of the asset.
|
int |
(JavaScript Function) checkout(ManagedFile theFile)
Check out the asset, creating a Private Working Copy (PWC) for editing.
|
int |
(JavaScript Function) getWorkingCopyId(ManagedFile theFile)
Get the ID of the working copy, for editing, etc.
|
associateValue, avoidObjectDetection, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, get, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassName, getClassPrototype, getDefaultValue, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, hasInstance, hasProperty, hasProperty, isConst, isEmpty, isExtensible, isSealed, preventExtensions, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setExternalArrayData, setGetterOrSetter, setParentScope, setPrototype, size
public int (JavaScript Function) checkout(ManagedFile theFile)
theFile
- the file to check out.public boolean (JavaScript Function) cancelCheckout(ManagedFile theFile)
theFile
- the file to cancel check out.public boolean (JavaScript Function) checkinWorkingCopy(ManagedFile theFile, java.lang.String theComment, IFileObject theUploadFile)
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 (JavaScript Function) getWorkingCopyId(ManagedFile theFile)
Copyright © 2017 MediaBeacon, Inc. All Rights Reserved.