public class ExtendedPermission extends TieSystemObject implements ExtendedPermissionInterface
Modifier and Type | Field and Description |
---|---|
static String |
CLASS_NAME
This class name for this class.
|
static String |
DESCRIPTION_ATTRIBUTE
A textual description of the ExtendedPermission.
|
static String |
NAME_ATTRIBUTE
The name of the ExtendedPermission.
|
ACTIVE_ATTRIBUTE, POLICYBUNDLE_ATTRIBUTE, POLICYLISTS_ATTRIBUTE, PROPERTYBUNDLE_ATTRIBUTE
DOMAIN_UNIQUENAME_DEFAULT_DELIMITER, m_ClassId, m_Id, m_Session
Modifier | Constructor and Description |
---|---|
protected |
ExtendedPermission(LibrarySession session,
Long id,
Long classId,
S_LibraryObjectData data)
Construct a ExtendedPermission object - standard variant.
|
Modifier and Type | Method and Description |
---|---|
protected static ExtendedPermission |
constructExtendedPermission(LibrarySession sess,
S_LibraryObjectData data)
Constructs a ExtendedPermission object from the
S_LibraryObjectData object.
|
protected static Vector |
constructExtendedPermissionVector(LibrarySession sess,
Vector vector)
Returns a Vector of ExtendedPermission objects from a vector of
data corresponding to it.
|
static ExtendedPermission[] |
findAll(LibrarySession session)
Returns the set of defined ExtendedPermissions.
|
static ExtendedPermission |
findByName(LibrarySession session,
String name)
Returns the a ExtendedPermission matching the
specified name.
|
String |
getDescription()
Returns the description of this ExtendedPermission.
|
static LibraryObjectLookupCache |
getLibraryObjectLookupCache(LibrarySessionInterface session)
Returns the LibraryObjectLookupCache used by find
ExtendedPermission instances by name.
|
boolean |
hasNameAttribute()
Override to return true for any PublicObject, indicating
that the instance has a NAME attribute.
|
void |
setDescription(String description)
Sets the description of this ExtendedPermission.
|
addCategory, constructSystemObject, constructSystemObjectVector, free, freeCategories, getCategories, getCategories, getCategories, getCategories, getPolicyBundle, getPolicyLists, handleCreate, hasPropertyBundleAttribute, isActive, postCreate, postUpdate, preCreate, preUpdate, 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, 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, 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 DESCRIPTION_ATTRIBUTE
protected ExtendedPermission(LibrarySession session, Long id, Long classId, S_LibraryObjectData data) throws IfsException
session
- the sessionid
- the idclassId
- the class iddata
- the dataIfsException
- if the operation failspublic boolean hasNameAttribute() throws IfsException
hasNameAttribute
in class LibraryObject
IfsException
- if operation fails.public String getDescription() throws IfsException
IfsException
- if operation fails.public void setDescription(String description) throws IfsException
description
- new description StringIfsException
- if operation fails.public static LibraryObjectLookupCache getLibraryObjectLookupCache(LibrarySessionInterface session) throws IfsException
session
- the session contextIfsException
- if the operation fails.public static ExtendedPermission[] findAll(LibrarySession session) throws IfsException
The instances will be sorted by name.
session
- the session contextIfsException
- if the operation fails.public static ExtendedPermission findByName(LibrarySession session, String name) throws IfsException
session
- the session contextname
- the ExtendedPermission nameIfsException
- if the operation fails.protected static Vector constructExtendedPermissionVector(LibrarySession sess, Vector vector) throws IfsException
sess
- current LibrarySessionvector
- vector of Document objectsIfsException
- if the operation failsprotected static ExtendedPermission constructExtendedPermission(LibrarySession sess, S_LibraryObjectData data) throws IfsException
sess
- current LibrarySessiondata
- data componentIfsException
- if the operation failsCopyright © 2023. All rights reserved.