Package se.conciliate.extensions.store
Class DocumentBridge
java.lang.Object
se.conciliate.extensions.store.DocumentBridge
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Optional<MTDocument>
asMTDocument
(Object entity) static String
getContent
(Document document, MTLanguage language) static String
getContentSource
(Document document) getDocumentTypes
(Document document) static String
static String
getTitle
(Document document, MTLanguage language) static boolean
isCopyOnPublish
(Document document) static boolean
isMTDocument
(Object entity) static boolean
isShowInPanel
(Document document) static boolean
isTranslated
(Document document, MTLanguage language) static Document
mockDocument
(String sourceId, String id, String title) static Document
mockDocument
(MTDocumentHeader mtDoc)
-
Constructor Details
-
DocumentBridge
public DocumentBridge()
-
-
Method Details
-
isMTDocument
-
asMTDocument
-
getContentSource
-
getPrefix
-
getTitle
-
isTranslated
-
isShowInPanel
-
isCopyOnPublish
-
getContent
-
getLink
-
getDocumentTypes
-
mockDocument
-
mockDocument
-