public class DateAutoFolderingAction extends AutoFolderingActionAdapter
Modifier and Type | Field and Description |
---|---|
static String |
ECM_USE_SECONDS |
static String |
USE_SECONDS
Option indicating whether to use the seconds (/ss) subfolder.
|
Constructor and Description |
---|
DateAutoFolderingAction() |
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.
|
createFolder, createFolder, getAutoFolderingActionSpecificationName
public static final String USE_SECONDS
AutoFolderingActionSpecification.setPropertyValue()
with a boolean AttributeValue. The default is false.public static final String ECM_USE_SECONDS
public 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.
initialize
in interface AutoFolderingAction
initialize
in class AutoFolderingActionAdapter
spec
- The specification for a given implementation.IfsException
- if the operation fails.public Folder getLeafFolder(Folder rootFolder, PublicObjectDefinition def) throws IfsException
getLeafFolder
in interface AutoFolderingAction
getLeafFolder
in class AutoFolderingActionAdapter
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.