|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectse.kmr.scam.server.impl.BeanCommon
se.kmr.scam.server.impl.SearchBean
EJB-implementation of SearchI
Field Summary |
Fields inherited from class se.kmr.scam.server.impl.BeanCommon |
ADMIN_ROLE, GUEST_ROLE |
Constructor Summary | |
SearchBean()
|
Method Summary | |
void |
ejbActivate()
|
void |
ejbCreate()
|
void |
ejbPassivate()
|
void |
ejbRemove()
|
Model |
getPath(String identity,
String uri)
Retrieving IMSCP-path (Folders) for a given Item. |
protected SessionContext |
getSessionContext()
This is set if worker encountered an exception |
Model |
searchFree(String identity,
String predicate,
String pattern)
Deprecated. |
Model |
searchRDQL(String identity,
String rdql)
Search Manifest according to RDQL. |
void |
setSessionContext(SessionContext sessionContext)
|
Methods inherited from class se.kmr.scam.server.impl.BeanCommon |
abort, assertPermission, assertPermission, begin, close, commit, contains, create, filter, filter, getCaller, hasPermission, hasPermission, isCaller, isCallerInRole, list, lookup, open, open, remove, rollback |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SearchBean()
Method Detail |
protected SessionContext getSessionContext()
getSessionContext
in class BeanCommon
public void ejbCreate() throws CreateException
CreateException
public void ejbRemove()
ejbRemove
in interface SessionBean
public void ejbActivate()
ejbActivate
in interface SessionBean
public void ejbPassivate()
ejbPassivate
in interface SessionBean
public void setSessionContext(SessionContext sessionContext)
setSessionContext
in interface SessionBean
public Model searchFree(String identity, String predicate, String pattern) throws ArchiveException
searchFree
in interface SearchI
identity
- Manifest to search (null means ALL-manifest)predicate
- "closest" predicate to patternpattern
- String or sub-string (Wildcards available by '%')
ArchiveException
public Model searchRDQL(String identity, String rdql) throws ArchiveException
searchRDQL
in interface SearchI
identity
- Manifest to search (null means ALL-manifest)rdql
- RDQL expression
ArchiveException
public Model getPath(String identity, String uri) throws ArchiveException
getPath
in interface SearchI
identity
- Manifesturi
- URI of Item
ArchiveException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |