|
||||||||||
PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface defines the local home interface of metadata entity EJBs and therefore services relevant for local, persistent and mutable metadata objects. It extends javax.ejb.EJBLocalHome and defines additional methods with a semantic requiring the persistence of such metadata
Method Summary | |
MetaDataEntityLocal (src) |
create()
Creates a new metadata entity EJB with a generated identity key, null XML content and default values for the other properties. |
MetaDataEntityLocal (src) |
findByPrimaryKey(java.lang.String identity)
Returns the metadata entity with the given identity. |
java.util.Collection |
query(java.lang.String query,
java.lang.String queryLanguage,
java.util.Map options)
Returns the metadata entities that match the given query. |
java.lang.String[] |
retrieveSupportedOptions(java.lang.String queryLanguage)
Returns an array containing the names of supported options for the given query language. |
java.lang.String[] |
retrieveSupportedQueryLanguages()
Returns an array containing the names of supported query languages. |
Methods inherited from interface javax.ejb.EJBLocalHome (src) |
remove |
Method Detail |
public MetaDataEntityLocal (src) create() throws CreateException (src) , MediaException (src)
CreateException (src)
- if a problem related to EJB creation
occurs.
MediaException (src)
public MetaDataEntityLocal (src) findByPrimaryKey(java.lang.String identity) throws FinderException (src)
java.lang.NullPointerException
- if the value passed is null
.
FinderException (src)
- if no matching metadata entity is
found.public java.util.Collection query(java.lang.String query, java.lang.String queryLanguage, java.util.Map options) throws FinderException (src) , MediaException (src)
retrieveSupportedOptions()
.
In case unsupported options are passed, implementations should ignore
them.
query
- queryLanguage
- options
-
java.lang.NullPointerException
- if the query or query language
passed is null
.
java.lang.NullPointerException
- if the query or query language
passed is null.
MalformedQueryException (src)
- if the query statement does not
match the syntax defined by the given query language.
UnsupportedQueryLanguageException (src)
- if the specified
query language is not supported by the implementation.
IllegalOptionException (src)
- if the given options are not
formatted properly and cannot be read or if one of the options is
unsupported and cannot be processed.
MalformedQueryException (src)
- if the query statement does not
match the syntax defined by the given query language.
UnsupportedQueryLanguageException (src)
- if the specified
query language is not supported by the implementation.
IllegalOptionException (src)
- if the given options are not
formatted properly and cannot be read or if one of the options is
unsupported and cannot be processed.
FinderException (src)
MediaException (src)
public java.lang.String[] retrieveSupportedOptions(java.lang.String queryLanguage) throws MediaException (src)
queryLanguage
-
null
.
UnsupportedQueryLanguageException (src)
- if the name of the
query language passed is not supported by the implementation.
MediaException (src)
public java.lang.String[] retrieveSupportedQueryLanguages() throws MediaException (src)
MediaException (src)
|
||||||||||
PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |