public interface AutoFolderingAction
Modifier and Type | Method and Description |
---|---|
Folder |
getLeafFolder(Folder rootFolder,
PublicObjectDefinition def)
Returns the leaf folder where the new object should be foldered, relative
to the specified root folder.
|
void |
initialize(AutoFolderingActionSpecification spec)
Initialize this instance.
|
void initialize(AutoFolderingActionSpecification spec) throws IfsException
Called immediately after construction (via the default constructor) and used so that the implementation can initialize session-independent state. This instance may be subsequently used concurrently by multiple threads and sessions. A session can be retrieved from the specification object, but it must not be cached. The specification also has the implementation and instance specific parameters which should be cached in a session independent way.
spec
- The specification for a given implementation.IfsException
- if the operation fails.Folder getLeafFolder(Folder rootFolder, PublicObjectDefinition def) throws IfsException
rootFolder
- The root of the folder tree.def
- The definition of the object about to be created.IfsException
- if the operation fails.Copyright © 2023. All rights reserved.