Class ActiveDocumentExtension
java.lang.Object
com._1c.g5.v8.dt.activedocument.model.ActiveDocumentExtension
Operation implementations for EClass
ActiveDocument-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringbuildActiveDocumentContentBlobFqn(ActiveDocument activeDocument) Builds active document content blob FQN.static StringbuildActiveDocumentContentBlobFqn(String activeDocumentFqn) Builds active document content blob FQN.static StringExtracts the active document FQN from the corresponding content blob FQN.static InputStreamgetContent(ActiveDocument activeDocument) Gets the contents of the specifiedActiveDocumentinstance.static booleanChecks if the specified FQN belongs to an active document content blob.static voidsetContent(ActiveDocument activeDocument, InputStream content) Sets the contents of the specifiedActiveDocumentinstance.
-
Constructor Details
-
ActiveDocumentExtension
public ActiveDocumentExtension()
-
-
Method Details
-
getContent
Gets the contents of the specifiedActiveDocumentinstance.- Parameters:
activeDocument- TheActiveDocumentinstance. May not benull.- Returns:
- an
InputStreaminstance providing the content. Nevernull.
-
setContent
Sets the contents of the specifiedActiveDocumentinstance.- Parameters:
activeDocument- TheActiveDocumentinstance. May not benull.content- AnInputStreaminstance providing the content. May not benull.
-
isActiveDocumentContentBlobFqn
Checks if the specified FQN belongs to an active document content blob.- Parameters:
fqn- The FQN. May not benull.- Returns:
trueif the specified FQN belongs to an active document content blob,falseotherwise.
-
buildActiveDocumentContentBlobFqn
Builds active document content blob FQN.- Parameters:
activeDocument- The active document. May not benull.- Returns:
- the blob FQN. Never
null.
-
buildActiveDocumentContentBlobFqn
Builds active document content blob FQN.- Parameters:
activeDocumentFqn- The active document FQN. May not benull.- Returns:
- the blob FQN. Never
null.
-
extractActiveDocumentFqnFromContentBlobFqn
Extracts the active document FQN from the corresponding content blob FQN.- Parameters:
fqn- The blob FQN. May not benull.- Returns:
- the extracted active document FQN. Never
null.
-