Interface MTDocumentTypeHeader

All Superinterfaces:
Comparable<MTNamedObject>, MTNamedObject
All Known Subinterfaces:
MTDocumentType

public interface MTDocumentTypeHeader extends MTNamedObject
Header interface for document types. Each repository maintains a list of document types that can be connected to documents. A document can have any number of different document types connected to it within the same repository.
Since:
3.0
  • Method Details

    • getLastModified

      Date getLastModified()
      Returns the time when the list was last modified.
      Returns:
      The last modified time.
    • isTranslated

      boolean isTranslated(MTLanguageHeader lang)
      Returns true if this document type is translated in the specifiec language.
      Parameters:
      lang - The language.
      Returns:
      true if this document type is translated in the specifiec language.
    • expand

      Returns a MTDocumentType for this document type. Beware that this might require querying the storage layer for more data.
      Returns:
      A MTDocumentType representing this document type.
      Throws:
      MTAccessException
      Since:
      3.0
    • remove

      void remove() throws MTAccessException
      Removes this document type. This will remove the document type from all documents that uses it.
      Throws:
      MTAccessException
      Since:
      3.0