Modifier and Type | Method and Description |
---|---|
static boolean |
ClassRules.alwaysReference(ClassObject co)
Returns whether to always add a reference (and add the object to the
reference cache) for objects of the given class type.
|
static String |
ClassRules.getAction(ClassObject co)
Returns the action for a given class.
|
static ClassRules.Detail[] |
ClassRules.getDetails(ClassObject co)
Returns the details to retrieve for the given class.
|
static String |
ClassRules.getReference(ClassObject co)
Returns the reference directive for a given class.
|
static String |
ClassRules.getUniqueAttribute(ClassObject co)
Returns the unique attribute for the given class, if any.
|
static boolean |
ClassRules.neverReference(ClassObject co)
Returns whether to never add a referencefor objects of the given class
type.
|
Modifier and Type | Method and Description |
---|---|
protected ClassObject |
CreatePolicyList.lookupClassObject(LibrarySession session,
String name)
Find a ClassObject by name; return null if no ClassObject
exists with the specified name.
|
protected ClassObject |
PolicyManager.lookupClassObject(String name)
Find a ClassObject by name; throw an exception if no ClassObject
exists with the specified name.
|
Modifier and Type | Method and Description |
---|---|
static ClassObject |
CreateClass.createNewClass(Logger obj,
LibrarySession sess,
ParameterTable params) |
Modifier and Type | Method and Description |
---|---|
protected ClassObject |
ClassObjectAdmin.createClassObject(LibrarySession sess,
ParameterTable params)
Section variant of Create ClassObject
|
protected ClassObject |
ClassObjectAdmin.createClassObject(LibrarySession sess,
String classdefFileToken)
inline/internal variant of Create ClassObject
|
protected ClassObject |
ClassObjectAdmin.lookupClass(LibrarySession sess,
String name)
Lookup Class by name
|
protected ClassObject[] |
ClassObjectAdmin.resolveClassList(LibrarySession sess,
String classSpec) |
Modifier and Type | Method and Description |
---|---|
String[] |
SelectorObjectAdmin.getObjectAttrNames(ClassObject cls)
Get an array of attribute names for an object
|
protected void |
ClassObjectAdmin.showClass(LibrarySession sess,
ClassObject clsobj) |
void |
SelectorObjectAdmin.showObjectAttrsHdr(LibrarySession sess,
ClassObject cls,
String[] attrNames)
Display a header row of attribute names for an object
|
Modifier and Type | Method and Description |
---|---|
protected void |
FreeClassObjectAction.clearClassNames(LibrarySession sess,
ClassObject co)
Clear the attributes BeanClassPath, ServerClassPath, and
SelectorClassPath for the specified ClassObject.
|
protected void |
FreeClassObjectAction.freeBundles(LibrarySession sess,
ClassObject co)
Free the bundles associated with the class and its
Attributes.
|
void |
RecreateClassObjectViews.recreateViews(LibrarySession session,
ClassObject co)
Creates or re-creates the views for the specified ClassObject, and its
subclasses.
|
protected void |
ObjectNameReset.resetObjectNames(LibrarySession session,
String className,
ClassObject[] omitClasses) |
protected ApplyCategoryFlag.CategoryInfo[] |
ApplyCategoryFlag.selectIdBatch(LibrarySession session,
ClassObject co,
long lastId,
int batchSize)
Select a batch of IDs for Category objects that need to be processed,
for the specified class.
|
protected boolean |
ObjectNameReset.shouldOmit(LibrarySession session,
LibraryObject obj,
ClassObject[] omitClasses) |
Modifier and Type | Field and Description |
---|---|
protected ClassObject |
ClassObject.m_Superclass
The Superclass of this CLASSOBJECT.
|
Modifier and Type | Method and Description |
---|---|
protected static ClassObject |
ClassObject.constructClassObject(LibrarySession sess,
S_LibraryObjectData data)
Internal use only: Constructs a ClassObject for the specified data.
|
static ClassObject[] |
ClassObject.findAll(LibrarySession session)
Returns the set of defined ClassObjects.
|
static ClassObject |
ClassObject.findByName(LibrarySession session,
String name)
Returns the a ClassObject matching the
specified name.
|
ClassObject |
ActivitySpecification.getActivityRecordClass()
Gets the ClassObject to use for newly
created ActivityRecords for activity defined by this instance.
|
ClassObject |
ActivitySpecificationDefinition.getActivityRecordClass()
Gets the PerformedActivitySpecification, if explicitly set.
|
ClassObject[] |
ClassDomain.getClasses()
Gets the classes in this ClassDomain.
|
ClassObject |
ClassDomain.getClasses(int index)
Gets the specified class in this ClassDomain.
|
ClassObject |
LibraryObject.getClassObject()
Returns this object's class.
|
ClassObject |
LibraryObjectDefinition.getClassObject()
Return the ClassObject for the new instance.
|
ClassObject |
LibrarySession.getClassObject(Long classid)
Gets the ClassObject for the specified class id.
|
ClassObject |
LibrarySession.getClassObjectByName(String className)
Returns a class object given a class name, throwing an exception
if not found.
|
ClassObject |
LibrarySession.getClassObjectByName(String className,
boolean enforce)
Returns a class object given a class name, optionally returning null
if not found.
|
static ClassObject |
ClassObject.getClassObjectFromLabel(LibrarySession sess,
String label)
returns a ClassObject, based on a specified Label.
|
ClassObject |
DefinitionObject.getDefiningClass()
Returns the ClassObject for which the definition applies.
|
ClassObject |
Attribute.getDefiningClassObject()
Returns the ClassObject that defines this attribute.
|
ClassObject[] |
DependentView.getDependentClassObjects()
Gets The ClassObjects this object depends upon.
|
ClassObject[] |
ClassObject.getDirectSubclasses()
Gets the direct subclasses of this ClassObject.
|
ClassObject |
ClassObject.getDirectSubclasses(int index)
Gets the specified direct subclass of this ClassObject.
|
ClassObject[] |
ClassObject.getSubclasses()
Gets the subclasses of this ClassObject.
|
ClassObject |
ClassObject.getSubclasses(int index)
Gets the specified subclass of this ClassObject.
|
ClassObject |
ClassObject.getSuperclass()
Gets the superclass of this ClassObject.
|
ClassObject |
ClassObjectDefinition.getSuperclass()
Deprecated.
CM SDK 10gR2: use getAttribute(ClassObject.SUPERCLASS_ATTRIBUTE)
|
ClassObject |
SimpleProperty.getValueClassObject()
Gets the ClassObject of the value of this SimpleProperty,
if it is a SimpleObject or SimpleObject array type.
|
protected static ClassObject |
ClassObject.vectorClassObjectElement(Vector vector,
int index)
Internal use only: Gets the specified element of a vector of
ClassObjects.
|
static ClassObject[] |
ClassObject.vectorToClassObjectArray(Vector vector)
Internal use only: Converts a vector of ClassObjects to an a ClassObject
array.
|
Modifier and Type | Method and Description |
---|---|
protected InterMediaSourceDefinition |
InterMediaAnnotator.constructMediaSourceDefinition(LibrarySession session,
ClassObject classobj)
Constructs an InterMediaSourceDefinition of the desired type.
|
static String |
Search.convertAttributeName(ClassObject cls,
String attrName)
Helper Functions used by Qualifiers to convert attribute names from
old names to current names.
|
void |
LibrarySession.deregisterClassEventHandler(ClassObject co,
boolean includeSubclasses,
IfsEventHandler handler)
Deregisters the specified IfsEventHandler for the specified
class.
|
Category[] |
PublicObject.getCategories(ClassObject classobj)
Returns the associated Category objects that are instances of the
ClassObject (or one of its subclasses) specified.
|
SchemaCategory[] |
SchemaObject.getCategories(ClassObject classobj)
Returns the associated SchemaCategory objects that are instances of the
ClassObject (or one of its subclasses) specified.
|
SystemCategory[] |
SystemObject.getCategories(ClassObject classobj)
Returns the associated SystemCategory objects that are instances of the
ClassObject (or one of its subclasses) specified.
|
Category[] |
PublicObject.getCategories(ClassObject classobj,
SortSpecification sort)
Returns the associated Category objects that are instances of
the specified class or a subclass of the specified class.
|
SchemaCategory[] |
SchemaObject.getCategories(ClassObject classobj,
SortSpecification sort)
Returns the associated SchemaCategory objects that are instances of
the specified class or a subclass of the specified class.
|
SystemCategory[] |
SystemObject.getCategories(ClassObject classobj,
SortSpecification sort)
Returns the associated SystemCategory objects that are instances of
the specified class or a subclass of the specified class.
|
Category |
PublicObject.getCategory(ClassObject classobj)
Returns the associated Category object that is an
instance of the ClassObject (or one of its subclasses) specified.
|
BranchRelationship[] |
VersionSeries.getChildBranchRelationships(ClassObject relClass,
SortSpecification sortSpec)
Returns an array of BranchRelationships that describe
branch or integrate operations involving this VersionSeries as
a parent (the other series are the child).
|
Attribute[] |
ClassObject.getExtendedClassAttributes(ClassObject superclass)
Gets an array of the Attributes that this ClassObject has and that the
specified superclass does not have.
|
Category |
PublicObject.getFirstCategory(ClassObject clssObj)
Return the first category of given type, or null.
|
PublicObject[] |
PublicObject.getLeftwardRelationshipObjects(ClassObject relClass)
Returns all "left side" public objects that are related to this object by
the specied Relationship Class.
|
Relationship[] |
PublicObject.getLeftwardRelationships(ClassObject relClass)
Returns all "left side" relationship instances that are used to relate to this object
to other PublicObjects.
|
long |
PublicObject.getLeftwardRelationshipsCount(ClassObject relClass)
Returns the count of all "left side" relationship instances that are used to relate to this object
to other PublicObjects.
|
BranchRelationship[] |
VersionSeries.getParentBranchRelationships(ClassObject relClass,
SortSpecification sortSpec)
Returns an array of BranchRelationships that describe
branch or integrate operations involving this VersionSeries as
a child (the other series are the parent).
|
PublicObject[] |
PublicObject.getRightwardRelationshipObjects(ClassObject relClass)
Returns all "right side" public objects that are related to this object by
the specified Relationship Class.
|
Relationship[] |
PublicObject.getRightwardRelationships(ClassObject relClass)
Returns all "right side" relationship instances that are used to relate to this object
to other PublicObjects.
|
boolean |
PublicObject.hasCategory(ClassObject clssObj)
Check, if any category of given type is present.
|
boolean |
ClassDomain.inClassDomain(ClassObject co)
Determines whether the specified ClassObject is within
this ClassDomain.
|
boolean |
ClassObject.isDirectSubclassOf(ClassObject classObject)
Gets whether this ClassObject is a direct subclass of the specified
ClassObject.
|
boolean |
LibraryObject.isInstanceOf(ClassObject clss)
Determine if this is an instance of
the specified ClassObject.
|
boolean |
ClassObject.isSubclassOf(ClassObject classObject)
Gets whether this ClassObject is a subclass of the specified
ClassObject.
|
protected Vector |
PublicObject.listLeftwardRelationships(ClassObject relClass,
SortSpecification sortSpec) |
protected Vector |
PublicObject.listRightwardRelationships(ClassObject relClass,
SortSpecification sortSpec) |
protected void |
LibraryObject.performPostCreateExtensions(LibraryObjectDefinition def,
ClassObject co)
Perform standard operations for postCreate, for a specific ClassObject
in the target object's class hierarchy.
|
protected void |
LibraryObject.performPostUpdateExtensions(LibraryObjectDefinition def,
ClassObject co)
Perform standard operations for postUpdate, for a specific ClassObject
in the target object's class hierarchy.
|
protected void |
LibraryObject.performPreFreeExtensions(LibraryObjectDefinition def,
ClassObject co)
Perform standard operations for PreFree, for a specific ClassObject
in the target object's class hierarchy.
|
protected void |
LibraryObject.performPreUpdateExtensions(LibraryObjectDefinition def,
ClassObject co)
Perform standard operations for PreUpdate, for a specific ClassObject
in the target object's class hierarchy.
|
void |
LibrarySession.registerClassEventHandler(ClassObject co,
boolean includeSubclasses,
IfsEventHandler handler)
Registers the specified IfsEventHandler to receive events for
all objects in the specified class.
|
void |
ActivitySpecificationDefinition.setActivityRecordClass(ClassObject recordClass)
Sets the ClassObject to use for new ActivityRecords.
|
void |
ClassDomain.setClasses(ClassObject[] cos)
Sets the classes in this ClassDomain.
|
void |
LibraryObjectDefinition.setClassObject(ClassObject clss)
Set the ClassObject for the new instance.
|
void |
DependentView.setDependentClassObjects(ClassObject[] val)
Sets The ClassObjects this object depends upon.
|
void |
ClassObjectDefinition.setSuperclass(ClassObject superclass)
Deprecated.
CM SDK 10gR2: use setAttribute(ClassObject.SUPERCLASS_ATTRIBUTE,
AttributeValue.newAttributeValue(superclass));
|
Modifier and Type | Method and Description |
---|---|
protected String |
SimpleXmlParserImpl.lookupDefinitionName(ClassObject co)
Looks up the definition classname for the ClassObject.
|
protected void |
SimpleXmlParserImpl.processChildTag(DefinitionHolder dh,
ClassObject co,
Element currentChild)
Process a node, using the classObject for the document and altering
the current definition if neccessary.
|
protected DefinitionHolder |
SimpleXmlParserImpl.processDefinition(String definitionName,
ClassObject co,
DefinitionHolder parentDh,
AttributeDescription attribute,
Element parent)
Create DefinitionHolder given the name of the Definition class to use and
the ClassObject of the object being created.
|
Modifier and Type | Method and Description |
---|---|
ClassObject |
ConfigurationCategoryDescriptor.getClassObject()
Gets the ConfigurationCategory ClassObject.
|
Constructor and Description |
---|
ConfigurationCategoryDescriptor(String className,
ClassObject classObject,
long existsFlag)
Constructs a ConfigurationCategoryDescriptor.
|
Modifier and Type | Method and Description |
---|---|
protected ClassObject |
ScriptOperations.createClassObject(String className)
Creates a ClassObject from previously created definitions.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ScriptOperations.modifyClassObject(ClassObject co,
String className,
boolean removeAttrs,
boolean verbose)
Modifies the specified ClassObject to match the previously
created definitions.
|
protected void |
CodeGenerationOperations.showApplySettingsMethod(ClassObject co,
Attribute[] attrs,
String commonName,
String indent)
Shows the applySettings() definition class method for the specified class.
|
protected void |
CodeGenerationOperations.showBeanClass(ClassObject co,
boolean showGetters,
boolean showSetters,
boolean showDates,
String indent)
Shows the specified class' bean class default implementation.
|
protected void |
CodeGenerationOperations.showBeanClassConstructor(ClassObject co,
String commonName,
String packageName,
String indent)
Shows the bean-side class constructors.
|
protected void |
CodeGenerationOperations.showBeanClassDeclaration(ClassObject co,
String commonName,
String coDesc,
String beanClassName,
String superBeanClassName)
Shows the bean class-level javadoc and class declaration.
|
protected void |
CodeGenerationOperations.showBeanClassFields(ClassObject co,
Attribute[] attrs,
String commonName,
String coDesc,
String beanClassName,
String superBeanClassName,
String indent)
Shows the class-level constants, fields, etc. prior to constructors.
|
protected void |
CodeGenerationOperations.showBeanClassGetterMethods(ClassObject co,
Attribute[] attrs,
String commonName,
String indent)
Shows the getter (accessor) methods for the specified class.
|
protected void |
CodeGenerationOperations.showBeanClassHeader(ClassObject co,
boolean showDates,
String packageName)
Shows the bean class header.
|
protected void |
CodeGenerationOperations.showBeanClassImports(ClassObject co,
String superPackageName,
String superClassName)
Shows the bean class imports.
|
protected void |
CodeGenerationOperations.showBeanClassSetterMethods(ClassObject co,
Attribute[] attrs,
String commonName,
String indent)
Shows the setter (mutator) methods for the specified class.
|
static void |
ShowUtils.showClassObject(Logger logger,
ClassObject co,
String prefix,
boolean verbose,
boolean showDates)
Show details about a ClassObject.
|
protected void |
ScriptOperations.showClassObjectAndSubNames(ClassObject co,
boolean inclInstalled,
boolean inclCustom,
String indent)
Shows the name of the specified class and each of its subclasses,
recursively.
|
protected void |
ScriptOperations.showClassObjectAndSubs(ClassObject co,
boolean createSyntax,
boolean inclInstalled,
boolean inclCustom,
boolean verbose,
boolean showDates)
Shows the specified class and each of its subclasses,
recursively
|
protected void |
ScriptOperations.showCreateClassObjectScript(ClassObject co,
boolean verbose,
boolean showDates)
Shows the specified class using "create script" syntax.
|
protected void |
CodeGenerationOperations.showDefinitionCastUtilities(ClassObject co,
String commonName,
String defClassName,
String indent)
Shows the cast utilities for a definition class.
|
protected void |
CodeGenerationOperations.showDefinitionClass(ClassObject co,
boolean showApply,
boolean showGetters,
boolean showSetters,
boolean showDates,
String indent)
Shows the specified class' Definition class default implementation.
|
protected void |
CodeGenerationOperations.showDefinitionClassConstructor(ClassObject co,
String commonName,
String defClassName,
String indent)
Shows the attribute name constant for the specified Attribute.
|
protected void |
CodeGenerationOperations.showDefinitionClassDeclaration(ClassObject co,
String commonName,
String defClassName,
String superDefClassName)
Shows the Definition class-level javadoc and class declaration.
|
protected void |
CodeGenerationOperations.showDefinitionClassGetterMethods(ClassObject co,
Attribute[] attrs,
String commonName,
String indent)
Shows the getter (accessor) methods for the specified class.
|
protected void |
CodeGenerationOperations.showDefinitionClassHeader(ClassObject co,
boolean showDates,
String packageName)
Shows the Definition class header.
|
protected void |
CodeGenerationOperations.showDefinitionClassImports(ClassObject co,
String packageName,
String commonName,
String superPackageName,
String superDefClassName)
Shows the Definition class imports.
|
protected void |
CodeGenerationOperations.showDefinitionClassSetterMethods(ClassObject co,
Attribute[] attrs,
String commonName,
String indent)
Shows the setter (mutator) methods for the specified class.
|
protected void |
CodeGenerationOperations.showServerClass(ClassObject co,
boolean showGetters,
boolean showDates,
String indent)
Shows the specified class' server class default implementation.
|
protected void |
CodeGenerationOperations.showServerClassConstructor(ClassObject co,
String serverClassName,
String indent)
Shows the server-side class constructors.
|
protected void |
CodeGenerationOperations.showServerClassDeclaration(ClassObject co,
String commonName,
String coDesc,
String serverClassName,
String superServerClassName)
Shows the server class-level javadoc and class declaration.
|
protected void |
CodeGenerationOperations.showServerClassFields(ClassObject co,
Attribute[] attrs,
String commonName,
String coDesc,
String serverClassName,
String superServerClassName,
String indent)
Shows the class-level constants, fields, etc. prior to constructors.
|
protected void |
CodeGenerationOperations.showServerClassHeader(ClassObject co,
boolean showDates,
String packageName)
Shows the server class header.
|
protected void |
CodeGenerationOperations.showServerClassImports(ClassObject co,
String superPackageName,
String superClassName)
Shows the server class imports.
|
Modifier and Type | Method and Description |
---|---|
protected ClassObject |
MiscOperations.IfsJdbcTest.createClass(LibrarySession sess)
Create RecipeDocument ClassObject.
|
protected ClassObject |
MiscOperations.LocalizerTest.createClass(LibrarySession sess,
String name,
String superClass,
String serverPath)
Create RecipeDocument ClassObject.
|
ClassObject |
ClassObjectOperations.T1kTest.createClassObject(LibrarySession sess,
String class_name) |
ClassObject |
ClassObjectOperations.ClassSubTest.createClassObject(String class_name,
ClassObjectDefinition def,
LibrarySession sess) |
ClassObject |
ClassObjectOperations.T1kTest.createSystemLibraryClass(LibrarySession sess,
String class_name) |
protected ClassObject |
SystemCategoryOperations.lookupClassObject(LibrarySession sess)
Lookup the custom ClassObject, or return null if it is not yet
created.
|
protected ClassObject |
PropertyBundleOperations.lookupClassObject(LibrarySession sess,
String name) |
protected ClassObject |
SchemaCategoryOperations.lookupClassObject(String name) |
Modifier and Type | Method and Description |
---|---|
protected ApplicationObject |
MiscOperations.LocalizerTest.createAppObj(LibrarySession sess,
ClassObject clss,
String name,
String key)
Create an AppObject.
|
Document |
ClassObjectOperations.ClassSubTest.createClassInstance(LibrarySession sess,
ClassObject clss)
Create Instances of newly created classes
|
Document |
ClassObjectOperations.T1kTest.createDocFromClass(LibrarySession sess,
ClassObject clss) |
protected Document |
ClassObjectOperations.createDocument(LibrarySession session,
String name,
ClassObject clss,
Format format,
String contentpath,
Folder parent)
Creates a Document.
|
Document |
ClassObjectOperations.T1kTest.createDocumentFromNewClass(LibrarySession sess,
ClassObject clss) |
protected PublicObject |
ClassObjectOperations.AddRemoveAttributeTest.createObject(ClassObject co,
String name,
LibrarySession session)
Creates an instance of the specified ClassObject with the specified name.
|
protected void |
MiscOperations.IfsJdbcTest.deleteClass(LibrarySession sess,
ClassObject newClass)
Delete RecipeDocument ClassObject.
|
void |
VersioningOperations.RelationTest.displayRightwardRelationships(LibrarySession s,
ClassObject relClass) |
protected void |
ClassObjectOperations.AddRemoveAttributeTest.showClassObject(ClassObject co,
LibrarySession session)
Shows the specified ClassObject.
|
void |
ClassObjectOperations.T1kTest.showLibraryClass(LibrarySession sess,
ClassObject clss) |
protected void |
ClassObjectOperations.AddRemoveAttributeTest.showObjects(ClassObject co,
LibrarySession session)
Shows all instances of the specified ClassObject.
|
void |
ClassObjectOperations.ClassSubTest.showsubclasses(ClassObject clss) |
Modifier and Type | Method and Description |
---|---|
protected ClassObject |
PreparedSelectorGenerator.findClassObjectByAuxName(LibrarySession session,
String className)
Find a ClassObject using an auxilliary name.
|
protected ClassObject |
PreparedSelectorGenerator.getClassObjectFromAlias(String alias)
Returns the ClassObject associated with the specified registered alias.
|
protected ClassObject |
PreparedSelectorGenerator.getClassObjectFromTarget(AttributeValue target)
Returns the class object from the specified search target.
|
Modifier and Type | Method and Description |
---|---|
protected Attribute |
PreparedSelectorGenerator.findAttributeByAuxName(LibrarySession session,
ClassObject co,
String attrName)
Lookup an Attribute using an auxilliary name.
|
Modifier and Type | Method and Description |
---|---|
protected ClassObject |
SearchValidator.findClass(AttributeSearchSpecification asp,
Long classId) |
protected ClassObject |
SearchValidator.findClass(AttributeSearchSpecification asp,
String cName) |
protected ClassObject |
SearchValidator.findClass(String cName) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
SearchValidator.requiresSqlView(ClassObject cls,
Attribute attr) |
protected Attribute |
SearchValidator.validateAttribute(ClassObject cls,
String name) |
protected Attribute |
SearchValidator.validateScalarAttribute(ClassObject co,
String attributeName) |
Copyright © 2023. All rights reserved.