|
|||||||||
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. |
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 failspublic 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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |