public class SchemaCategory extends TieSchemaObject
SchemaCategory subclasses can contain their own custom data, which effectively contain data about the SchemaObject with which the Category instance is associated. A SchemaObject can be associated with any Category, which allows different sets of data to be associated with instances of the same SchemaObject subclass. Additionally, SchemaObjects can be associated with multiple instances of Category subclasses.
Modifier and Type | Field and Description |
---|---|
static String |
ASSOCIATEDSCHEMAOBJECT_ATTRIBUTE
The SchemaObject that is associated with this Category.
|
static String |
CLASS_NAME
This class name for this class.
|
static String |
DESCRIPTION_ATTRIBUTE
The description of this schema category
|
ACTIVE_ATTRIBUTE, NAME_ATTRIBUTE, POLICYBUNDLE_ATTRIBUTE, POLICYLISTS_ATTRIBUTE, PROPERTYBUNDLE_ATTRIBUTE
DOMAIN_UNIQUENAME_DEFAULT_DELIMITER, m_ClassId, m_Id, m_Session
Modifier | Constructor and Description |
---|---|
protected |
SchemaCategory(LibrarySession session,
Long id,
Long classId,
S_LibraryObjectData data)
Constructs a Schema Category object - standard variant.
|
Modifier and Type | Method and Description |
---|---|
protected static SchemaCategory[] |
constructCategoryArray(LibrarySession sess,
Long[] ids)
Construct a SchemaCategory array from an array of object IDs.
|
protected static Vector |
constructCategoryVector(LibrarySession sess,
Vector vector)
Returns SchemaCategory Vector from a Vector of SchemaCategory.
|
protected static SchemaCategory |
constructSchemaCategory(LibrarySession sess,
S_LibraryObjectData data)
Returns a SchemaCategory object from a SchemaCategory data object.
|
SchemaObject |
getAssociatedSchemaObject()
Gets the SchemaObject associated with this Category.
|
String |
getDescription()
Returns the description of this object
|
void |
setDescription(String description)
Updates the description of this object.
|
addCategory, constructSchemaObject, constructSchemaObjectVector, free, getCategories, getCategories, getCategories, getCategories, getPolicyBundle, getPolicyLists, handleCreate, hasNameAttribute, hasPropertyBundleAttribute, isActive, postCreate, postUpdate, putPolicy, removeAllPolicies, removePolicy, removePolicy, setActive, setPolicyBundle, setPolicyLists
added, addSimpleProperty, addSimpleProperty, applyProperties, auditCreated, auditUpdated, canPurge, checkIfPropertyBundleSupported, checkRequiredAttributeSet, clearCopyContext, clearFreeContext, clearUpdateContext, compareTo, constructIdArray, constructIdArray, constructLibraryObject, constructLibraryObjectVector, createDedicatedPropertyBundle, createInstance, deriveDomainUniqueName, dispose, equals, equals, free, freeAll, get, getAttribute, getAttributeByUpperCaseName, getAttributes, getAttributesByUpperCaseNames, getAuditDomainContext, getAuditEventFolderContext, getClassId, getClassname, getClassName, getClassObject, getCommonName, getCommonNameAndClass, getCopyContext, getCreateContext, getData, getDefinition, getDefinitionForSimplePropertyUpdates, getEffectivePolicyListElements, getEventualAttributeByUpperCaseName, getFreeContext, getId, getLabel, getName, getObjectReferenceAttribute, getOperationActionSpecificationContext, getPropertyBundle, getPropertyValue, getPublicObjectAttribute, getResourceString, getResourceString, getSchemaObjectAttribute, getSession, getSessionInterface, getSharedStateFactory, getSimpleObjectAttribute, getSimpleProperties, getSimpleProperty, getSimplePropertyValue, getStringIdentifier, getSystemObjectAttribute, getTraceLogger, getUpdateContext, handleAdminModeChange, handleEvent, handleFree, handleUpdate, hashCode, invalidateState, invokeOperation, invokeOperation, invokeServerMethod, isConnected, isCoreEventPostingEnabled, isInstanceOf, isPersistent, isTraced, isValidEventType, lockRows, lookupInstanceLabel, performPostCreateExtensions, performPostFreeExtensions, performPostUpdateExtensions, performPreCreateExtensions, performPreFreeExtensions, performPreUpdateExtensions, postEvent, postEvent, postFree, preCreate, preFree, prePostAuditEvent, preUpdate, putProperty, putProperty, removeAllProperties, removeAllSimpleProperties, removeAllSimpleProperties, removed, removeProperty, removeSimpleProperty, removeSimpleProperty, renderAsRandomAccessContent, renderAsReader, renderAsStream, setAttribute, setAttribute, setAttributes, setAttributes, setCopyContext, setFreeContext, setId, setName, setPropertyBundle, setPropertyValue, setUpdateContext, toString, trace, trustHandleCreate, trustHandleCreateAsAdmin, trustHandleFree, trustHandleFreeAsAdmin, trustHandleUpdate, trustHandleUpdateAsAdmin, update, updateAndExposeDefinition, validatePropertyValues, vectorLibraryObjectElement, vectorToLibraryObjectArray, verifyAdministrationMode, verifyConnected, verifyPersistent, verifySystemUserAccess, verifyTargetObject
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getAttributeByUpperCaseName, getClassId, getId, getSessionInterface
getTraceLogger, isTraced, trace
public static final String CLASS_NAME
public static final String DESCRIPTION_ATTRIBUTE
public static final String ASSOCIATEDSCHEMAOBJECT_ATTRIBUTE
protected SchemaCategory(LibrarySession session, Long id, Long classId, S_LibraryObjectData data) throws IfsException
session
- current LibrarySessionid
- object idclassId
- class iddata
- data componentsIfsException
- if the operation failspublic String getDescription() throws IfsException
IfsException
- if operation fails.public void setDescription(String description) throws IfsException
description
- New descriptionIfsException
- if operation fails.public SchemaObject getAssociatedSchemaObject() throws IfsException
IfsException
- if operation failsprotected static Vector constructCategoryVector(LibrarySession sess, Vector vector) throws IfsException
sess
- current LibrarySessionvector
- Vector of SchemaCategory objects.IfsException
- if the operation failsprotected static SchemaCategory constructSchemaCategory(LibrarySession sess, S_LibraryObjectData data) throws IfsException
sess
- current LibrarySessiondata
- the object containing SchemaCategory dataIfsException
- if the operation failsprotected static SchemaCategory[] constructCategoryArray(LibrarySession sess, Long[] ids) throws IfsException
sess
- the requesting sessionids
- the array of object IDsIfsException
- if operation fails.Copyright © 2023. All rights reserved.