Skip to main content
Functions accessible via 'DocumentVO'
Updated over a month ago

1

getAttachedFileName

Signature: getAttachedFileName()

Description: To get attached file name.

Returns: [String] - Attached file name

2

getCustomAttributes

Signature: getCustomAttributes()

Description: To get custom attributes of the revision.

Returns: List<CustomAttributeVO>

3

getDocRef

Signature: getDocRef()

Description: To get Doc Ref (document reference) of the revision.

Returns: [String] - DocRef

4

getDocTitle

Signature: getDocTitle()

Description: To get document title of the revision.

Returns: [String] - Document Title

5

getFileName

Signature: getFileName()

Description: To get file name of the revision.

Returns: [String] - File name

6

getFileSize

Signature: getFileSize()

Description: To get file size of the revision.

Returns: [long] - File size in bytes

7

getHasAttachment

Signature: getHasAttachment()

Description: To get details of is revision has attachment (True = revision has attachment, False = revision does not have attachment).

Returns: [True/False] - Has attachment flag

8

getPublishDate

Signature: getPublishDate()

Description: To get publish date of the revision.

Returns: [String] - Document publish date

9

getPublisherEmail

Signature: getPublisherEmail()

Description: To get publisher email.

Returns: [String] - Document publisher email

10

getPurposeOfIssue

Signature: getPurposeOfIssue()

Description: To get purpose of issue of the revision.

Returns: [String] - Purpose of issue

11

getPoiAbbreviation

Signature: getPoiAbbreviation()

Description: To get abbreviation of POI

Returns: [String] - Abbreviation of Purpose of issue

12

getRevision

Signature: getRevision()

Description: To get revision number of the revision.

Returns: [String] - Revision

13

getRevisionNotes

Signature: getRevisionNotes()

Description: To get revision notes of the revision.

Returns: [String] - Revision notes

14

getStatus

Signature: getStatus()

Description: To get status of the revision.

Returns: [String] - Status

15

isPrivate

Signature: isPrivate()

Description: To get file privacy flag (True = Private, False = Public)

Returns: [True/False] - File privacy

16

setDocTitle

Signature: setDocTitle(String docTitle)

Description: To set document title of the revision.

Returns: [True/False] - Document title

17

setRevision

Signature: setRevision(String revision)

Description: To set revision number of the revision.

Returns: ---

18

setResponseMessage

Signature: setResponseMessage(String responseMessage)

Description: To set response message to display on user interface when validation via groovy script is failed, should be used in groovy script configured with 'Pre' mode type trigger only.

Returns: ---

19

setRevisionNotes

Signature: setRevisionNotes(String revisionNotes)

Description: To set revision notes of the revision.

Returns: ---

20

setResponseStatus

Signature: setResponseStatus(boolean true/false)

Description: To set response status true / false to use for validation in groovy script configured with 'Pre' mode type trigger. Usually will be used to set validation failed with false.

Returns: ---

21

getStatusAbbreviation

Signature: getStatusAbbreviation()

Description: To get abbreviation of Status

Returns: [String] - Abbreviation of Status



Did this answer your question?