Same as calling optAncestor(var).orElse(null)
If this object is a Collection it returns it as an array. The majority of objects in the system are Collections. For most objects, this is the same as calling [[children]].
Get the children of the object. This retrieval goes one level deep.
Optional
classType: string | numberReturns the content as a string after applying the [[ExistingContentSettings]. Same as calling existingContent().apply(settings).toReaderContent().apply(settings).content().
Returns the content as a string using the default [[ExistingContentSettings]. Will use 'UTF-8' as the encoding. Same as calling existingContent().toReaderContent().content().
TODO
Returns the file size of the current document.
TODO
Returns the Content Type of the current document.
Sets the Content Type of the current document.
The "created at" timestamp of this object.
Returns the user and timestamp relating to the upload of this document.
Returns the timestamp of when the current document was uploaded.
The creator of this object.
Returns a [[Java.IO.DataHandler]] for this document
Returns a [[Java.IO.DataSource]] for this document
Returns a webdav URL for the current document.
TODO
The deleted children of this object. Only looks one level deep. E.g. a form's deleted children could include fields and form entries. A folder's deleted children could include folders, forms, and formulas, but not any of those forms' entries.
TODO
The default display name of this object. For the most part, this is the same as calling toString()
, which is the same as inserting the object into a string.
Sets the Display Name.
TODO
Returns the filename of the current document.
Returns the parent [[Folder]] of the current document.
Provides an Inputstream after applying the [[ExistingContentSettings]. Same as calling existingContent().apply(settings).forInputStream(input => {}).
Provides an Inputstream with default [[ExistingContentSettings]]. Same as calling existingContent().forInputStream(input => {}).
Provides a reader after applying the [[ExistingContentSettings]. Same as calling existingContent().apply(settings).toReaderContent().apply(settings).forReader(reader => {}).
Provides a reader with default [[ExistingContentSettings]]. Will use 'UTF-8' for enconding. Same as calling existingContent().toReaderContent().forReader(reader => {}).
Set new content using JavaByteArray. Same as calling fromBytes(newContent().apply(settings), bytes)
Set new content using JavaByteArray. Same as calling fromBytes(newContent(), bytes)
Set new content using string. Same as calling fromString(newContent().apply(settings), content)
Set new content using string. Same as calling fromString(newContent(), content)
Returns the path to the current document.
Gets an array of all the object's ancestors.
TODO
TODO
Returns true if an Admin uploaded the document
Returns a true if the document is not uploaded yet
TODO
Returns the Local Cache object for this Thread/Base Object.
Same as calling optLock().orElse(null)
Returns the timestamp of the last modified action of the current document.
The [[User]] that last modified this object.
TODO
Optional
create: booleanTODO
Returns the notes(descripton) set for the current document.
Sets the notes(description) for the current document.
A [[Java.Optional]] of the ancestor with the specific class.
A [[Java.Optional]] of the current object's parent object.
Optional
classType: string | numberSame as calling optParent(var).orElse(null)
Optional
classType: string | numberReturns the path to the current document relative to it's Document Library.
Returns a URL to access the current document.
TODO
TODO
TODO
Reset the current object so that it is cleared from the cache and looked up from the database.
Returns a URL to access the current document that relies on the id of the field, rather than the name of the document.
Creates the "thumbnail" builder object with which you can build an image stored in a document field, or provide a link to download the contents. Minimum width/height is 56. If you do not pass a value, it will default still to 56.
This is simply a shorthand method for when you are extracting images from document fields.for display on merge reports. Any value of either parameter less than 56 will default to 56.
Optional
height: numberif missing, this value will default to provided value for width.
Just like thumbnail()
but with the secondary methods built in; you simply pass the parametersas an object and .build() is called for you. Click DocumentThumbnailSettings type parameter below to see the list of available parameter values. Note that if you provide a height or a width, but not both, then the missing of those two will default to the value of the other; I.E. it will create a square image
Returns the current document as a byte array after applying the [[ExistingContentSettings]. Same as calling existingContent().apply(settings).toBytes().
Returns the current document as a byte array using default [[ExistingContentSettings]. Same as calling existingContent().toBytes().
Makes changes to the database for this object
TODO
The versions of this object.
Returns a view URL for this object, if it has one. This value is always a relative URL, meaning it does not contain the protocol prefix or domain name such as http://xyz.bluestep.net
.
TODO
Example