public class DependentView extends TieSimpleObject
Modifier and Type | Field and Description |
---|---|
static String |
CLASS_NAME
The name of the ClassObject representing this class.
|
static String |
DEPENDENTCLASSOBJECTS_ATTRIBUTE
The name of the Attribute representing
the ClassObjects this object depends upon.
|
static String |
NAME_ATTRIBUTE
The name of the Attribute representing
the name of the DependentView.
|
static String |
VIEWBODYSEGMENTS_ATTRIBUTE
The name of the Attribute representing
the segments of the complete SQL statement to create or replace the view.
|
DOMAIN_UNIQUENAME_DEFAULT_DELIMITER, m_ClassId, m_Id, m_Session, PROPERTYBUNDLE_ATTRIBUTE
Modifier | Constructor and Description |
---|---|
protected |
DependentView(LibrarySession session,
Long id,
Long classId,
S_LibraryObjectData data)
Construct a DependentView object.
|
Modifier and Type | Method and Description |
---|---|
static DependentView[] |
findAll(LibrarySession session)
Returns the set of defined DependentViews.
|
static DependentView |
findByName(LibrarySession session,
String name)
Returns the a DependentView matching the
specified name.
|
ClassObject[] |
getDependentClassObjects()
Gets The ClassObjects this object depends upon.
|
String |
getViewBody()
Gets the complete SQL statement to create or replace the view.
|
String[] |
getViewBodySegments()
Gets the segments of the complete SQL statement to create or replace the view.
|
void |
refreshView()
Create or replace the view decsribed by this instance.
|
void |
setDependentClassObjects(ClassObject[] val)
Sets The ClassObjects this object depends upon.
|
void |
setViewBody(String val)
Sets The complete SQL statement to create or replace the view.
|
free, handleCreate, isValidEventType
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, hasPropertyBundleAttribute, invalidateState, invokeOperation, invokeOperation, invokeServerMethod, isConnected, isCoreEventPostingEnabled, isInstanceOf, isPersistent, isTraced, lockRows, lookupInstanceLabel, performPostCreateExtensions, performPostFreeExtensions, performPostUpdateExtensions, performPreCreateExtensions, performPreFreeExtensions, performPreUpdateExtensions, postCreate, postEvent, postEvent, postFree, postUpdate, 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 NAME_ATTRIBUTE
public static final String DEPENDENTCLASSOBJECTS_ATTRIBUTE
public static final String VIEWBODYSEGMENTS_ATTRIBUTE
protected DependentView(LibrarySession session, Long id, Long classId, S_LibraryObjectData data) throws IfsException
session
- current LibrarySessionid
- object idclassId
- class iddata
- data componentIfsException
- if the operation failspublic ClassObject[] getDependentClassObjects() throws IfsException
IfsException
- if the operation failspublic String[] getViewBodySegments() throws IfsException
IfsException
- if the operation failspublic String getViewBody() throws IfsException
IfsException
- if the operation failspublic void setDependentClassObjects(ClassObject[] val) throws IfsException
val
- the new valueIfsException
- if the operation failspublic void setViewBody(String val) throws IfsException
val
- the new valueIfsException
- if the operation failspublic void refreshView() throws IfsException
IfsException
- if the operation failspublic static DependentView[] findAll(LibrarySession session) throws IfsException
The instances will be sorted by view name.
session
- the session contextIfsException
- if the operation fails.public static DependentView findByName(LibrarySession session, String name) throws IfsException
DependentView view names are case sensitive, so this operations requires an exact match with respect to case.
session
- the session contextviewName
- the DependentView view nameIfsException
- if the operation fails.Copyright © 2023. All rights reserved.