|
Oracle Content Management SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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_Folder
Server side representation of the FOLDER class.
S_LibraryService
,
S_LibrarySession
Method Summary | |
void |
addItem(S_PublicObject ro,
S_LibraryObjectDefinition rdef)
Add an item to a Folder. |
boolean |
checkExistenceOfPublicObjectByPath(java.lang.String path)
Check for existence of an object at the specified path. |
protected void |
extendedPostAddItem(OperationState opState,
S_PublicObject rightpo,
S_LibraryObjectDefinition def,
S_Relationship rel)
An extensibility point after an item is added to a folder. |
protected void |
extendedPostInsert(OperationState opState,
S_LibraryObjectDefinition def)
operations to be performed after creating an instance of S_Folder. |
protected void |
extendedPostRemoveItem(OperationState opState,
S_PublicObject rightpo,
S_LibraryObjectDefinition def,
S_Relationship relationship)
an extensibility point after an item is removed from a folder. |
protected void |
extendedPreAddItem(OperationState opState,
S_PublicObject rightpo,
S_LibraryObjectDefinition def)
An extensibility point before an item is added to a folder. |
protected void |
extendedPreFree(OperationState opState,
S_LibraryObjectDefinition def)
operations to be performed before freeing an instance of S_Folder. |
protected void |
extendedPreRemoveItem(OperationState opState,
S_PublicObject rightpo,
S_LibraryObjectDefinition def,
S_Relationship relationship)
an extensibility point before an item is removed from a folder. |
S_PublicObject |
findPublicObjectByPath(java.lang.String path)
Find item by Folder path. |
long |
getItemCount(java.lang.String folderRelClassname)
Get the number of items in the S_Folder. |
S_PublicObject[] |
getItems(java.lang.String classname,
SortSpecification sort)
Gets the PUBLICOBJECTs in this FOLDER. |
long |
getSubfolderCount(java.lang.String folderRelClassname)
Get the number of sub folders in the S_Folder. |
void |
handleEvent(IfsEvent event)
Handles the specified event. |
boolean |
isVersionable()
isVersionable() - true is this object can be in a Family. |
void |
removeItem(S_PublicObject ro,
S_LibraryObjectDefinition def)
Remove an item from a Folder. |
Methods inherited from class oracle.ifs.server.S_LibraryObject |
equals, free, getAttribute, getAttributeByUpperCaseName, getClassId, getClassObject, getId, getSession, 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 |
public void handleEvent(IfsEvent event) throws IfsException
handleEvent
in class S_LibraryObject
event
- the eventIfsException
- if the operation failsprotected void extendedPostInsert(OperationState opState, S_LibraryObjectDefinition def) throws IfsException
extendedPostInsert
in class S_PublicObject
opState
- current operation statedef
- object definitionIfsException
- if operation fails.protected void extendedPreFree(OperationState opState, S_LibraryObjectDefinition def) throws IfsException
extendedPreFree
in class S_PublicObject
opState
- current operation statedef
- object definitionIfsException
- if operation fails.protected void extendedPreAddItem(OperationState opState, S_PublicObject rightpo, S_LibraryObjectDefinition def) throws IfsException
opState
- the operation staterightpo
- the item being added to the folderdef
- the LibraryObjectDefinition that contains
the settings for the new instance.IfsException
- if any other aspect of the operation fails.protected void extendedPostAddItem(OperationState opState, S_PublicObject rightpo, S_LibraryObjectDefinition def, S_Relationship rel) throws IfsException
opState
- the operation staterightpo
- the item being added to the folderdef
- the LibraryObjectDefinition that contains
the settings for the new instance.rel
- the relationship just createdIfsException
- if any other aspect of the operation fails.protected void extendedPreRemoveItem(OperationState opState, S_PublicObject rightpo, S_LibraryObjectDefinition def, S_Relationship relationship) throws IfsException
opState
- the operation staterightpo
- the item being added to the folderdef
- the LibraryObjectDefinition that contains
the settings for the new instance.IfsException
- if any other aspect of the operation fails.protected void extendedPostRemoveItem(OperationState opState, S_PublicObject rightpo, S_LibraryObjectDefinition def, S_Relationship relationship) throws IfsException
opState
- the operation staterightpo
- the item removed from the folderdef
- the LibraryObjectDefinition for this operationIfsException
- if any other aspect of the operation fails.public boolean isVersionable() throws IfsException
isVersionable
in class S_PublicObject
IfsException
- if the operation failspublic long getItemCount(java.lang.String folderRelClassname) throws IfsException
IfsException
- if the operation failspublic long getSubfolderCount(java.lang.String folderRelClassname) throws IfsException
IfsException
- if the operation failspublic S_PublicObject[] getItems(java.lang.String classname, SortSpecification sort) throws IfsException
classname
- the name of the folder relationship classobjectsort
- the desired sort orderIfsException
- if the operation failspublic void addItem(S_PublicObject ro, S_LibraryObjectDefinition rdef) throws IfsException
ro
- object to be added.rdef
- the object definition to be added to the Folder.IfsException
- if the operation fails.public void removeItem(S_PublicObject ro, S_LibraryObjectDefinition def) throws IfsException
ro
- The object to remove.def
- Any options that describe the remove semantics.IfsException
- if any other aspect of the operation fails.public S_PublicObject findPublicObjectByPath(java.lang.String path) throws IfsException
path
- the folder path to the desired object.IfsException
- if the operation fails.public boolean checkExistenceOfPublicObjectByPath(java.lang.String path) throws IfsException
path
- the folder path to the desired object.IfsException
- if the operation fails.
|
Oracle Content Management SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |