public class S_LibraryObjectDataSharedState extends Object implements Cloneable, Serializable
Warning! For internal use only. Please check with authors before considering any change to this class.
| Modifier | Constructor and Description | 
|---|---|
protected  | 
S_LibraryObjectDataSharedState()
Constructs a S_LIbraryObjectDataSharedState. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addFolderItemIds(Long[] ids,
                SortSpecification sort)
Sets the shared state representing the ids of the items in
 a Folder. 
 | 
void | 
addReferencingFolderIds(Long[] ids,
                       SortSpecification sort)
Adds a set of ids of the Folders containing
 a PublicObject to the shared state. 
 | 
protected void | 
applySharedStateMutations(S_LibrarySession session)
Applies modifications to cached properties hashtable. 
 | 
protected boolean | 
canPurge()
Returns whether this instance should be purged when it
 is determined that it has not been recently used. 
 | 
Object | 
clone()
Clone an instance (need public scope). 
 | 
AuditFolderPath | 
getAuditFolderPath()
Gets the shared state representing for the AuditFolderPath
 for the associated Folder. 
 | 
Hashtable | 
getAuditTypeEntryTable()
Gets the shared state representing the Hashtable resolution
 of an AuditTypeList's set of AuditTypeEntries. 
 | 
Long[] | 
getCompositeAclIds()
Gets the shared state representing the ids of the composite 
 ACLs of an ACL. 
 | 
Long[] | 
getDirectAncestorGroupIds()
Gets the shared state representing the ids of the direct
 ancestors of a directoryobject. 
 | 
AttributeValue | 
getDirectSubclassesValue()
Gets the shared state representing the set of direct subclasses
 of a ClassObject, stored as an AttributeValue of KOs. 
 | 
Long[] | 
getFolderItemIds(LibrarySessionInterface sess,
                SortSpecification sort)
Gets the shared state representing the ids of the items in
 a Folder. 
 | 
Hashtable | 
getFolderItemsKeyedByName()
Gets the shared state representing the Hashtable resolution
 of a Folder's items (keyed by item name, forced to upper case). 
 | 
Long[] | 
getGroupDirectMemberIds()
Gets the shared state representing the ids of the direct
 members of a group. 
 | 
Boolean | 
getHasSubFoldersState()
Returns the hasSubFolders shared state. 
 | 
Long[] | 
getLifecyclePolicyEntryIds()
Gets the shared state representing the ids of the LifecyclePolicyEntries
 of a LifecyclePolicy. 
 | 
Hashtable | 
getMediaCustomSecureParameters()
Gets the secure parameters of a MediaCustom index, as a Hashmap of string
 values hashed by string key. 
 | 
Long[] | 
getMessageEntryIds()
Gets the shared state representing the ids of the MessageEntries
 of a MessageList. 
 | 
Hashtable | 
getNegativeFolderItemsKeyedByName()
Gets the shared state representing the Hashtable resolution
 of the set of items not in a Folder (keyed by item name, 
 forced to upper case). 
 | 
Long[] | 
getPolicyListElementIds()
Gets the shared state representing the ids of the PolicyListElements of
 a PolicyList. 
 | 
Long | 
getPrimaryUserProfileId()
Gets the shared state representing the id of the PrimaryUserProfile
 Id of a DirectoryUser. 
 | 
Hashtable | 
getPropertyBundleProperties()
Gets the shared state representing the Hashtable resolution
 of a PropertyBundle's properties. 
 | 
Vector | 
getPropertyIds()
Gets the shared state representing the ids of the properties of
 a property bundle. 
 | 
Long[] | 
getPublicObjectCategoryIds()
Gets the shared state representing the ids of the Categories of
 a PublicObject. 
 | 
Long[] | 
getPublicObjectLinkIds()
Gets the shared state representing the ids of the Links of
 a PublicObject. 
 | 
Long[] | 
getReferencingFolderIds(LibrarySessionInterface sess,
                       SortSpecification sort)
Gets the shared state representing the ids of the Folders containing
 a PublicObject. 
 | 
Long[] | 
getSchemaObjectCategoryIds()
Gets the shared state representing the ids of the Categories of
 a SchemaObject. 
 | 
Long[] | 
getSystemObjectCategoryIds()
Gets the shared state representing the ids of the Categories of
 a SystemObject. 
 | 
Long[] | 
getVersionDescriptionIds()
Gets the shared state representing the ids of the VersionDescriptions of
 a VersionSeries. 
 | 
Long[] | 
getVersionSeriesIds()
Gets the shared state representing the ids of the VersionSerieses of
 a Family. 
 | 
static boolean | 
isEventAffectingSharedState(int eventSubtype)
Return true if the specified "special" event subtype is
 one that affects shared state. 
 | 
protected void | 
resetAllState()
Clear all members. 
 | 
void | 
resetSharedState(IfsEvent event)
Resets appropriate subelements of the shared state because of an event. 
 | 
void | 
setAuditFolderPath(AuditFolderPath afp)
Sets the shared state representing the AuditFolderPath
 for the associated Folder. 
 | 
void | 
setAuditTypeEntryTable(Hashtable ht)
Sets the shared state representing the Hashtable resolution
 of an AuditTypeList's set of AuditTypeEntries. 
 | 
void | 
setCompositeAclIds(Long[] ids)
Sets the shared state representing the ids of the composite
 ACLs of an ACL. 
 | 
void | 
setDirectAncestorGroupIds(Long[] ids)
Sets the shared state representing the ids of the direct
 ancestors of a directoryobject. 
 | 
void | 
setDirectSubclassesValue(AttributeValue av)
Sets the shared state representing the set of direct subclasses
 of a ClassObject, stored as an AttributeValue of KOs. 
 | 
void | 
setFolderItemsKeyedByName(Hashtable ht)
Sets the shared state representing the Hashtable resolution
 of a Folder's items (keyed by item name, forced to upper case). 
 | 
void | 
setGroupDirectMemberIds(Long[] ids)
Sets the shared state representing the ids of the direct
 members of a group. 
 | 
void | 
setHasSubFoldersState(boolean hasSubFolders)
Sets the new value for the hasSubFolders shared state. 
 | 
void | 
setLifecyclePolicyEntryIds(Long[] ids)
Sets the shared state representing the ids of the LifecyclePolicyEntries
 of a LifecyclePolicy. 
 | 
void | 
setMediaCustomSecureParameters(Hashtable sps)
Sets the secure parameters of a MediaCustom index, as a Hashmap of string
 values hashed by string key. 
 | 
void | 
setMessageEntryIds(Long[] ids)
Sets the shared state representing the ids of the MessageEntries
 of a MessageList. 
 | 
void | 
setNegativeFolderItemsKeyedByName(Hashtable ht)
Sets the shared state representing the Hashtable resolution
 of the set of items not in a Folder (keyed by item name, 
 forced to upper case). 
 | 
void | 
setPolicyListElementIds(Long[] ids)
Sets the shared state representing the ids of the PolicyListElements of
 a PolicyList. 
 | 
void | 
setPrimaryUserProfileId(Long id)
Sets the shared state representing the id of the PrimaryUserProfile
 Id of a DirectoryUser. 
 | 
void | 
setPropertyBundleProperties(Hashtable ht)
Sets the shared state representing the Hashtable resolution
 of a PropertyBundle's properties. 
 | 
void | 
setPropertyIds(Vector idsVector)
Sets the shared state representing the ids of the properties of
 a property bundle. 
 | 
void | 
setPublicObjectCategoryIds(Long[] ids)
Sets the shared state representing the ids of the Categories of
 a PublicObject. 
 | 
void | 
setPublicObjectLinkIds(Long[] ids)
Sets the shared state representing the ids of the Links of
 a PublicObject. 
 | 
void | 
setSchemaObjectCategoryIds(Long[] ids)
Sets the shared state representing the ids of the Categories of
 a SchemaObject. 
 | 
void | 
setSystemObjectCategoryIds(Long[] ids)
Sets the shared state representing the ids of the Categories of
 a SystemObject. 
 | 
void | 
setVersionDescriptionIds(Long[] ids)
Sets the shared state representing the ids of the VersionDescription of
 a VersionSeries. 
 | 
void | 
setVersionSeriesIds(Long[] ids)
Sets the shared state representing the ids of the VersionSerieses of
 a Family. 
 | 
protected S_LibraryObjectDataSharedState()
protected final boolean canPurge()
                          throws IfsException
IfsException - if operation fails.public Long[] getPublicObjectCategoryIds() throws IfsException
IfsException - if the operation failspublic void setPublicObjectCategoryIds(Long[] ids) throws IfsException
ids - the Category idsIfsException - if the operation failspublic Long[] getSystemObjectCategoryIds() throws IfsException
IfsException - if the operation failspublic void setSystemObjectCategoryIds(Long[] ids) throws IfsException
ids - the SystemCategory idsIfsException - if the operation failspublic Long[] getSchemaObjectCategoryIds() throws IfsException
IfsException - if the operation failspublic void setSchemaObjectCategoryIds(Long[] ids) throws IfsException
ids - the SchemaCategory idsIfsException - if the operation failspublic Long[] getPublicObjectLinkIds() throws IfsException
IfsException - if the operation failspublic void setPublicObjectLinkIds(Long[] ids) throws IfsException
ids - the Link idsIfsException - if the operation failspublic Long[] getVersionDescriptionIds() throws IfsException
IfsException - if the operation failspublic void setVersionDescriptionIds(Long[] ids) throws IfsException
ids - the VersionDescription idsIfsException - if the operation failspublic Long[] getVersionSeriesIds() throws IfsException
IfsException - if the operation failspublic void setVersionSeriesIds(Long[] ids) throws IfsException
ids - the VersionSeries idsIfsException - if the operation failspublic Vector getPropertyIds() throws IfsException
IfsException - if the operation failspublic void setPropertyIds(Vector idsVector) throws IfsException
idsVector - the property idsIfsException - if the operation failspublic Hashtable getPropertyBundleProperties() throws IfsException
IfsException - if the operation failspublic void setPropertyBundleProperties(Hashtable ht) throws IfsException
ht - the hashed representation of a
                      PropertyBundle's propertiesIfsException - if the operation failspublic Long[] getGroupDirectMemberIds() throws IfsException
IfsException - if the operation failspublic void setGroupDirectMemberIds(Long[] ids) throws IfsException
ids - the direct member idsIfsException - if the operation failspublic Long[] getDirectAncestorGroupIds() throws IfsException
IfsException - if the operation failspublic void setDirectAncestorGroupIds(Long[] ids) throws IfsException
ids - the direct ancestor idsIfsException - if the operation failspublic Long getPrimaryUserProfileId() throws IfsException
IfsException - if the operation failspublic void setPrimaryUserProfileId(Long id) throws IfsException
id - the PrimaryUserProfile idIfsException - if the operation failspublic Long[] getCompositeAclIds() throws IfsException
IfsException - if the operation failspublic void setCompositeAclIds(Long[] ids) throws IfsException
ids - the composite ACLs of an ACLIfsException - if the operation failspublic Long[] getPolicyListElementIds() throws IfsException
IfsException - if the operation failspublic void setPolicyListElementIds(Long[] ids) throws IfsException
ids - the policylist element idsIfsException - if the operation failspublic Long[] getLifecyclePolicyEntryIds() throws IfsException
IfsException - if the operation failspublic void setLifecyclePolicyEntryIds(Long[] ids) throws IfsException
ids - the LifecyclePolicyEntry idsIfsException - if the operation failspublic Long[] getMessageEntryIds() throws IfsException
IfsException - if the operation failspublic void setMessageEntryIds(Long[] ids) throws IfsException
ids - the MessageEntry IDsIfsException - if the operation failspublic Hashtable getMediaCustomSecureParameters() throws IfsException
IfsException - if the operation failspublic void setMediaCustomSecureParameters(Hashtable sps) throws IfsException
sps - the secure parameters, or null if noneIfsException - if the operation failspublic Hashtable getAuditTypeEntryTable() throws IfsException
The Hashtable is keyed by operation type (the Integer), and has a value of an AuditTypeEntryValue.
IfsException - if the operation failspublic void setAuditTypeEntryTable(Hashtable ht) throws IfsException
 See javadoc for getAuditTypeEntryTable which describes the
 structure of the Hashtable.
ht - the hashed representation of an
                      AuditTypeList, keyed by operation type.IfsException - if the operation failspublic AttributeValue getDirectSubclassesValue() throws IfsException
IfsException - if the operation failspublic void setDirectSubclassesValue(AttributeValue av) throws IfsException
av - the value representing a set of ClassObjectsIfsException - if the operation failspublic Long[] getFolderItemIds(LibrarySessionInterface sess, SortSpecification sort) throws IfsException
IfsException - if the operation failspublic Boolean getHasSubFoldersState() throws IfsException
IfsException - if the operation failspublic void addFolderItemIds(Long[] ids, SortSpecification sort) throws IfsException
ids - the Folder item idsIfsException - if the operation failspublic void setHasSubFoldersState(boolean hasSubFolders)
                           throws IfsException
hasSubFolders - the new value for the stateIfsException - if the operation failspublic Long[] getReferencingFolderIds(LibrarySessionInterface sess, SortSpecification sort) throws IfsException
sess - the session sontextsort - how the IDs are to be sortedIfsException - if the operation failspublic void addReferencingFolderIds(Long[] ids, SortSpecification sort) throws IfsException
ids - the Folder item idssort - how they are sortedIfsException - if the operation failspublic Hashtable getFolderItemsKeyedByName() throws IfsException
IfsException - if the operation failspublic void setFolderItemsKeyedByName(Hashtable ht) throws IfsException
ht - the hashed representation of a
                      Folder's items.IfsException - if the operation failspublic Hashtable getNegativeFolderItemsKeyedByName() throws IfsException
IfsException - if the operation failspublic void setNegativeFolderItemsKeyedByName(Hashtable ht) throws IfsException
ht - the hashed representation of a
                      items not in a FolderIfsException - if the operation failspublic AuditFolderPath getAuditFolderPath() throws IfsException
IfsException - if the operation failspublic void setAuditFolderPath(AuditFolderPath afp) throws IfsException
afp - the AuditFolderPathIfsException - if the operation failspublic final Object clone() throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionpublic static boolean isEventAffectingSharedState(int eventSubtype)
eventSubtype - the event subtype that triggered the resetpublic void resetSharedState(IfsEvent event)
event - event that caused the shared state reset.protected void applySharedStateMutations(S_LibrarySession session)
session - LibrarySessionprotected void resetAllState()
Copyright © 2025. All rights reserved.