Oracle Content Management SDK

oracle.ifs.beans
Class FolderDefinition

java.lang.Object
  |
  +--oracle.ifs.beans.LibraryObjectDefinition
        |
        +--oracle.ifs.beans.PublicObjectDefinition
              |
              +--oracle.ifs.beans.FolderDefinition

public class FolderDefinition
extends PublicObjectDefinition

The FolderDefinition class is used to construct a Folder object. This subclass of PublicObjectDefinition sets the default ClassObject to "FOLDER".

See Also:
LibrarySession.createPublicObject(oracle.ifs.beans.PublicObjectDefinition)

Constructor Summary
FolderDefinition(LibrarySession session)
          Constructs a FolderDefinition explicitly capturing the session.
 
Method Summary
 int getFolderDepthOption()
          Gets the Folder depth system option that is set.
 void setFolderDepthOption(int depth)
          Sets the Folder depth system option.
 
Methods inherited from class oracle.ifs.beans.PublicObjectDefinition
addCategoryDefinition, getAddToFolderOption, getCategoryDefinitions, getContentQuotaCopyOption, getExplicitCreateDate, getExplicitLastModifyDate, getFreeIfLastFolderReferenceOption, getKeepLastModifierOption, getKeepLastModifyDateOption, getLockForSessionOption, getSecuringPublicObject, getUnlockForSessionOption, setAddToFolderOption, setExplicitCreateDate, setExplicitLastModifyDate, setFreeIfLastFolderReferenceOption, setKeepLastModifierOption, setKeepLastModifyDateOption, setLockForSessionOption, setSecuringPublicObject, setUnlockForSessionOption
 
Methods inherited from class oracle.ifs.beans.LibraryObjectDefinition
clone, getAttribute, getAttributes, getClassObject, getOption, getOptionKeys, removeAttribute, removeOption, setAttribute, setAttribute, setAttributeByUpperCaseName, setAttributes, setClassObject, setOption
 

Constructor Detail


FolderDefinition

public FolderDefinition(LibrarySession session)
                 throws IfsException
Constructs a FolderDefinition explicitly capturing the session.
Parameters:
session - current LibrarySession
Throws:
IfsException - if the operation fails
Method Detail

setFolderDepthOption

public void setFolderDepthOption(int depth)
                          throws IfsException
Sets the Folder depth system option. This option is only valid for free operations.
Parameters:
depth - folder depth system option
Throws:
IfsException - if the operation fails

getFolderDepthOption

public int getFolderDepthOption()
                         throws IfsException
Gets the Folder depth system option that is set.
Returns:
Folder depth system option;
Throws:
IfsException - if the operation fails

Oracle Content Management SDK

(c) 2002 Copyright Oracle Corporation. All rights reserved.