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 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, deriveDefinition, extendedPreFree, getCategories, getLeftwardRelationshipObjects, getLeftwardRelationshipObjects, getLeftwardRelationships, getLeftwardRelationships, getReferencingFolders, getRightwardRelationshipObjects, getRightwardRelationshipObjects, getRightwardRelationships, getRightwardRelationships, getVersionDescriptions, hasNameAttribute, isLocked, isVersionable, removeRelationship
 
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


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