Java Doc for MetaDataEntityWrapperBean.java in  » J2EE » JOnAS-4.8.6 » com » ibm » emb » meb » wrapper » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » J2EE » JOnAS 4.8.6 » com.ibm.emb.meb.wrapper 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.ibm.emb.meb.wrapper.MetaDataEntityWrapperBean

All known Subclasses:   com.ibm.emb.meb.test.ejb.MetaDataEntityLocalTestDriverBean,
MetaDataEntityWrapperBean
public class MetaDataEntityWrapperBean implements javax.ejb.SessionBean(Code)
Bean implementation class for Enterprise Bean: MetaDataEntityWrapper




Method Summary
public  voidaddMetaDataChild(String pk, String childpk)
     Invokes addChild(MetaDataEntityLocal) on the MetaDataEntityLocal The primary key passed will first be resolved to a MetaDataEntityBean on which the operation should be invoked on.
public  voidaddMetaDataMedia(String pk, String mediapk)
     Invokes addMediaEntity(MediaEntityLocal) on the MetaDataEntityLocal The primary key passed will first be resolved to a MetaDataEntityBean on which the operation should be invoked on.
public  StringcreateMediaEntityBean()
     Invokes create() on MediaEntityLocalHome.
public  StringcreateMetaDataEntityBean()
     Invokes create() on MetaDataEntityLocalHome.
public  voidejbActivate()
    
public  voidejbCreate()
    
public  voidejbPassivate()
    
public  voidejbRemove()
    
public  StringfindMDEBByPrimaryKey(String pk)
     Invokes findByPrimaryKey(String) on MetaDataEntityLocalHome The primary key passed in and the primary key returned should be the same (or the operation has failed) however no validation checking is done by this method.
public  String[]getMetaDataEntityChildren(String pk)
     Invokes getChildren() on the MetaDataEntityLocal The primary key passed will first be resolved to a MetaDataEntityBean on which the operation should be invoked on.
public  longgetMetaDataEntityLastModified(String pk)
     Invokes getLastModified() on the MetaDataEntityLocal The primary key passed will first be resolved to a MetaDataEntityBean on which the operation should be invoked on.
public  String[]getMetaDataEntityMediaEntities(String pk, MediaFormat format, boolean searchChildren)
     Invokes findContentByFormat(MediaFormat, boolean) on the MetaDataEntityLocal The primary key passed will first be resolved to a MetaDataEntityBean on which the operation should be invoked on.
public  String[]getMetaDataEntityMediaEntities(String pk, String mimeType, boolean searchChildren)
     Invokes findContentByMimeType(MediaFormat, boolean) on the MetaDataEntityLocal The primary key passed will first be resolved to a MetaDataEntityBean on which the operation should be invoked on.
public  String[]getMetaDataEntityMediaEntities(String pk)
     Invokes getMediaEntities() on the MetaDataEntityLocal The primary key passed will first be resolved to a MetaDataEntityBean on which the operation should be invoked on.
public  StringgetMetaDataEntityName(String pk)
     Invokes getName() on the MetaDataEntityLocal The primary key passed will first be resolved to a MetaDataEntityBean on which the operation should be invoked on.
public  StringgetMetaDataEntityNextVersion(String pk)
     Invokes getNextVersion() on the MetaDataEntityLocal The primary key passed will first be resolved to a MetaDataEntityBean on which the operation should be invoked on.
public  String[]getMetaDataEntityParents(String pk)
     Invokes getParents() on the MetaDataEntityLocal The primary key passed will first be resolved to a MetaDataEntityBean on which the operation should be invoked on.
public  StringgetMetaDataEntityPreviousVersion(String pk)
     Invokes getPreviousVersion() on the MetaDataEntityLocal The primary key passed will first be resolved to a MetaDataEntityBean on which the operation should be invoked on.
public  StringgetMetaDataEntityXML(String pk)
     Invokes getXML(String) on the MetaDataEntityLocal The primary key passed will first be resolved to a MetaDataEntityBean on which the operation should be invoked on.
public  javax.ejb.SessionContextgetSessionContext()
    
public  String[]queryMetaDataEntity(String query, String queryLang, java.util.Map options)
     Invokes the query(String, String, String) on MetaDataEntityLocalHome An array of primary keys is built from the collection of located MetaDataEntityBeans and returned.
public  voidremoveMetaDataChild(String pk, String childpk)
     Invokes removeChild(MetaDataEntityLocal) on the MetaDataEntityLocal The primary key passed will first be resolved to a MetaDataEntityBean on which the operation should be invoked on.
public  voidremoveMetaDataEntity(String key)
    
public  voidremoveMetaDataMedia(String pk, String mediapk)
     Invokes removeMediaEntity(MediaEntityLocal) on the MetaDataEntityLocal The primary key passed will first be resolved to a MetaDataEntityBean on which the operation should be invoked on.
public  String[]retrieveMetaDataEntitySupportedOptions(String queryLang)
    
public  String[]retrieveMetaDataEntitySupportedQueryLanguages()
    
public  voidsetMetaDataEntityName(String pk, String name)
     Invokes setName() on the MetaDataEntityLocal The primary key passed will first be resolved to a MetaDataEntityBean on which the operation should be invoked on.
public  voidsetMetaDataEntityPreviousVersion(String pk, String pvpk)
     Invokes setPreviousVersion(MetaDataEntityLocal) on the MetaDataEntityLocal The primary key passed will first be resolved to a MetaDataEntityBean on which the operation should be invoked on.
public  voidsetMetaDataEntityXML(String pk, String xmlContent, boolean validate)
     Invokes setXML(String, String, boolean) on the MetaDataEntityLocal The primary key passed will first be resolved to a MetaDataEntityBean on which the operation should be invoked on.
public  voidsetSessionContext(javax.ejb.SessionContext ctx)
    



Method Detail
addMetaDataChild
public void addMetaDataChild(String pk, String childpk) throws MediaException, NamingException, FinderException(Code)
Invokes addChild(MetaDataEntityLocal) on the MetaDataEntityLocal The primary key passed will first be resolved to a MetaDataEntityBean on which the operation should be invoked on. If the child primary key is not null, it will be resolved to a MetaDataEntityBean before it is passed in to the method. If the child is null, null is passed in.
Parameters:
  pk - - String representing the primary key of the MetaDataEntityBeanto invoke the operation on
Parameters:
  childpk - - String representing the primary key of the childMetaDataEntityLocal
exception:
  NullPointerException - - thrown if the primary key passed in isnull
exception:
  MediaException - thrown if the exception was thrown by theMetaDataEntityLocal operation
exception:
  NamingException - thrown if there are problems looking up theMetaDataEntityLocalHome
exception:
  FinderException - thrown if either primary key can not be foundin the datastore



addMetaDataMedia
public void addMetaDataMedia(String pk, String mediapk) throws MediaException, NamingException, FinderException(Code)
Invokes addMediaEntity(MediaEntityLocal) on the MetaDataEntityLocal The primary key passed will first be resolved to a MetaDataEntityBean on which the operation should be invoked on. If the media primary key is not null, it will be resolved to a MediaEntityBean before it is passed in to the method. If the child is null, null is passed in.
Parameters:
  pk - - String representing the primary key of the MetaDataEntityBeanto invoke the operation on
Parameters:
  childpk - - String representing the primary key of the mediaMediaEntityLocal
exception:
  NullPointerException - - thrown if the primary key passed in isnull
exception:
  MediaException - thrown if the exception was thrown by theMetaDataEntityLocal operation
exception:
  NamingException - thrown if there are problems looking up theMetaDataEntityLocalHome
exception:
  FinderException - thrown if either primary key can not be foundin the datastore



createMediaEntityBean
public String createMediaEntityBean() throws MediaException, CreateException, NamingException(Code)
Invokes create() on MediaEntityLocalHome. Returns the Primary Key of the created MediaEntityLocal Throws any exceptions originating from the call to MediaEntityLocalHome String - primary key coresponding to the created MediaEntityBean
exception:
  MediaException - thrown if the exception was thrown by theMediaEntityLocalHome import operation
exception:
  NamingException - thrown if there are problems looking up theMediaEntityLocalHome
exception:
  CreateException - thrown if the exception was thrown by theMediaEntityLocalHome import operation



createMetaDataEntityBean
public String createMetaDataEntityBean() throws MediaException, CreateException, NamingException(Code)
Invokes create() on MetaDataEntityLocalHome. Returns the Primary Key of the created MetaDataEntityLocal Throws any exceptions originating from the call to MetaDataEntityLocalHome String - primary key coresponding to the createdMetaDataEntityBean
exception:
  MediaException - thrown if the exception was thrown by theMetaDataEntityLocalHome import operation
exception:
  NamingException - thrown if there are problems looking up theMetaDataEntityLocalHome
exception:
  CreateException - thrown if the exception was thrown by theMetaDataEntityLocalHome import operation



ejbActivate
public void ejbActivate()(Code)
ejbActivate



ejbCreate
public void ejbCreate() throws javax.ejb.CreateException(Code)
ejbCreate



ejbPassivate
public void ejbPassivate()(Code)
ejbPassivate



ejbRemove
public void ejbRemove()(Code)
ejbRemove



findMDEBByPrimaryKey
public String findMDEBByPrimaryKey(String pk) throws NamingException, FinderException(Code)
Invokes findByPrimaryKey(String) on MetaDataEntityLocalHome The primary key passed in and the primary key returned should be the same (or the operation has failed) however no validation checking is done by this method.
Parameters:
  pk - - String representing primary key to find in the datastore String - primary key of the located MetaDataEntityBean
exception:
  NamingException - thrown if there are problems looking up theMetaDataEntityLocalHome
exception:
  FinderException - thrown if the primary key can not be found inthe datastore



getMetaDataEntityChildren
public String[] getMetaDataEntityChildren(String pk) throws NamingException, FinderException, MediaException(Code)
Invokes getChildren() on the MetaDataEntityLocal The primary key passed will first be resolved to a MetaDataEntityBean on which the operation should be invoked on. The array of MetaDataEntityBean children will first be converted into an array of primary keys representing the children before being returned.
Parameters:
  pk - - String representing the primary key of the MetaDataEntityBeanto invoke the operation on String array of primary keys representing the children on theMetaDataEntityBean
exception:
  NullPointerException - - thrown if the primary key passed in isnull
exception:
  MediaException - thrown if the exception was thrown by theMetaDataEntityLocal operation
exception:
  NamingException - thrown if there are problems looking up theMetaDataEntityLocalHome
exception:
  FinderException - thrown if the primary key can not be found inthe datastore



getMetaDataEntityLastModified
public long getMetaDataEntityLastModified(String pk) throws NamingException, FinderException, MediaException(Code)
Invokes getLastModified() on the MetaDataEntityLocal The primary key passed will first be resolved to a MetaDataEntityBean on which the operation should be invoked on.
Parameters:
  pk - - String representing the primary key of the MetaDataEntityBeanto invoke the operation on long representing the timestamp of when MetaDataEntityBean waslast modified
exception:
  NullPointerException - - thrown if the primary key passed in isnull
exception:
  MediaException - thrown if the exception was thrown by theMetaDataEntityLocal operation
exception:
  NamingException - thrown if there are problems looking up theMetaDataEntityLocalHome
exception:
  FinderException - thrown if the primary key can not be found inthe datastore



getMetaDataEntityMediaEntities
public String[] getMetaDataEntityMediaEntities(String pk, MediaFormat format, boolean searchChildren) throws MediaException, NamingException, FinderException(Code)
Invokes findContentByFormat(MediaFormat, boolean) on the MetaDataEntityLocal The primary key passed will first be resolved to a MetaDataEntityBean on which the operation should be invoked on.
Parameters:
  pk - - String representing the primary key of the MetaDataEntityBeanto invoke the operation on
Parameters:
  format - - MediaFormat object to be passed
Parameters:
  recursive - - if true, children are searched too
exception:
  NullPointerException - - thrown if the primary key passed in isnull
exception:
  MediaException - thrown if the exception was thrown by theMetaDataEntityLocal operation
exception:
  NamingException - thrown if there are problems looking up theMetaDataEntityLocalHome
exception:
  FinderException - thrown if either primary key can not be foundin the datastore



getMetaDataEntityMediaEntities
public String[] getMetaDataEntityMediaEntities(String pk, String mimeType, boolean searchChildren) throws MediaException, NamingException, FinderException(Code)
Invokes findContentByMimeType(MediaFormat, boolean) on the MetaDataEntityLocal The primary key passed will first be resolved to a MetaDataEntityBean on which the operation should be invoked on.
Parameters:
  pk - - String representing the primary key of the MetaDataEntityBeanto invoke the operation on
Parameters:
  mimeType - - String representing the mime type to be passed
Parameters:
  recursive - - if true, children are searched too
exception:
  NullPointerException - - thrown if the primary key passed in isnull
exception:
  MediaException - thrown if the exception was thrown by theMetaDataEntityLocal operation
exception:
  NamingException - thrown if there are problems looking up theMetaDataEntityLocalHome
exception:
  FinderException - thrown if either primary key can not be foundin the datastore



getMetaDataEntityMediaEntities
public String[] getMetaDataEntityMediaEntities(String pk) throws NamingException, FinderException, MediaException(Code)
Invokes getMediaEntities() on the MetaDataEntityLocal The primary key passed will first be resolved to a MetaDataEntityBean on which the operation should be invoked on. The array of MediaEntity children is converted into an array of primary keys representing the children before being returned.
Parameters:
  pk - - String representing the primary key of the MetaDataEntityBeanto invoke the operation on String array of primary keys representing the associatedMediaEntityBeans
exception:
  NullPointerException - - thrown if the primary key passed in isnull
exception:
  MediaException - thrown if the exception was thrown by theMetaDataEntityLocal operation
exception:
  NamingException - thrown if there are problems looking up theMetaDataEntityLocalHome
exception:
  FinderException - thrown if the primary key can not be found inthe datastore



getMetaDataEntityName
public String getMetaDataEntityName(String pk) throws NamingException, FinderException, MediaException(Code)
Invokes getName() on the MetaDataEntityLocal The primary key passed will first be resolved to a MetaDataEntityBean on which the operation should be invoked on.
Parameters:
  pk - - String representing the primary key of the MetaDataEntityBeanto invoke the operation on String representing the name of the MetaDataEntityBean
exception:
  NullPointerException - - thrown if the primary key passed in isnull
exception:
  MediaException - thrown if the exception was thrown by theMetaDataEntityLocal operation
exception:
  NamingException - thrown if there are problems looking up theMetaDataEntityLocalHome
exception:
  FinderException - thrown if the primary key can not be found inthe datastore



getMetaDataEntityNextVersion
public String getMetaDataEntityNextVersion(String pk) throws NamingException, FinderException, MediaException(Code)
Invokes getNextVersion() on the MetaDataEntityLocal The primary key passed will first be resolved to a MetaDataEntityBean on which the operation should be invoked on. The primary key of the MetaDataEntityBean's next version MetaDataEntityBean will be returned or null if the next version is null.
Parameters:
  pk - - String representing the primary key of the MetaDataEntityBeanto invoke the operation on String representing the primary key of the MetaDataEntityBean'snext version or null
exception:
  NullPointerException - - thrown if the primary key passed in isnull
exception:
  MediaException - thrown if the exception was thrown by theMetaDataEntityLocal operation
exception:
  NamingException - thrown if there are problems looking up theMetaDataEntityLocalHome
exception:
  FinderException - thrown if the primary key can not be found inthe datastore



getMetaDataEntityParents
public String[] getMetaDataEntityParents(String pk) throws NamingException, FinderException, MediaException(Code)
Invokes getParents() on the MetaDataEntityLocal The primary key passed will first be resolved to a MetaDataEntityBean on which the operation should be invoked on. The array of MetaDataEntityBean parents will first be converted into an array of primary keys representing the parents before being returned.
Parameters:
  pk - - String representing the primary key of the MetaDataEntityBeanto invoke the operation on String array of primary keys representing the parents on theMetaDataEntityBean
exception:
  NullPointerException - - thrown if the primary key passed in isnull
exception:
  MediaException - thrown if the exception was thrown by theMetaDataEntityLocal operation
exception:
  NamingException - thrown if there are problems looking up theMetaDataEntityLocalHome
exception:
  FinderException - thrown if the primary key can not be found inthe datastore



getMetaDataEntityPreviousVersion
public String getMetaDataEntityPreviousVersion(String pk) throws NamingException, FinderException, MediaException(Code)
Invokes getPreviousVersion() on the MetaDataEntityLocal The primary key passed will first be resolved to a MetaDataEntityBean on which the operation should be invoked on. The primary key of the MetaDataEntityBean's previous version MetaDataEntityBean will be returned or null if the next version is null.
Parameters:
  pk - - String representing the primary key of the MetaDataEntityBeanto invoke the operation on String representing the primary key of the MetaDataEntityBean'sprevious version or null
exception:
  NullPointerException - - thrown if the primary key passed in isnull
exception:
  MediaException - thrown if the exception was thrown by theMetaDataEntityLocal operation
exception:
  NamingException - thrown if there are problems looking up theMetaDataEntityLocalHome
exception:
  FinderException - thrown if the primary key can not be found inthe datastore



getMetaDataEntityXML
public String getMetaDataEntityXML(String pk) throws MediaException, NamingException, FinderException(Code)
Invokes getXML(String) on the MetaDataEntityLocal The primary key passed will first be resolved to a MetaDataEntityBean on which the operation should be invoked on.
Parameters:
  pk - - String representing the primary key of the MetaDataEntityBeanto invoke the operation on
exception:
  NullPointerException - - thrown if the primary key passed in isnull
throws:
  MediaException - thrown if the exception was thrown by theMetaDataEntityLocal operation
throws:
  NamingException - thrown if there are problems looking up theMetaDataEntityLocalHome
throws:
  FinderException - thrown if either primary key can not be found inthe datastore



getSessionContext
public javax.ejb.SessionContext getSessionContext()(Code)
getSessionContext



queryMetaDataEntity
public String[] queryMetaDataEntity(String query, String queryLang, java.util.Map options) throws MediaException, NamingException, FinderException(Code)
Invokes the query(String, String, String) on MetaDataEntityLocalHome An array of primary keys is built from the collection of located MetaDataEntityBeans and returned.
Parameters:
  query - - String representing the partial description to search for
Parameters:
  queryLang - - String representing the query language to use
Parameters:
  options - - String representing the options for the query language String[] - array of primary keys of located MediaEntityBeansmatching the partial description
throws:
  MediaException - thrown if the exception was thrown by theMetaDataEntityLocalHome operation
throws:
  NamingException - thrown if there are problems looking up theMediaEntityLocalHome
throws:
  FinderException - thrown if no MediaEntityBeans can be found by thepartial description



removeMetaDataChild
public void removeMetaDataChild(String pk, String childpk) throws MediaException, NamingException, FinderException(Code)
Invokes removeChild(MetaDataEntityLocal) on the MetaDataEntityLocal The primary key passed will first be resolved to a MetaDataEntityBean on which the operation should be invoked on. If the child primary key is not null, it will be resolved to a MetaDataEntityBean before it is passed in to the method. If the child is null, null is passed in.
Parameters:
  pk - - String representing the primary key of the MetaDataEntityBeanto invoke the operation on
Parameters:
  childpk - - String representing the primary key of the childMetaDataEntityLocal
exception:
  NullPointerException - - thrown if the primary key passed in isnull
exception:
  MediaException - thrown if the exception was thrown by theMetaDataEntityLocal operation
exception:
  NamingException - thrown if there are problems looking up theMetaDataEntityLocalHome
exception:
  FinderException - thrown if either primary key can not be foundin the datastore



removeMetaDataEntity
public void removeMetaDataEntity(String key) throws RemoveException, NamingException(Code)



removeMetaDataMedia
public void removeMetaDataMedia(String pk, String mediapk) throws MediaException, NamingException, FinderException(Code)
Invokes removeMediaEntity(MediaEntityLocal) on the MetaDataEntityLocal The primary key passed will first be resolved to a MetaDataEntityBean on which the operation should be invoked on. If the media primary key is not null, it will be resolved to a MediaEntityBean before it is passed in to the method. If the child is null, null is passed in.
Parameters:
  pk - - String representing the primary key of the MetaDataEntityBeanto invoke the operation on
Parameters:
  childpk - - String representing the primary key of the mediaMediaEntityLocal
exception:
  NullPointerException - - thrown if the primary key passed in isnull
exception:
  MediaException - thrown if the exception was thrown by theMetaDataEntityLocal operation
exception:
  NamingException - thrown if there are problems looking up theMetaDataEntityLocalHome
exception:
  FinderException - thrown if either primary key can not be foundin the datastore



retrieveMetaDataEntitySupportedOptions
public String[] retrieveMetaDataEntitySupportedOptions(String queryLang) throws MediaException, NamingException(Code)
Invokes the retrieveSupportedOptions on MetaDataEntityLocalHome
throws:
  MediaException - thrown if the exception was thrown by theMetaDataEntityLocalHome operation
throws:
  NamingException - thrown if there are problems looking up theMediaEntityLocalHome



retrieveMetaDataEntitySupportedQueryLanguages
public String[] retrieveMetaDataEntitySupportedQueryLanguages() throws MediaException, NamingException(Code)
Invokes the retrieveSupportedQueryLanguages on MetaDataEntityLocalHome
throws:
  MediaException - thrown if the exception was thrown by theMetaDataEntityLocalHome operation
throws:
  NamingException - thrown if there are problems looking up theMediaEntityLocalHome



setMetaDataEntityName
public void setMetaDataEntityName(String pk, String name) throws NamingException, FinderException, MediaException(Code)
Invokes setName() on the MetaDataEntityLocal The primary key passed will first be resolved to a MetaDataEntityBean on which the operation should be invoked on.
Parameters:
  pk - - String representing the primary key of the MetaDataEntityBeanto invoke the operation on
Parameters:
  name - - String representing the name of the MetaDataEntityBean
exception:
  NullPointerException - - thrown if the primary key passed in isnull
exception:
  MediaException - thrown if the exception was thrown by theMetaDataEntityLocal operation
exception:
  NamingException - thrown if there are problems looking up theMetaDataEntityLocalHome
exception:
  FinderException - thrown if the primary key can not be found inthe datastore



setMetaDataEntityPreviousVersion
public void setMetaDataEntityPreviousVersion(String pk, String pvpk) throws NamingException, FinderException, MediaException(Code)
Invokes setPreviousVersion(MetaDataEntityLocal) on the MetaDataEntityLocal The primary key passed will first be resolved to a MetaDataEntityBean on which the operation should be invoked on. The primary key passed representing the MetaDataEntityBean's previous version MetaDataEntityBean will be located in the datastore and resolved to a MetaDataEntityLocal before it is passed into the setter. If the primary key representing the previous version is null then null will be passed in.
Parameters:
  pk - - String representing the primary key of the MetaDataEntityBeanto invoke the operation on
Parameters:
  pvpk - - String representing the primary key of theMetaDataEntityBean's previous version or null
exception:
  NullPointerException - - thrown if the primary key passed in isnull
exception:
  MediaException - thrown if the exception was thrown by theMetaDataEntityLocal operation
exception:
  NamingException - thrown if there are problems looking up theMetaDataEntityLocalHome
exception:
  FinderException - thrown if the primary key can not be found inthe datastore



setMetaDataEntityXML
public void setMetaDataEntityXML(String pk, String xmlContent, boolean validate) throws MediaException, NamingException, FinderException(Code)
Invokes setXML(String, String, boolean) on the MetaDataEntityLocal The primary key passed will first be resolved to a MetaDataEntityBean on which the operation should be invoked on.
Parameters:
  pk - - String representing the primary key of the MetaDataEntityBeanto invoke the operation on
Parameters:
  xmlContent - - String containing the xml metadata to set on theMetaDataEntityBean
Parameters:
  validate - - boolean flag for enabling validation of the xml
exception:
  NullPointerException - - thrown if the primary key passed in isnull
throws:
  MediaException - thrown if the exception was thrown by theMetaDataEntityLocal operation
throws:
  NamingException - thrown if there are problems looking up theMetaDataEntityLocalHome
throws:
  FinderException - thrown if either primary key can not be found inthe datastore



setSessionContext
public void setSessionContext(javax.ejb.SessionContext ctx)(Code)
setSessionContext



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.