public final class AuditFolderPath extends Object implements Serializable, LooselyBoundedCacheable
| Constructor and Description | 
|---|
AuditFolderPath(long folderPathId,
               long folderContextId,
               Long[] pathIds,
               long expTime)
Constructs an AuditFolderPath. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
added(Object id)
Called when an instance is added to the cache. 
 | 
boolean | 
canPurge()
Gets whether the item can be purged from the
 the BoundedCache. 
 | 
long | 
getExpirationTime()
Gets the timestamp repsenting the time this entry expires, 
 as a time offset from 1970. 
 | 
long | 
getFolderContextId()
Gets the ID of the folder context. 
 | 
long | 
getFolderPathId()
Gets the ID of the entry in the audit folder path table. 
 | 
Long[] | 
getPathIds()
The IDs of the items that comprise the folder path. 
 | 
boolean | 
isEquivalent(Long[] ids)
Checks if the specified array of IDs matches the ID array
 represented by this instance. 
 | 
boolean | 
isExpired()
Checks to see if this instance is expired 
 | 
void | 
removed(Object id)
Called when an instance is removed to the cache. 
 | 
public AuditFolderPath(long folderPathId,
                       long folderContextId,
                       Long[] pathIds,
                       long expTime)
folderPathId - the ID of the entry in the audit folder path tablefolderContextId - the ID of the folder contextpathIds - the IDs of the items that comprise the folder pathexpTime - the expiration timepublic long getFolderPathId()
public long getFolderContextId()
public Long[] getPathIds()
The array is sorted so that the first element is the audit folder context, and the last is the folder that is a direct child of the domain context.
public long getExpirationTime()
public boolean isEquivalent(Long[] ids)
public boolean isExpired()
public boolean canPurge()
                 throws IfsException
The caller of this method indicates a desire to purge the object. The implementation should treat this as a purge request, but can return false if the item should not be purged.
canPurge in interface LooselyBoundedCacheableIfsException - if operation fails.public void added(Object id)
added in interface LooselyBoundedCacheableid - the id used for this entry in the cachepublic void removed(Object id)
removed in interface LooselyBoundedCacheableid - the id used for this entry in the cacheCopyright © 2025. All rights reserved.