Oracle Content Management SDK

oracle.ifs.server
Class S_Relationship

java.lang.Object
  |
  +--oracle.ifs.server.S_LibraryObject
        |
        +--oracle.ifs.server.S_TieLibraryObject
              |
              +--oracle.ifs.server.S_SystemObject
                    |
                    +--oracle.ifs.server.S_TieSystemObject
                          |
                          +--oracle.ifs.server.S_Relationship
All Implemented Interfaces:
IfsEventHandler, LibraryObjectInterface, SystemObjectInterface, Traceable
Direct Known Subclasses:
S_TieRelationship

public class S_Relationship
extends S_TieSystemObject

The S_Relationship class is the server side implementation of the iFS RELATIONSHIP class


Method Summary
protected  void deriveDefinition(S_LibraryObjectDefinition def)
          Add to the S_LibraryObjectDefinition for this class.
protected  void extendedPostAddRelationship(OperationState opState, S_PublicObject rightpo, S_LibraryObjectDefinition def)
          an extensibility point after a relationship is created.
protected  void extendedPostRemoveRelationship(OperationState opState, S_PublicObject rightpo, S_LibraryObjectDefinition def)
          an extensibility point after a relationship is removed.
protected  void extendedPreAddRelationship(OperationState opState, S_PublicObject rightpo, S_LibraryObjectDefinition def)
          an extensibility point before a relationship is created.
protected  void extendedPreFree(OperationState opState, S_LibraryObjectDefinition def)
          Processing appropriate for freeing this object Save the left object away for post free processing
protected  void extendedPreInsert(OperationState opState, S_LibraryObjectDefinition def)
          Update any system attributes appropriate for creating this object
protected  void extendedPreRemoveRelationship(OperationState opState, S_PublicObject rightpo, S_LibraryObjectDefinition def)
          an extensibility point before a relationship is removed.
 
Methods inherited from class oracle.ifs.server.S_LibraryObject
equals, extendedPostFree, extendedPostInsert, extendedPostUpdate, extendedPreUpdate, free, getAttribute, getAttributeByUpperCaseName, getClassId, getClassObject, getId, getSession, handleEvent, hasNameAttribute, 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
Update any system attributes appropriate for creating this object
Overrides:
extendedPreInsert in class S_SystemObject
Parameters:
opState - current operation state
def - current object definition to be updated with system attributes
Throws:
IfsException - if operation fails.

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_LibraryObject
Parameters:
def - the S_LibraryObjectDefinition that contains the definition of the target object.
Throws:
IfsException - if operation fails.

extendedPreFree

protected void extendedPreFree(OperationState opState,
                               S_LibraryObjectDefinition def)
                        throws IfsException
Processing appropriate for freeing this object Save the left object away for post free processing
Overrides:
extendedPreFree in class S_LibraryObject
Parameters:
the - operation state
def - current object definition to be freed
Throws:
IfsException - if operation fails.

extendedPreAddRelationship

protected void extendedPreAddRelationship(OperationState opState,
                                          S_PublicObject rightpo,
                                          S_LibraryObjectDefinition def)
                                   throws IfsException
an extensibility point before a relationship is created.
Parameters:
opState - the operation state
rightpo - the item being added to the folder
def - the LibraryObjectDefinition that contains the settings for the new instance.
Throws:
IfsException - if any other aspect of the operation fails.

extendedPostAddRelationship

protected void extendedPostAddRelationship(OperationState opState,
                                           S_PublicObject rightpo,
                                           S_LibraryObjectDefinition def)
                                    throws IfsException
an extensibility point after a relationship is created.
Parameters:
opState - the operation state
rightpo - the item being added to the folder
def - the LibraryObjectDefinition that contains the settings for the new instance.
Throws:
IfsException - if any other aspect of the operation fails.

extendedPreRemoveRelationship

protected void extendedPreRemoveRelationship(OperationState opState,
                                             S_PublicObject rightpo,
                                             S_LibraryObjectDefinition def)
                                      throws IfsException
an extensibility point before a relationship is removed.
Parameters:
opState - the operation state
rightpo - the item being removed from the folder
Throws:
IfsException - if any other aspect of the operation fails.

extendedPostRemoveRelationship

protected void extendedPostRemoveRelationship(OperationState opState,
                                              S_PublicObject rightpo,
                                              S_LibraryObjectDefinition def)
                                       throws IfsException
an extensibility point after a relationship is removed.
Parameters:
opState - the operation state
rightpo - the item being removed from the folder
Throws:
IfsException - if any other aspect of the operation fails.

Oracle Content Management SDK

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