Oracle Content Management SDK

oracle.ifs.server
Class S_Category

java.lang.Object
  |
  +--oracle.ifs.server.S_LibraryObject
        |
        +--oracle.ifs.server.S_TieLibraryObject
              |
              +--oracle.ifs.server.S_PublicObject
                    |
                    +--oracle.ifs.server.S_TiePublicObject
                          |
                          +--oracle.ifs.server.S_Category
All Implemented Interfaces:
IfsEventHandler, LibraryObjectInterface, PublicObjectInterface, Traceable
Direct Known Subclasses:
S_TieCategory

public class S_Category
extends S_TiePublicObject

Category subclasses can contain their own custom data, which effectively contain data about the PublicObject with which the Category instance is associated.

A PublicObject can be associated with any Category, which allows different sets of data to be associated with instances of the same PublicObject subclass.


Method Summary
protected  void deriveDefinition(S_LibraryObjectDefinition def)
          Add to the S_LibraryObjectDefinition for this class.
protected  void extendedPreInsert(OperationState opState, S_LibraryObjectDefinition def)
          Performs pre-insert validation.
protected  void extendedPreUpdate(OperationState opState, S_LibraryObjectDefinition def)
          Performs pre-update validation.
 
Methods inherited from class oracle.ifs.server.S_PublicObject
addRelationship, checkAccess, extendedPostInsert, extendedPostUpdate, extendedPreFree, getCategories, getCategories, getLeftwardRelationshipObjects, getLeftwardRelationshipObjects, getLeftwardRelationships, getLeftwardRelationships, getLockObject, getReferencingFolders, getRightwardRelationshipObjects, getRightwardRelationshipObjects, getRightwardRelationships, getRightwardRelationships, getVersionDescriptions, hasNameAttribute, isLocked, isVersionable, removeRelationship, verifyCanUseContentQuota
 
Methods inherited from class oracle.ifs.server.S_LibraryObject
equals, free, getAttribute, getAttributeByUpperCaseName, getClassId, getClassObject, getId, getSession, handleEvent, isTraced, postEvent, postEvent, renderAsReader, renderAsStream, setAttribute, setAttribute, toString, trace, update
 
Methods inherited from interface oracle.ifs.common.LibraryObjectInterface
getId
 
Methods inherited from interface oracle.ifs.common.Traceable
getTraceLogger, isTraced, trace
 

Method Detail


deriveDefinition

protected void deriveDefinition(S_LibraryObjectDefinition def)
                         throws IfsException
Add to the S_LibraryObjectDefinition for this class. This this called by getDefinition() on S_LibraryObject. This must call super.deriveDefinition() before applying any class-specific changes to the S_LibraryObjectDefinition object.
Overrides:
deriveDefinition in class S_PublicObject
Parameters:
def - the definition of the target object.
Throws:
IfsException - if operation fails.

extendedPreInsert

protected void extendedPreInsert(OperationState opState,
                                 S_LibraryObjectDefinition def)
                          throws IfsException
Performs pre-insert validation.
Overrides:
extendedPreInsert in class S_PublicObject
Parameters:
opState - operation state
def - the definition of the Category being created
Throws:
IfsException - if operation fails

extendedPreUpdate

protected void extendedPreUpdate(OperationState opState,
                                 S_LibraryObjectDefinition def)
                          throws IfsException
Performs pre-update validation.
Overrides:
extendedPreUpdate in class S_PublicObject
Parameters:
opState - the operation state
def - the definition of the Category being updated.
Throws:
IfsException - if operation fails

Oracle Content Management SDK

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