public class Folder extends TiePublicObject
To access PublicObjects in a folder use getItems()
.
Modifier and Type | Field and Description |
---|---|
static String |
CLASS_NAME
This class name for this class.
|
static int |
SYSTEMOPTIONVALUE_FOLDER_DEPTH_DEEPEST
FolderDepth option for Folder.free(def).
|
static int |
SYSTEMOPTIONVALUE_FOLDER_DEPTH_MUST_BE_EMPTY
FolderDepth option for Folder.free(def).
|
static int |
SYSTEMOPTIONVALUE_FOLDER_DEPTH_NONE
FolderDepth option for Folder.free(def).
|
ACL_ATTRIBUTE, CREATEDATE_ATTRIBUTE, CREATOR_ATTRIBUTE, DELETOR_ATTRIBUTE, DESCRIPTION_ATTRIBUTE, EXPIRATIONDATE_ATTRIBUTE, FAMILY_ATTRIBUTE, FLAG_CATEGORY_EXISTS, FLAG_CONFIGURATIONCATEGORY_EXISTS, FLAG_MARKED, FLAG_NOINFERIOR, FLAG_NOSELECT, FLAG_NTFS_ARCHIVE, FLAG_NTFS_HIDDEN, FLAG_NTFS_READONLY, FLAG_NTFS_SYSTEM, FLAG_UNMARKED, FLAGS_ATTRIBUTE, LASTMODIFIER_ATTRIBUTE, LASTMODIFYDATE_ATTRIBUTE, LOCKENTRIES_ATTRIBUTE, LOCKOBJECT_ATTRIBUTE, NAME_ATTRIBUTE, OWNER_ATTRIBUTE, POLICYBUNDLE_ATTRIBUTE, POLICYLISTS_ATTRIBUTE, PRIMARYPARENTFOLDER_ATTRIBUTE, PROPERTYBUNDLE_ATTRIBUTE, RESOLVEDPUBLICOBJECT_ATTRIBUTE, SECURINGPUBLICOBJECT_ATTRIBUTE
DOMAIN_UNIQUENAME_DEFAULT_DELIMITER, m_ClassId, m_Id, m_Session
Modifier | Constructor and Description |
---|---|
protected |
Folder(LibrarySession session,
Long id,
Long classId,
S_LibraryObjectData data)
Construct a Folder object - standard variant.
|
Modifier and Type | Method and Description |
---|---|
void |
addItem(PublicObject item)
Adds an item to the folder.
|
void |
addItem(PublicObject item,
FolderRelationshipDefinition def)
Adds an item to the folder.
|
void |
addItems(PublicObject[] objs)
Adds an array of PublicObjects to this Folder.
|
protected void |
auditUpdated(LibraryObjectDefinition lodef)
Creates audit events for the update operation.
|
PublicObjectCapabilities |
capabilities()
Returns the PublicObjectCapabilities delegate which tracks the
capabilities of this object.
|
boolean |
checkExistenceOfPublicObjectByPath(String path)
Determines whether an item exists at the specified path
relative to this Folder.
|
protected static Folder |
constructFolder(LibrarySession sess,
S_LibraryObjectData data)
Constructs a Folder object from the S_LibraryObjectData object.
|
protected static Folder[] |
constructFolderArray(LibrarySession sess,
Long[] ids)
Construct a Folder array from an array of object IDs.
|
protected static Vector |
constructFolderVector(LibrarySession sess,
Vector vector)
Returns Folder Vector from a Vector of S_FolderData objects.
|
Document |
createSecuredDocument(DocumentDefinition def)
Create a document that is parented to and secured by the target folder.
|
String |
createUniqueName(String name)
Creates a unique name by appending a number to the given name,
preserving the file extension of the name.
|
String |
createUniqueName(String name,
boolean preserveExt)
Creates a unique name by appending a number to the given name.
|
void |
deepFree()
Permanently frees this Folder and all of its subitems in a
single transaction.
|
boolean |
exists(String path)
Checks if the given path refers to a PublicObject.
|
protected int |
fetchItemCount()
Calculates the item count from the item list.
|
protected int |
fetchSubfolderCount()
Calculates the subfolder count from the item list.
|
PublicObject |
find(String path)
Given a Folder and a path relative to that folder, find the
public object specified by the path.
|
PublicObject |
findPublicObjectByPath(String path)
Finds an item descending from a Folder, as specified
by a file-system style path.
|
void |
free(LibraryObjectDefinition def)
Permanently removes this object from the repository, with options.
|
Long |
getGlobalAuditEventExpirationPeriod()
Gets the expiration period to use for events in the global
AuditSpecification.
|
AuditTypeList |
getGlobalAuditTypeList()
Gets the global AuditTypeList registered for this domain context.
|
int |
getItemCount()
Gets the number of items in this Folder, including both
documents and subfolders.
|
PublicObject[] |
getItems()
Gets an array containing this Folder's items.
|
PublicObject[] |
getResolvedItems()
Returns the items in this Folder, resolving each to a Document or a Link.
|
SortSpecification |
getSortSpecification()
Gets the SortSpecification used for getting items from this folder.
|
int |
getSubfolderCount()
Gets the count of subfolders in this folder.
|
protected void |
handleAdminModeChange()
Handles an intra-session admin mode change event.
|
protected void |
handleDefaultFolderOptionChange()
Handles change in the default Folder options.
|
void |
handleEvent(IfsEvent event)
Handles the specified event.
|
boolean |
hasItems()
Returns true if this Folder has any items.
|
boolean |
hasSubfolders()
Gets indication as to whether this folder has any
subfolders in it.
|
static void |
initializeSubfolderIndication(LibrarySession session)
Initializes all Folders' indication as to whether
they have any subfolders.
|
boolean |
isAuditAdministrator()
Checks if the current user is an Audit admin for the target domain.
|
protected boolean |
isValidEventType(AuditEvent event)
Checks to see if the event type in the process of being posted on the
target LibraryObject is consistent with the target.
|
boolean |
isValidNameForNewObject(String name)
Returns true if the specified name can be used for a new object
in the target folder.
|
void |
lock(LockObjectDefinition ldef,
FolderDefinition fdef)
Constructs a new lockobject from the definition and sets it as
the value of the LockObject attribute on the PO.
|
void |
lock(LockObject lobj,
FolderDefinition fdef)
Sets the value of the LockObject attribute of the folder.
|
void |
moveItems(PublicObject[] objs,
Folder addToFolder)
Moves the specified array of PublicObjects from this
Folder to the passed Folder.
|
PublicObject[] |
newGetItems()
Gets an array containing this Folder's items.
|
protected void |
postCreate(LibraryObjectDefinition lodef)
Extensibility point to perform actions after the
creation of a PublicObject.
|
protected void |
preFree(LibraryObjectDefinition lodef)
Extensibility point to perform actions prior to the
permanent deletion ("free") of a object.
|
void |
removeAllItems()
Removes all items from this Folder.
|
void |
removeItem(PublicObject item)
Removes the first reference to an item from this Folder
without altering the item.
|
void |
removeItem(PublicObject item,
PublicObjectDefinition def)
Removes the first reference to an item from this Folder
without altering the item.
|
void |
removeItems(PublicObject[] objs)
Removes the passed array of PublicObjects from this Folder.
|
protected void |
reportFolderCreated()
Audits a Folder create operation.
|
protected void |
reportFolderFreed()
Audits a Folder free operation.
|
protected void |
reportFolderItemAdded(PublicObject item)
Audits a Folder addItem operation.
|
protected void |
reportFolderItemRemoved(PublicObject item)
Audits a Folder removeItem operation.
|
void |
resetItems()
Clears locally cached item counts.
|
protected SortSpecification |
resolveSortSpecification(LibrarySession session)
Forces the SortSpecification (if specified) to be resolved and
verified.
|
void |
setDomainVisibleSecurity(PublicObjectDefinition def)
Set "domain visible" security information in the specified
PublicObjectDefinition.
|
void |
setSortSpecification(SortSpecification sort)
Sets the SortSpecification used for getting items from this folder.
|
void |
unlock(FolderDefinition fdef)
Releases the lock on the object.
|
protected static Folder[] |
vectorToFolderArray(Vector vector)
Convert a Vector of Folder to an array of Folder.
|
protected void |
verifyAddItemCapability()
Verify the ability to add item.
|
protected void |
verifyRemoveItemCapability()
Verify the ability to remove item.
|
void |
verifyValidAuditDomain()
Verifies that the target object is a valid Audit Domain.
|
addAccess, addAttachment, addCategory, addFlags, addMessageList, addRelationship, auditPublicObjectLocked, auditPublicObjectUnlocked, canAcquireManualLock, canReleaseDavLock, canReleaseLock, canReleaseManualLock, checkAuditViewCapability, checkCapabilities, checkCapability, checkEffectiveAccess, checkEffectiveAccess, checkLockAccess, checkParentFolderCapability, checkVersioned, clearFlags, constructPublicObject, constructPublicObjectArray, constructPublicObjectVector, containsLockEntry, copy, coreAutoFolderingEnabled, createCategories, createDedicatedPolicyPropertyBundle, delete, deriveEffectiveAccessLevel, findAttachmentRelation, findOrAddActivityRecord, findOrAddActivityRecord, findOrAddActor, findOrAddActor, findOrAddMessageList, findOrAddMessageList, getAcl, getActivityRecord, getActor, getAllFolderPaths, getAllFolderPaths, getAllFolderPaths, getAnyFolderPath, getAnyFolderPath, getAnyFolderPath, getAttachmentRelation, getAttachmentRelations, getAttachments, getCapabilities, getCategories, getCategories, getCategories, getCategories, getCategories, getCategory, getConsumedStorage, getCreateDate, getCreator, getDefaultAccessLevel, getDefinitionForSimplePropertyUpdates, getDeletor, getDescription, getEffectiveAccessLevel, getEffectiveAccessLevel, getExpirationDate, getFamily, getFirstCategory, getFirstVersion, getFlags, getFolderReferences, getFolderReferences, getFolderReferencesSortSpecification, getLastModifier, getLastModifyDate, getLastVersion, getLeftwardRelationshipObjects, getLeftwardRelationshipObjects, getLeftwardRelationships, getLeftwardRelationships, getLeftwardRelationshipsCount, getLeftwardRelationshipsCount, getLinks, getLockEntries, getLockEntries, getLockObject, getLockRestrictions, getLockTypeAuditProperties, getMessageList, getNextVersion, getOwner, getPolicyBundle, getPolicyLists, getPreviousVersion, getPrimaryFolderPath, getPrimaryParentFolder, getPrimaryParentFolder, getRelations, getReservationComment, getReservationDate, getReservor, getResolvedPublicObject, getRestrictingLockEntries, getRightwardRelationshipObjects, getRightwardRelationshipObjects, getRightwardRelationships, getRightwardRelationships, getSecuringPublicObject, getSingletonVersionDescription, getVersionNumber, getVersions, getVersionSeries, getWorkingCopy, grantAccess, handleCopy, handleCreate, handleUnlockAll, hasActivityRecord, hasActor, hasAttachmentRelation, hasCategories, hasCategory, hasConfigurationCategories, hasMessageList, hasNameAttribute, hasPropertyBundleAttribute, isAttachment, isDeleted, isLatestVersion, isLocked, isLockingSupported, isOwner, isReserved, isReservedByCurrentUser, isVersionable, isVersioned, isWorkingCopy, listLeftwardRelationships, listRightwardRelationships, lock, lock, lock, lock, newVersion, postCopy, postSecurityChangedEvent, postUpdate, preCopy, preCreate, preUpdate, putPolicy, reassociateLinks, removeAllPolicies, removeAttachment, removePolicy, removePolicy, removeRelationship, reserveNext, resetFolderReferences, resolveFolderReferenceSortSpecification, revokeAccess, revokeAllAccess, setAcl, setDescription, setExpirationDate, setFlags, setFolderReferencesSortSpecification, setLockEntries, setLockEntrySecurity, setOwner, setOwnerByName, setPolicyBundle, setPolicyLists, setSecuringPublicObject, toPublicObjectArray, undelete, unlock, unlock, unlockAll, unReserve, updateFlags, updateLock, vectorPublicObjectElement, vectorToPublicObjectArray, verifyAddRelationshipCapability, verifyCapabilities, verifyCapability, verifyDeleteCapability, verifyLockCapability, verifyRemoveRelationshipCapability, verifyUnlockCapability, verifyVersionSeries
added, addSimpleProperty, addSimpleProperty, applyProperties, auditCreated, 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, 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, handleFree, handleUpdate, hashCode, invalidateState, invokeOperation, invokeOperation, invokeServerMethod, isConnected, isCoreEventPostingEnabled, isInstanceOf, isPersistent, isTraced, lockRows, lookupInstanceLabel, performPostCreateExtensions, performPostFreeExtensions, performPostUpdateExtensions, performPreCreateExtensions, performPreFreeExtensions, performPreUpdateExtensions, postEvent, postEvent, postFree, 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 int SYSTEMOPTIONVALUE_FOLDER_DEPTH_NONE
public static final int SYSTEMOPTIONVALUE_FOLDER_DEPTH_DEEPEST
public static final int SYSTEMOPTIONVALUE_FOLDER_DEPTH_MUST_BE_EMPTY
protected Folder(LibrarySession session, Long id, Long classId, S_LibraryObjectData data) throws IfsException
session
- the sessionid
- the idclassId
- the class iddata
- the Folder dataIfsException
- if the operation failspublic PublicObjectCapabilities capabilities()
capabilities
in class PublicObject
protected void postCreate(LibraryObjectDefinition lodef) throws IfsException
PublicObject
This assumes that a transaction context has already been established.
postCreate
in class PublicObject
lodef
- object definition that was used to create the objectIfsException
- if the operation failsprotected void preFree(LibraryObjectDefinition lodef) throws IfsException
PublicObject
Override to free all existing categories, in such a way that the PO doesn't get updated for each category free.
preFree
in class PublicObject
lodef
- object definition used to hold
options related to the free operationIfsException
- if operation fails.protected boolean isValidEventType(AuditEvent event) throws IfsException
isValidEventType
in class LibraryObject
event
- the event being posted on this objectIfsException
- if the operation failsprotected void auditUpdated(LibraryObjectDefinition lodef) throws IfsException
auditUpdated
in class LibraryObject
lodef
- The update definitionIfsException
- if the operation failsprotected void reportFolderCreated() throws IfsException
IfsException
- if the operation failsprotected void reportFolderFreed() throws IfsException
IfsException
- if the operation failsprotected void reportFolderItemAdded(PublicObject item) throws IfsException
item
- the item being addedIfsException
- if the operation failsprotected void reportFolderItemRemoved(PublicObject item) throws IfsException
item
- the item being removedIfsException
- if the operation failspublic SortSpecification getSortSpecification() throws IfsException
IfsException
- if operation fails.public void setSortSpecification(SortSpecification sort) throws IfsException
sort
- this Folder's SortSpecificationIfsException
- if operation fails.protected SortSpecification resolveSortSpecification(LibrarySession session) throws IfsException
session
- the current LibrarySessionIfsException
- if the operation failspublic PublicObject find(String path) throws IfsException
If there is no PublicObject at the specified path, returns null.
If there is an object, but the requestor does not have access to it, throw an exception indicating access denied. The specified path must not start with a path delimiter.
If the path is null or the empty string, returns null.
path
- the String containing the path to check,
relative to the target folderIfsException
- if the operation failspublic PublicObject findPublicObjectByPath(String path) throws IfsException
FolderUtilities.findObjectByAbsolutePath
.path
- the folder path to the desired item.IfsException
- if the operation fails.public boolean exists(String path) throws IfsException
path
- the path to check.IfsException
- if the operation failspublic boolean checkExistenceOfPublicObjectByPath(String path) throws IfsException
path
- path the folder path to the desired item.IfsException
- if the operation fails.public String createUniqueName(String name) throws IfsException
name
- the base name to make unique.IfsException
- if the operation failspublic String createUniqueName(String name, boolean preserveExt) throws IfsException
name
- the base name to make unique.preserveExt
- whether or not to preserve the file extensionIfsException
- if the operation failspublic boolean isValidNameForNewObject(String name) throws IfsException
name
- the name to be checked.IfsException
- if the operation failspublic int getItemCount() throws IfsException
May returned cached information that does not reflect the actual number
of discoverable items. Call resetItems
first in order
to get more accurate information.
IfsException
- if operation fails.protected int fetchItemCount() throws IfsException
The cached folder item count info will be updated as a side-effect of calling this method.
IfsException
- if operation fails.public int getSubfolderCount() throws IfsException
May returned cached information that does not reflect the actual number
of discoverable subfolders. Call resetItems
first in order
to get more accurate information.
IfsException
- if operation fails.protected int fetchSubfolderCount() throws IfsException
The cached folder item count info will be updated as a side-effect of calling this method.
IfsException
- if operation fails.public boolean hasItems() throws IfsException
May returned cached information that does not reflect the actual number
of discoverable items. Call resetItems
first in order
to get more accurate information.
IfsException
- if the operation fails.public boolean hasSubfolders() throws IfsException
May returned cached information that does not reflect the actual number
of discoverable subfolders. Call resetItems
first in order
to get more accurate information.
IfsException
- if operation fails.public void resetItems() throws IfsException
Call this prior to any of the accessors related to item counts, to get accurate counts.
IfsException
- if the operation failspublic PublicObject[] getItems() throws IfsException
Returns null if no items in this Folder.
IfsException
- if the operation failspublic PublicObject[] newGetItems() throws IfsException
IfsException
- if the operation fails.public PublicObject[] getResolvedItems() throws IfsException
The resolving process returns the correct version of a Family based on the session's version selection mode. By default, this is the latest version.
IfsException
- if the operation failspublic void addItem(PublicObject item) throws IfsException
item
- the item to be added.IfsException
- if the operation fails.public void addItem(PublicObject item, FolderRelationshipDefinition def) throws IfsException
item
- the item to be added.def
- the FolderRelationshipDefinition.IfsException
- if the operation fails.protected void verifyAddItemCapability() throws IfsException
IfsException
- if the operation failsprotected void verifyRemoveItemCapability() throws IfsException
IfsException
- if the operation failspublic Document createSecuredDocument(DocumentDefinition def) throws IfsException
def
- the document definitionIfsException
- if the operation failspublic void removeItem(PublicObject item) throws IfsException
item
- the item to be removed from the folder.IfsException
- if the operation fails.public void removeItem(PublicObject item, PublicObjectDefinition def) throws IfsException
item
- the item to be removed from the folder.def
- the options to be used in this operation.IfsException
- if the operation fails.public void addItems(PublicObject[] objs) throws IfsException
Note that if any of the items fail to be added due to security reasons etc. the entire operation is rolled back and none of the changes take effect.
objs
- PublicObjects to be added.IfsException
- if the operation fails.public void removeItems(PublicObject[] objs) throws IfsException
If any of the items fail to be removed due to security reasons etc. this method will rollback all operations and none of the changes take effect
objs
- PublicObjects to be removed.IfsException
- if the operation fails.public void removeAllItems() throws IfsException
If any of the items fail to be removed due to security reasons etc. this method will rollback all operations and none of the changes take effect
IfsException
- if the operation fails.public void free(LibraryObjectDefinition def) throws IfsException
If a null definition is specified, a default definition is used.
free
in class PublicObject
def
- Context for the free operation.IfsException
- if operation fails.public void deepFree() throws IfsException
IfsException
- if operation fails.public void moveItems(PublicObject[] objs, Folder addToFolder) throws IfsException
If any of the items fail to be moved due to security reasons etc. this method will throw an exception and roll back
objs
- PublicObjects to be moved.addToFolder
- destination FolderIfsException
- if the operation fails.public void lock(LockObject lobj, FolderDefinition fdef) throws IfsException
A user must have setAttribute permission on the object
to perform this operation.
see the JavaDoc for LockObject for additional permission requirements
for the different lock states.
The folder definition is used for deep locking. If the def
has the FolderDepth option SYSTEMOPTIONVALUE_FOLDER_DEPTH_DEEPEST
set, then all the items under this folder that the user has
access to will be locked and will share the same lockobject
as the parent folder.
The entire operation is performed in a transaction to ensure
complete or no success.
lobj
- LockObject the existing lockobject to be usedfdef
- FolderDefinition the definition that contains the depth
optionIfsException
- if operation fails.public void lock(LockObjectDefinition ldef, FolderDefinition fdef) throws IfsException
A user must have SetAttribute permission on the object to perform
this operation. See the JavaDoc for LockObject for additional
permission requirements for the various lockstates.
The folder definition is used for deep locking. If the def
has the FolderDepth option SYSTEMOPTIONVALUE_FOLDER_DEPTH_DEEPEST
set then all the items under this folder that the user has
access to will be locked and will share the same lockobject
as the parent folder.
The entire operation is performed in a transaction to ensure
complete or no success.
ldef
- LockObjectDefinition to be used.This will construct a new
lockobjectfdef
- FolderDefinition the definition that contains the depth
optionIfsException
- if operation fails.public void unlock(FolderDefinition fdef) throws IfsException
A user must have SetAttribute permissions on the object to perform
this operation. See the JavaDoc for LockObject for additional
permission requirements for other lock states.
This will set the LockObject attribute on PO to null
The folder definition is used for deep locking. If the def
has the FolderDepth option SYSTEMOPTIONVALUE_FOLDER_DEPTH_DEEPEST
set, then all the items under this folder that the user has
access to will be unlocked.
The entire operation is performed in a transaction to ensure
complete or no success.
fdef
- FolderDefinition the definition that contains the depth
optionIfsException
- if operation fails.public void handleEvent(IfsEvent event) throws IfsException
handleEvent
in interface IfsEventHandler
handleEvent
in class LibraryObject
event
- the eventIfsException
- if the operation failsprotected void handleDefaultFolderOptionChange() throws IfsException
IfsException
- if the operation failsprotected void handleAdminModeChange() throws IfsException
This class overrides to reset the Items cache.
handleAdminModeChange
in class LibraryObject
IfsException
- if the operation failspublic void verifyValidAuditDomain() throws IfsException
IfsException
- if the not a valid Audit Domainpublic boolean isAuditAdministrator() throws IfsException
Returns true if current user is SYSTEM.
IfsException
- if the operation failspublic AuditTypeList getGlobalAuditTypeList() throws IfsException
This base class impl just returns the AuditTypeList from the domain PropertyBundle. Subclasses can return something more specific, e.g. in ECM, a Domain property is returned.
IfsException
- if the operation failspublic Long getGlobalAuditEventExpirationPeriod() throws IfsException
The impl in this base class returns the value stored as a domain property.
IfsException
- if the operation failspublic void setDomainVisibleSecurity(PublicObjectDefinition def) throws IfsException
Overrides base implmentation in Folder,and delegates to a utility method.
def
- set security info will be set on this definitionIfsException
- if the operation failspublic static void initializeSubfolderIndication(LibrarySession session) throws IfsException
session
- the session contextIfsException
- if operation fails.protected static Vector constructFolderVector(LibrarySession sess, Vector vector) throws IfsException
sess
- current LibrarySessionvector
- vector of Folder objectsIfsException
- if the operation failsprotected static Folder constructFolder(LibrarySession sess, S_LibraryObjectData data) throws IfsException
sess
- current LibrarySessiondata
- data componentIfsException
- if the operation failsprotected static Folder[] constructFolderArray(LibrarySession sess, Long[] ids) throws IfsException
sess
- the requesting sessionids
- the array of object IDsIfsException
- if operation fails.Copyright © 2023. All rights reserved.