Class DDCInfo

java.lang.Object
com.saperion.rmi.DDCInfo
All Implemented Interfaces:
Serializable

public final class DDCInfo extends Object implements Serializable
Internal bean for DDC infos.
See Also:
  • Constructor Details

    • DDCInfo

      public DDCInfo(SaFieldDescription[] desc, com.saperion.jni.SaJNIDdcInfo jniInfo, MandantInfo mandantInfo) throws SaRMIDDCException
      Constructor.
      Parameters:
      desc - Field description array
      jniInfo - information about the ddc delivered by the backend
      mandantInfo - information about the mandant the ddc was found for
      Throws:
      SaRMIDDCException - RMI DDC Exception
  • Method Details

    • getDescriptions

      public SaFieldDescription[] getDescriptions()
      Returns:
      ddc Field descriptions
    • hasSysIndexState

      public boolean hasSysIndexState()
      Returns:
      ddc contains a field SysIndexState
    • isRegularDefinition

      public boolean isRegularDefinition()
      Returns:
      this definition is a regular ddc, that means - ddc contains XHDOC field.
    • hasSYSREVDATETIME

      public boolean hasSYSREVDATETIME()
      Returns:
      ddc contains a SYSREVDATETIME field containing the revision timestamp information.
    • hasSYSREVCOMMENT

      public boolean hasSYSREVCOMMENT()
      Returns:
      ddc contains a SYSREVCOMMENT field containing the revision comment.
    • hasSYSREVREASON

      public boolean hasSYSREVREASON()
      Returns:
      ddc contains a SYSREVREASON field containing the revision reason.
    • hasSYSREVVERSION

      public boolean hasSYSREVVERSION()
      Returns:
      ddc contains a SYSREVVERSION field containing the revision version.
    • hasPARENTID

      public boolean hasPARENTID()
      Returns:
      ddc contains a jsr related field PARENTID
    • hasLINKID

      public boolean hasLINKID()
      Returns:
      ddc contains a jsr related mixin field LINKID
    • hasSYSORDERKEY

      public boolean hasSYSORDERKEY()
      Returns:
      ddc contains a jsr related mixin field LINKID
    • isLookuptable

      public boolean isLookuptable()
      Returns:
      DDC is a lookuptable.
    • hasSysACLUserList

      public boolean hasSysACLUserList()
      Returns:
      Definition contains SysAclUserlist
    • isFullText

      public boolean isFullText()
      Returns:
      DDC has fulltext field.
    • getDdcName

      public String getDdcName()
      getter method.
      Returns:
      ddc name
    • containsBACKLINKFIELD

      public boolean containsBACKLINKFIELD()
      returns whether the current ddc table contains the backlink table.
      Returns:
      true if the one of the associated tables is backlink table, false otherwise.
    • isRevisionEnabled

      public boolean isRevisionEnabled()
      Returns:
      true if the provided ddc contains required for revision.
    • hasSYSROWID

      public boolean hasSYSROWID()
      Returns:
      true if the SYSROWID field is present, false otherwise.
    • hasXHDOC

      public boolean hasXHDOC()
      Returns:
      true if the XHDOC field is present, false otherwise.
    • hasSYSFOLDERPATH

      public boolean hasSYSFOLDERPATH()
      Returns:
      folder ddc contains field SYSFOLDERPATH.
    • hasSYSPROPERTIES

      public boolean hasSYSPROPERTIES()
      Returns:
      folder ddc contains field SYSPROPERTIES.
    • hasSYSINDEXCONTENT

      public boolean hasSYSINDEXCONTENT()
    • isFolderDDC

      public boolean isFolderDDC()
      Returns:
      DDC is folder DDC
    • getTableName

      public String getTableName()
      Gets the table name as it was passed from the backend.
      Returns:
      the table name
    • getTableNameWithSchema

      public String getTableNameWithSchema()
      Gets the table name as it was passed from the backend. Unlike getTableName(), this method does not remove the schema from the name if it is present.
      Returns:
      the table name
    • getEntityName

      public String getEntityName()
      Gets the entity name. (The entity-name is the table name in lower-case.)
      Returns:
      the entity name
    • isFileable

      public boolean isFileable()
      Checks if is fileable.
      Returns:
      true, if is fileable
    • getBackendInfo

      public com.saperion.jni.SaJNIDdcInfo getBackendInfo()
      Gets the backend info.
      Returns:
      the backend info
    • getAuditTableName

      public String getAuditTableName()
      Gets the audit table name associated with the DDC.
      Returns:
      the audit table name
    • getMandantInfo

      public MandantInfo getMandantInfo()
      Gets the mandant info.
      Returns:
      the mandant info
    • getDataSource

      public String getDataSource()
      Gets the data source.
      Returns:
      the data source
    • isMultiFileable

      public boolean isMultiFileable()
      Returns:
      whether a document of this ddc can be filed to several folders.
    • hasSysClient

      public boolean hasSysClient()
      Returns:
      true if sysclient field is present
    • hasSysDocState

      public boolean hasSysDocState()
      Returns:
      true if SYSDOCSTATE field is present
    • getVersion

      public int getVersion()
      Returns:
      the version of the DDC