public class SystemObject extends TieLibraryObject implements SystemObjectInterface
SystemCategory| Modifier and Type | Field and Description |
|---|---|
static String |
ACTIVE_ATTRIBUTE
The status of the SystemObject.
|
static String |
CLASS_NAME
This class name for this class.
|
static String |
POLICYBUNDLE_ATTRIBUTE
Deprecated.
CM SDK 10gR2: see release notes for changes to Policy framework
|
static String |
POLICYLISTS_ATTRIBUTE
The set of PolicyLists explicitly applied to this object.
|
static String |
PROPERTYBUNDLE_ATTRIBUTE
A PropertyBundle associated with the SystemObject.
|
DOMAIN_UNIQUENAME_DEFAULT_DELIMITER, m_ClassId, m_Id, m_Session, NAME_ATTRIBUTE| Modifier | Constructor and Description |
|---|---|
protected |
SystemObject(LibrarySession session,
Long id,
Long classId,
S_LibraryObjectData data)
Construct a SystemObject object - standard variant.
|
| Modifier and Type | Method and Description |
|---|---|
SystemCategory |
addCategory(SystemCategoryDefinition catdef)
Adds a SystemCategory associated with this SystemObject
|
protected static SystemObject |
constructSystemObject(LibrarySession sess,
S_LibraryObjectData data)
return SystemObject from a S_LOData.
|
protected static Vector |
constructSystemObjectVector(LibrarySession sess,
Vector vector)
Return SystemObject Vector from a Vector of SystemObject
|
void |
free(LibraryObjectDefinition def)
Permanently removes this object from the repository, with options.
|
protected void |
freeCategories()
Free all existing categories.
|
SystemCategory[] |
getCategories()
Returns an array of Systemcategories for this systemObject.
|
SystemCategory[] |
getCategories(ClassObject classobj)
Returns the associated SystemCategory objects that are instances of the
ClassObject (or one of its subclasses) specified.
|
SystemCategory[] |
getCategories(ClassObject classobj,
SortSpecification sort)
Returns the associated SystemCategory objects that are instances of
the specified class or a subclass of the specified class.
|
SystemCategory[] |
getCategories(SortSpecification sort)
Returns the associated SystemCategory objects.
|
PolicyPropertyBundle |
getPolicyBundle()
Deprecated.
CM SDK 10gR2: see release notes for changes to Policy framework
|
PolicyList[] |
getPolicyLists()
Gets the PolicyLists for this object.
|
protected SystemObject |
handleCreate(LibraryObjectDefinition lodef)
Handle the low-level creation of the SystemObject
|
boolean |
hasPropertyBundleAttribute()
Overrides to return true for any SystemObject, indicating
that the instance has a PROPERTYBUNDLE attribute.
|
boolean |
isActive()
Gets the Active status.
|
protected void |
postCreate(LibraryObjectDefinition lodef)
Extensibility point to perform actions after the
creation of a SystemObject.
|
protected void |
postUpdate(LibraryObjectDefinition lodef)
Extensibility point to perform actions after the update of a SystemObject.
|
protected void |
preCreate(LibraryObjectDefinition lodef)
Extensibility point to perform actions prior to the
creation of a PublicObject.
|
protected void |
preUpdate(LibraryObjectDefinition lodef)
Extensibility point to perform actions prior to the update of
a PublicObject.
|
void |
putPolicy(Policy policy)
Deprecated.
CM SDK 10gR2: see release notes for changes to Policy framework
|
void |
removeAllPolicies()
Deprecated.
CM SDK 10gR2: see release notes for changes to Policy framework
|
void |
removePolicy(Policy policy)
Deprecated.
CM SDK 10gR2: see release notes for changes to Policy framework
|
void |
removePolicy(String opname)
Deprecated.
CM SDK 10gR2: see release notes for changes to Policy framework
|
void |
setActive(boolean active)
Sets the ACTIVE attribute for this object.
|
void |
setPolicyBundle(PolicyPropertyBundle bundle)
Deprecated.
CM SDK 10gR2: see release notes for changes to Policy framework
|
void |
setPolicyLists(PolicyList[] policyLists)
Sets the PolicyLists for this object.
|
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, hasNameAttribute, invalidateState, invokeOperation, invokeOperation, invokeServerMethod, isConnected, isCoreEventPostingEnabled, isInstanceOf, isPersistent, isTraced, isValidEventType, lockRows, lookupInstanceLabel, performPostCreateExtensions, performPostFreeExtensions, performPostUpdateExtensions, performPreCreateExtensions, performPreFreeExtensions, performPreUpdateExtensions, postEvent, postEvent, postFree, preFree, prePostAuditEvent, 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, verifyTargetObjectclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAttributeByUpperCaseName, getClassId, getId, getSessionInterfacegetTraceLogger, isTraced, tracepublic static final String CLASS_NAME
public static final String POLICYLISTS_ATTRIBUTE
@Deprecated public static final String POLICYBUNDLE_ATTRIBUTE
public static final String ACTIVE_ATTRIBUTE
public static final String PROPERTYBUNDLE_ATTRIBUTE
protected SystemObject(LibrarySession session, Long id, Long classId, S_LibraryObjectData data) throws IfsException
session - current LibSessionid - object IDclassId - object class IDdata - object dataIfsException - if operation fails.protected void preCreate(LibraryObjectDefinition lodef) throws IfsException
Set an option that indicates that Categories are NOT to be created from within S_SystemObject.
preCreate in class LibraryObjectlodef - object definition that will be used to create the objectIfsException - if operation failsprotected SystemObject handleCreate(LibraryObjectDefinition lodef) throws IfsException
lodef - definition that will be used to create the objectIfsException - if operation failsprotected void postCreate(LibraryObjectDefinition lodef) throws IfsException
This assumes that a transaction context has already been established.
postCreate in class LibraryObjectlodef - object definition that was used to create the objectIfsException - if operation failsprotected void preUpdate(LibraryObjectDefinition lodef) throws IfsException
Set an option that indicates that Categories are NOT to be created from within S_SystemObject.
preUpdate in class LibraryObjectlodef - definition used to define how the target object
will be updatedIfsException - if operation failsprotected void postUpdate(LibraryObjectDefinition lodef) throws IfsException
Create any categories that are specified in the definition.
postUpdate in class LibraryObjectlodef - object definition used to define how the
target object was updatedIfsException - if operation failspublic void free(LibraryObjectDefinition def) throws IfsException
If a null definition is specified, a default definition is used.
free in class LibraryObjectdef - Context for the free operationIfsException - if operation failspublic boolean hasPropertyBundleAttribute()
throws IfsException
hasPropertyBundleAttribute in class LibraryObjectIfsException - if the operation failspublic void setActive(boolean active)
throws IfsException
active - the new Active status valueIfsException - if operation failspublic boolean isActive()
throws IfsException
IfsException - if operation failspublic void setPolicyLists(PolicyList[] policyLists) throws IfsException
policyLists - the PolicyList objects to applyIfsException - if operation failspublic PolicyList[] getPolicyLists() throws IfsException
IfsException - if operation fails@Deprecated public void setPolicyBundle(PolicyPropertyBundle bundle) throws IfsException
bundle - the PolicyBundle settingIfsException - if operation fails@Deprecated public PolicyPropertyBundle getPolicyBundle() throws IfsException
IfsException - if operation fails@Deprecated public void putPolicy(Policy policy) throws IfsException
policy - the Policy to addIfsException - if operation fails@Deprecated public void removePolicy(String opname) throws IfsException
opname - the operation name of the policy to removeIfsException - if operation fails@Deprecated public void removePolicy(Policy policy) throws IfsException
policy - the policy to removeIfsException - if operation fails@Deprecated public void removeAllPolicies() throws IfsException
This does not create a "dedicated" PropertyBundle if there is not one defined already.
IfsException - if operation failspublic SystemCategory addCategory(SystemCategoryDefinition catdef) throws IfsException
catdef - the definition that describes the new Category
that will be associated with this SystemObject.IfsException - if operation failsprotected void freeCategories()
throws IfsException
IfsException - if operation failspublic SystemCategory[] getCategories(SortSpecification sort) throws IfsException
sort - the specification of how the returned SystemCategory
objects will be sorted.IfsException - if operation failspublic SystemCategory[] getCategories(ClassObject classobj) throws IfsException
classobj - the class of SystemCategoryIfsException - if operation failspublic SystemCategory[] getCategories(ClassObject classobj, SortSpecification sort) throws IfsException
classobj - the class of SystemCategorysort - the specification of how the returned SystemCategory
objects will be sorted.IfsException - if operation failspublic SystemCategory[] getCategories() throws IfsException
IfsException - if operation failsprotected static Vector constructSystemObjectVector(LibrarySession sess, Vector vector) throws IfsException
IfsException - if operation failsprotected static SystemObject constructSystemObject(LibrarySession sess, S_LibraryObjectData data) throws IfsException
IfsExceptionCopyright © 2025. All rights reserved.