Package com.saperion.rmi
Class DDCInfo
java.lang.Object
com.saperion.rmi.DDCInfo
- All Implemented Interfaces:
Serializable
Internal bean for DDC infos.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDDCInfo
(SaFieldDescription[] desc, com.saperion.jni.SaJNIDdcInfo jniInfo, MandantInfo mandantInfo) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
returns whether the current ddc table contains the backlink table.Gets the audit table name associated with the DDC.com.saperion.jni.SaJNIDdcInfo
Gets the backend info.Gets the data source.getter method.Gets the entity name.Gets the mandant info.Gets the table name as it was passed from the backend.Gets the table name as it was passed from the backend.int
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
hasXHDOC()
boolean
Checks if is fileable.boolean
boolean
boolean
boolean
boolean
boolean
-
Constructor Details
-
DDCInfo
public DDCInfo(SaFieldDescription[] desc, com.saperion.jni.SaJNIDdcInfo jniInfo, MandantInfo mandantInfo) throws SaRMIDDCException Constructor.- Parameters:
desc
- Field description arrayjniInfo
- information about the ddc delivered by the backendmandantInfo
- information about the mandant the ddc was found for- Throws:
SaRMIDDCException
- RMI DDC Exception
-
-
Method Details
-
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
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
Gets the table name as it was passed from the backend.- Returns:
- the table name
-
getTableNameWithSchema
Gets the table name as it was passed from the backend. UnlikegetTableName()
, this method does not remove the schema from the name if it is present.- Returns:
- the table name
-
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
Gets the audit table name associated with the DDC.- Returns:
- the audit table name
-
getMandantInfo
Gets the mandant info.- Returns:
- the mandant info
-
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
-