public class ClassInfoTable extends Object implements Serializable
The main difference between this class and Collection classes is that this class does not use PreparedSelectors internally - which creates a problem with the introduction of the "Smart Views" option which now needs basic class info to resolve PreparedSelector data structures, which would result in infinite recursion if it relied on Collections.
Modifier and Type | Method and Description |
---|---|
static ClassInfoTable |
build(S_LibrarySession session)
Construct a class info table.
|
AttributeValueTable |
getAttributeValueTable()
Gets the encapsulated AttributeValueTable.
|
String |
getClassObjectDatabaseObjectName(LibrarySessionInterface session,
String className)
Gets the ClassObject database obejct name by its class name.
|
String |
getClassObjectDatabaseObjectName(String className)
Gets the ClassObject database obejct name by its class name.
|
Long |
getClassObjectId(LibrarySessionInterface session,
String className)
Gets the ClassObject ID by name.
|
Long |
getClassObjectId(String className)
Gets the ClassObject ID by name.
|
String |
getClassObjectTable(LibrarySessionInterface session,
String className)
Gets the ClassObject table by its name.
|
String |
getClassObjectTable(String className)
Gets the ClassObject table by its name.
|
AttributeValue |
getClassObjectValue(LibrarySessionInterface session,
String className)
Gets an AttributeValue representation of a CLASSOBJECT that has the
specified name.
|
AttributeValue |
getClassObjectValue(String className)
Gets an AttributeValue representation of a CLASSOBJECT that has the
specified name.
|
String |
getClassObjectView(LibrarySessionInterface session,
String className)
Gets the ClassObject view by its name.
|
String |
getClassObjectView(String className)
Gets the ClassObject view by its name.
|
boolean |
isClassObjectPublic(LibrarySessionInterface session,
String className)
Lookup the ClassObject's "is this a PublicObject subclass" indication
using the specified ClassInfo table anbd class name.
|
boolean |
isClassObjectPublic(String className)
Lookup the ClassObject's "is this a PublicObject subclass" indication
using the specified ClassInfo table anbd class name.
|
public AttributeValueTable getAttributeValueTable() throws IfsException
IfsException
- if the operation failspublic AttributeValue getClassObjectValue(String className) throws IfsException
Will return null if no ClassObject exists with this name.
className
- ClassObject nameIfsException
- if the operation failspublic AttributeValue getClassObjectValue(LibrarySessionInterface session, String className) throws IfsException
Will return null if no ClassObject exists with this name.
session
- session contextclassName
- ClassObject nameIfsException
- if the operation failspublic Long getClassObjectId(String className) throws IfsException
Will return null if no ClassObject exists with this name.
className
- ClassObject nameIfsException
- if operation fails.public Long getClassObjectId(LibrarySessionInterface session, String className) throws IfsException
Will return null if no ClassObject exists with this name.
session
- session contextclassName
- ClassObject nameIfsException
- if operation fails.public boolean isClassObjectPublic(String className) throws IfsException
className
- ClassObject nameIfsException
- if operation fails.public boolean isClassObjectPublic(LibrarySessionInterface session, String className) throws IfsException
session
- session contextclassName
- ClassObject nameIfsException
- if operation fails.public String getClassObjectTable(String className) throws IfsException
Will return null if no ClassObject exists with this name.
className
- ClassObject nameIfsException
- if operation fails.public String getClassObjectTable(LibrarySessionInterface session, String className) throws IfsException
Will return null if no ClassObject exists with this name.
session
- session contextclassName
- ClassObject nameIfsException
- if operation fails.public String getClassObjectView(String className) throws IfsException
Will return null if no ClassObject exists with this name.
className
- ClassObject nameIfsException
- if operation fails.public String getClassObjectView(LibrarySessionInterface session, String className) throws IfsException
Will return null if no ClassObject exists with this name.
session
- session contextclassName
- ClassObject nameIfsException
- if operation fails.public String getClassObjectDatabaseObjectName(String className) throws IfsException
Will return null if no ClassObject exists with this name.
className
- ClassObject nameIfsException
- if operation fails.public String getClassObjectDatabaseObjectName(LibrarySessionInterface session, String className) throws IfsException
Will return null if no ClassObject exists with this name.
session
- session contextclassName
- ClassObject nameIfsException
- if operation fails.public static ClassInfoTable build(S_LibrarySession session) throws IfsException
session
- the session contextIfsException
- if the operation failsCopyright © 2025. All rights reserved.