Java Doc for MediaEntityWrapper.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) 


com.ibm.emb.meb.wrapper.MediaEntityWrapper

MediaEntityWrapper
public interface MediaEntityWrapper extends javax.ejb.EJBObject(Code)
Remote interface for Enterprise Bean: MediaEntityWrapper




Method Summary
public  voidaddMediaEntityListener(String pk, MediaListener listener)
     Invokes addListener(MediaListener) on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on.
public  voidaddMediaEntityMetaData(String mebpk, String mdebpk)
     Invokes addMetaData(MetaDataEntityLocal) on the MediaEntityLocal The MEB primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on.
public  voidconvertMediaEntity(String pk, MediaConverterSpec[] specs)
     Invokes convert(MediaConverterSpec[]) on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on.
public  StringcreateMediaEntityBean()
     Invokes create() on MediaEntityLocalHome.
public  StringcreateMetaDataEntityBean()
     Invokes create() on MetaDataEntityLocalHome.
public  URL[]exportHomeMediaEntityBeans(String[] pks, URL targetDir)
     Invokes exportMedia(MediaEntityLocal[], URL) on MediaEntityLocalHome.
public  URLexportMediaEntity(String pk, URL loc)
     Invokes exportMedia(URL) on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on.
public  String[]findMEBByPartialDescription(String partialDesc)
     Invokes the findByPartialDescription(String) on MediaEntityLocalHome An array of primary keys is built from the collection of located MediaEntityBeans and returned.
public  String[]findMEBByPartialLocation(String partialLoc)
     Invokes the findByPartialLocation(String) on MediaEntityLocalHome An array of primary keys is built from the collection of located MediaEntityBeans and returned.
public  StringfindMEBByPrimaryKey(String pk)
     Invokes findByPrimaryKey(String) on MediaEntityLocalHome 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[]getMediaEntityChildren(String pk)
     Invokes getChildren() on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on.
public  byte[]getMediaEntityContent(String pk)
     Invokes getContent() on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on.
public  StringgetMediaEntityDescription(String pk)
     Invokes getDescription() on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on.
public  MediaFormatgetMediaEntityFormat(String pk)
     Invokes getFormat() on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on.
public  MediaHeadergetMediaEntityHeader(String pk)
     Invokes getHeader() on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on.
public  longgetMediaEntityLastModified(String pk)
     Invokes getLastModified() on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on.
public  MediaListener[]getMediaEntityListeners(String pk)
     Invokes getListeners() on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on.
public  URLgetMediaEntityLocation(String pk)
     Invokes getLocation() on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on.
public  String[]getMediaEntityMetaData(String pk)
     Invokes getMetaData() on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on.
public  StringgetMediaEntityMimeType(String pk)
     Invokes getMimeType() on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on.
public  StringgetMediaEntityName(String pk)
     Invokes getName() on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on.
public  StringgetMediaEntityNextVersion(String pk)
     Invokes getNextVersion() on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on.
public  String[]getMediaEntityParents(String pk)
     Invokes getParents() on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on.
public  StringgetMediaEntityPreviousVersion(String pk)
     Invokes getPreviousVersion() on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on.
public  MediagetMediaEntityProxy(String pk)
     Invokes getProxy() on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on.
public  longgetMediaEntitySize(String pk)
     Invokes getSize() on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on.
public  String[]importHomeMediaEntityBeans(URL[] urls, String[] names)
     Invokes importMedia(URL[],String[]) on MediaEntityLocalHome.
public  voidimportMediaEntityContent(String pk, URL loc, String name)
     Invokes importMedia(URL, String) on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on.
public  URLpublishMediaContent(Media mediaobj, byte protocol, ProtocolConstraints constraints)
     Invokes the publishContent(Media, String, ProtocalConstraints) on MediaEntityLocalHome The URL of the published media is returned.
public  MediapublishMediaEntityBeans(String[] pks, byte protocol, ProtocolConstraints constraints)
     Invokes the publishMedia(MediaEntityLocal[], String, ProtocalConstraints) on MediaEntityLocalHome The URL of the published media is returned.
public  intreadMediaEntityContent(String pk, long pos, byte[] buffer)
     Invokes readContent(long, byte[]) on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on.
public  intreadMediaEntityContent(String pk, long pos, byte[] buffer, int offset, int length)
     Invokes readContent(long, byte[], int, int) on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on.
public  voidremoveMediaEntityListener(String pk, MediaListener listener)
     Invokes removeListener(MediaListener) on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on.
public  voidremoveMediaEntityMetaData(String mebpk, String mdebpk)
     Invokes removeMetaData(MetaDataEntityLocal) on the MediaEntityLocal The MEB primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on.
public  voidsetMediaEntityChildren(String pk, String[] childpks)
     Invokes setChildren() on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on.
public  voidsetMediaEntityContent(String pk, byte[] content)
     Invokes setContent(byte[]) on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on.
public  voidsetMediaEntityContent(String pk, File content)
     Invokes setContent(InputStream) on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on.
public  voidsetMediaEntityDescription(String pk, String desc)
     Invokes setDescription(String) on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on.
public  voidsetMediaEntityLocation(String pk, URL loc)
     Invokes setLocation(URL) on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on.
public  voidsetMediaEntityMimeType(String pk, String mimeType)
     Invokes setMimeType(String) on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on.
public  voidsetMediaEntityName(String pk, String name)
     Invokes setName() on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on.
public  voidsetMediaEntityPreviousVersion(String pk, String pvpk)
     Invokes setPreviousVersion(MediaEntityLocal) on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on.
public  voidsetMediaEntityProxy(String pk, String proxypk)
     Invokes setProxy(MediaEntityLocal) on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on.



Method Detail
addMediaEntityListener
public void addMediaEntityListener(String pk, MediaListener listener) throws MediaException, NamingException, FinderException, java.rmi.RemoteException(Code)
Invokes addListener(MediaListener) on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on.
Parameters:
  pk - - String representing the primary key of the MediaEntityBean toinvoke the operation on
Parameters:
  listener - - MediaListener representing the listener to add to theMediaEntityBean
exception:
  NullPointerException - - thrown if the primary key passed in isnull
exception:
  MediaException - thrown if the exception was thrown by theMediaEntityLocal operation
exception:
  NamingException - thrown if there are problems looking up theMediaEntityLocalHome
exception:
  FinderException - thrown if the primary key can not be found inthe datastore



addMediaEntityMetaData
public void addMediaEntityMetaData(String mebpk, String mdebpk) throws MediaException, NamingException, FinderException, java.rmi.RemoteException(Code)
Invokes addMetaData(MetaDataEntityLocal) on the MediaEntityLocal The MEB primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on. If the MDEB primary key is not null, it will be resolved to a MetaDataEntityBean before it is passed in to the method. If the MDEB is null, null is passed in.
Parameters:
  mebpk - - String representing the primary key of the MediaEntityBeanto invoke the operation on
Parameters:
  mdebpk - - String representing the primary key of theMetaDataEntityBean to pass into the operation
exception:
  NullPointerException - - thrown if the primary key passed in isnull
exception:
  MediaException - thrown if the exception was thrown by theMediaEntityLocal operation
exception:
  NamingException - thrown if there are problems looking up theMediaEntityLocalHome or the MetaDataEntityLocalHome
exception:
  FinderException - thrown if either primary keys can not be foundin the datastore



convertMediaEntity
public void convertMediaEntity(String pk, MediaConverterSpec[] specs) throws NamingException, FinderException, MediaException, java.rmi.RemoteException(Code)
Invokes convert(MediaConverterSpec[]) on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on.
Parameters:
  pk - - String representing the primary key of the MediaEntityBean toinvoke the operation on
Parameters:
  specs - - MediaConverterSpec array of media converters defining thetransformations to be done to the content.
exception:
  NullPointerException - - thrown if the primary key passed in isnull
exception:
  MediaException - thrown if the exception was thrown by theMediaEntityLocal operation
exception:
  NamingException - thrown if there are problems looking up theMediaEntityLocalHome
exception:
  FinderException - thrown if the primary key can not be found inthe datastore



createMediaEntityBean
public String createMediaEntityBean() throws MediaException, CreateException, NamingException, java.rmi.RemoteException(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, java.rmi.RemoteException(Code)
Invokes create() on MetaDataEntityLocalHome. Returns the Primary Key of the created MetaDataEntityLocal 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



exportHomeMediaEntityBeans
public URL[] exportHomeMediaEntityBeans(String[] pks, URL targetDir) throws MediaException, NamingException, FinderException, java.rmi.RemoteException(Code)
Invokes exportMedia(MediaEntityLocal[], URL) on MediaEntityLocalHome. An array of MediaEntityLocals will be created from the array of primary keys passed in. If one of the elements in the primary key array is null, a coresponding null element will be placed in the created MediaEntityLocal array.
Parameters:
  pks - - String array of primary keys representing theMediaEntityBeans to export
Parameters:
  targetDir - - URL representing the targetDirectory to export themedia to URL[] - array of URLs representing the exported file location ofthe MediaEntityBeans
exception:
  MediaException - thrown if the exception was thrown by theMediaEntityLocalHome import operation
exception:
  NamingException - thrown if there are problems looking up theMediaEntityLocalHome
exception:
  FinderException - thrown if an element in the primary key arraycan not be found in the datastore



exportMediaEntity
public URL exportMediaEntity(String pk, URL loc) throws NamingException, FinderException, MediaException, java.rmi.RemoteException(Code)
Invokes exportMedia(URL) on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on.
Parameters:
  pk - - String representing the primary key of the MediaEntityBean toinvoke the operation on
Parameters:
  loc - - URL representing the targetlocation to export URL with the location of the exported Media
exception:
  NullPointerException - - thrown if the primary key passed in isnull
exception:
  MediaException - thrown if the exception was thrown by theMediaEntityLocal operation
exception:
  NamingException - thrown if there are problems looking up theMediaEntityLocalHome
exception:
  FinderException - thrown if the primary key can not be found inthe datastore



findMEBByPartialDescription
public String[] findMEBByPartialDescription(String partialDesc) throws NamingException, FinderException, java.rmi.RemoteException(Code)
Invokes the findByPartialDescription(String) on MediaEntityLocalHome An array of primary keys is built from the collection of located MediaEntityBeans and returned.
Parameters:
  partialDesc - - String representing the partial description tosearch for String[] - array of primary keys of located MediaEntityBeansmatching the partial description
throws:
  NamingException - thrown if there are problems looking up theMediaEntityLocalHome
throws:
  FinderException - thrown if no MediaEntityBeans can be found by thepartial description



findMEBByPartialLocation
public String[] findMEBByPartialLocation(String partialLoc) throws NamingException, FinderException, java.rmi.RemoteException(Code)
Invokes the findByPartialLocation(String) on MediaEntityLocalHome An array of primary keys is built from the collection of located MediaEntityBeans and returned.
Parameters:
  partialLoc - - String representing the partial location to searchfor String[] - array of primary keys of located MediaEntityBeansmatching the partial location
throws:
  NamingException - thrown if there are problems looking up theMediaEntityLocalHome
throws:
  FinderException - thrown if no MediaEntityBeans can be found by thepartial location



findMEBByPrimaryKey
public String findMEBByPrimaryKey(String pk) throws NamingException, FinderException, java.rmi.RemoteException(Code)
Invokes findByPrimaryKey(String) on MediaEntityLocalHome 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 MediaEntityBean
exception:
  NamingException - thrown if there are problems looking up theMediaEntityLocalHome
exception:
  FinderException - thrown if the primary key can not be found inthe datastore



getMediaEntityChildren
public String[] getMediaEntityChildren(String pk) throws NamingException, FinderException, MediaException, java.rmi.RemoteException(Code)
Invokes getChildren() on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on. The array of MediaEntityBean 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 MediaEntityBean toinvoke the operation on String array of primary keys representing the children on theMediaEntityBean
exception:
  NullPointerException - - thrown if the primary key passed in isnull
exception:
  MediaException - thrown if the exception was thrown by theMediaEntityLocal operation
exception:
  NamingException - thrown if there are problems looking up theMediaEntityLocalHome
exception:
  FinderException - thrown if the primary key can not be found inthe datastore



getMediaEntityContent
public byte[] getMediaEntityContent(String pk) throws NamingException, FinderException, MediaException, java.rmi.RemoteException(Code)
Invokes getContent() on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on.
Parameters:
  pk - - String representing the primary key of the MediaEntityBean toinvoke the operation on byte array of the MediaEntityBean's content
exception:
  NullPointerException - - thrown if the primary key passed in isnull
exception:
  MediaException - thrown if the exception was thrown by theMediaEntityLocal operation
exception:
  NamingException - thrown if there are problems looking up theMediaEntityLocalHome
exception:
  FinderException - thrown if the primary key can not be found inthe datastore



getMediaEntityDescription
public String getMediaEntityDescription(String pk) throws NamingException, FinderException, MediaException, java.rmi.RemoteException(Code)
Invokes getDescription() on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on.
Parameters:
  pk - - String representing the primary key of the MediaEntityBean toinvoke the operation on String representing the description of the MediaEntityBean'scontent
exception:
  NullPointerException - - thrown if the primary key passed in isnull
exception:
  MediaException - thrown if the exception was thrown by theMediaEntityLocal operation
exception:
  NamingException - thrown if there are problems looking up theMediaEntityLocalHome
exception:
  FinderException - thrown if the primary key can not be found inthe datastore



getMediaEntityFormat
public MediaFormat getMediaEntityFormat(String pk) throws NamingException, FinderException, MediaException, java.rmi.RemoteException(Code)
Invokes getFormat() on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on.
Parameters:
  pk - - String representing the primary key of the MediaEntityBean toinvoke the operation on MediaFormat representing the MediaEntityBean's format
exception:
  NullPointerException - - thrown if the primary key passed in isnull
exception:
  MediaException - thrown if the exception was thrown by theMediaEntityLocal operation
exception:
  NamingException - thrown if there are problems looking up theMediaEntityLocalHome
exception:
  FinderException - thrown if the primary key can not be found inthe datastore



getMediaEntityHeader
public MediaHeader getMediaEntityHeader(String pk) throws NamingException, FinderException, MediaException, java.rmi.RemoteException(Code)
Invokes getHeader() on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on.
Parameters:
  pk - - String representing the primary key of the MediaEntityBean toinvoke the operation on MediaHeader representing the MediaEntityBean's header
exception:
  NullPointerException - - thrown if the primary key passed in isnull
exception:
  MediaException - thrown if the exception was thrown by theMediaEntityLocal operation
exception:
  NamingException - thrown if there are problems looking up theMediaEntityLocalHome
exception:
  FinderException - thrown if the primary key can not be found inthe datastore



getMediaEntityLastModified
public long getMediaEntityLastModified(String pk) throws NamingException, FinderException, MediaException, java.rmi.RemoteException(Code)
Invokes getLastModified() on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on.
Parameters:
  pk - - String representing the primary key of the MediaEntityBean toinvoke the operation on long representing the timestamp of when MediaEntityBean was lastmodified
exception:
  NullPointerException - - thrown if the primary key passed in isnull
exception:
  MediaException - thrown if the exception was thrown by theMediaEntityLocal operation
exception:
  NamingException - thrown if there are problems looking up theMediaEntityLocalHome
exception:
  FinderException - thrown if the primary key can not be found inthe datastore



getMediaEntityListeners
public MediaListener[] getMediaEntityListeners(String pk) throws NamingException, FinderException, MediaException, java.rmi.RemoteException(Code)
Invokes getListeners() on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on.
Parameters:
  pk - - String representing the primary key of the MediaEntityBean toinvoke the operation on MediaEntityListener array of the MediaEntityBean listeners
exception:
  NullPointerException - - thrown if the primary key passed in isnull
exception:
  MediaException - thrown if the exception was thrown by theMediaEntityLocal operation
exception:
  NamingException - thrown if there are problems looking up theMediaEntityLocalHome
exception:
  FinderException - thrown if the primary key can not be found inthe datastore



getMediaEntityLocation
public URL getMediaEntityLocation(String pk) throws NamingException, FinderException, MediaException, java.rmi.RemoteException(Code)
Invokes getLocation() on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on.
Parameters:
  pk - - String representing the primary key of the MediaEntityBean toinvoke the operation on URL representing the location of the MediaEntityBean
exception:
  NullPointerException - - thrown if the primary key passed in isnull
exception:
  MediaException - thrown if the exception was thrown by theMediaEntityLocal operation
exception:
  NamingException - thrown if there are problems looking up theMediaEntityLocalHome
exception:
  FinderException - thrown if the primary key can not be found inthe datastore



getMediaEntityMetaData
public String[] getMediaEntityMetaData(String pk) throws NamingException, FinderException, MediaException, java.rmi.RemoteException(Code)
Invokes getMetaData() on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on. The array of MetaDataEntityBean metadata will first be converted into an array of primary keys representing the metadata before being returned.
Parameters:
  pk - - String representing the primary key of the MediaEntityBean toinvoke the operation on String array of primary keys representing the MetaDataEntityBeanmetadata on the MediaEntityBean
exception:
  NullPointerException - - thrown if the primary key passed in isnull
exception:
  MediaException - thrown if the exception was thrown by theMediaEntityLocal operation
exception:
  NamingException - thrown if there are problems looking up theMediaEntityLocalHome or MetaDataEntityLocalHome
exception:
  FinderException - thrown if the primary key can not be found inthe datastore



getMediaEntityMimeType
public String getMediaEntityMimeType(String pk) throws NamingException, FinderException, MediaException, java.rmi.RemoteException(Code)
Invokes getMimeType() on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on.
Parameters:
  pk - - String representing the primary key of the MediaEntityBean toinvoke the operation on String representing the mimetype of the MediaEntityBean
exception:
  NullPointerException - - thrown if the primary key passed in isnull
exception:
  MediaException - thrown if the exception was thrown by theMediaEntityLocal operation
exception:
  NamingException - thrown if there are problems looking up theMediaEntityLocalHome
exception:
  FinderException - thrown if the primary key can not be found inthe datastore



getMediaEntityName
public String getMediaEntityName(String pk) throws NamingException, FinderException, MediaException, java.rmi.RemoteException(Code)
Invokes getName() on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on.
Parameters:
  pk - - String representing the primary key of the MediaEntityBean toinvoke the operation on String representing the name of the MediaEntityBean
exception:
  NullPointerException - - thrown if the primary key passed in isnull
exception:
  MediaException - thrown if the exception was thrown by theMediaEntityLocal operation
exception:
  NamingException - thrown if there are problems looking up theMediaEntityLocalHome
exception:
  FinderException - thrown if the primary key can not be found inthe datastore



getMediaEntityNextVersion
public String getMediaEntityNextVersion(String pk) throws NamingException, FinderException, MediaException, java.rmi.RemoteException(Code)
Invokes getNextVersion() on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on. The primary key of the MediaEntityBean's next version MediaEntityBean will be returned or null if the next version is null.
Parameters:
  pk - - String representing the primary key of the MediaEntityBean toinvoke the operation on String representing the primary key of the MediaEntityBean's nextversion or null
exception:
  NullPointerException - - thrown if the primary key passed in isnull
exception:
  MediaException - thrown if the exception was thrown by theMediaEntityLocal operation
exception:
  NamingException - thrown if there are problems looking up theMediaEntityLocalHome
exception:
  FinderException - thrown if the primary key can not be found inthe datastore



getMediaEntityParents
public String[] getMediaEntityParents(String pk) throws NamingException, FinderException, MediaException, java.rmi.RemoteException(Code)
Invokes getParents() on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on. The array of MediaEntityBean 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 MediaEntityBean toinvoke the operation on String array of primary keys representing the parents on theMediaEntityBean
exception:
  NullPointerException - - thrown if the primary key passed in isnull
exception:
  MediaException - thrown if the exception was thrown by theMediaEntityLocal operation
exception:
  NamingException - thrown if there are problems looking up theMediaEntityLocalHome
exception:
  FinderException - thrown if the primary key can not be found inthe datastore



getMediaEntityPreviousVersion
public String getMediaEntityPreviousVersion(String pk) throws NamingException, FinderException, MediaException, java.rmi.RemoteException(Code)
Invokes getPreviousVersion() on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on. The primary key of the MediaEntityBean's previous version MediaEntityBean will be returned or null if the next version is null.
Parameters:
  pk - - String representing the primary key of the MediaEntityBean toinvoke the operation on String representing the primary key of the MediaEntityBean'sprevious version or null
exception:
  NullPointerException - - thrown if the primary key passed in isnull
exception:
  MediaException - thrown if the exception was thrown by theMediaEntityLocal operation
exception:
  NamingException - thrown if there are problems looking up theMediaEntityLocalHome
exception:
  FinderException - thrown if the primary key can not be found inthe datastore



getMediaEntityProxy
public Media getMediaEntityProxy(String pk) throws NamingException, FinderException, MediaException, java.rmi.RemoteException(Code)
Invokes getProxy() on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on.
Parameters:
  pk - - String representing the primary key of the MediaEntityBean toinvoke the operation on Media object representing the proxy of the MediaEntityBean
exception:
  NullPointerException - - thrown if the primary key passed in isnull
exception:
  MediaException - thrown if the exception was thrown by theMediaEntityLocal operation
exception:
  NamingException - thrown if there are problems looking up theMediaEntityLocalHome
exception:
  FinderException - thrown if the primary key can not be found inthe datastore



getMediaEntitySize
public long getMediaEntitySize(String pk) throws NamingException, FinderException, MediaException, java.rmi.RemoteException(Code)
Invokes getSize() on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on.
Parameters:
  pk - - String representing the primary key of the MediaEntityBean toinvoke the operation on long size of the MediaEntityBean's content
exception:
  NullPointerException - - thrown if the primary key passed in isnull
exception:
  MediaException - thrown if the exception was thrown by theMediaEntityLocal operation
exception:
  NamingException - thrown if there are problems looking up theMediaEntityLocalHome
exception:
  FinderException - thrown if the primary key can not be found inthe datastore



importHomeMediaEntityBeans
public String[] importHomeMediaEntityBeans(URL[] urls, String[] names) throws MediaException, NamingException, CreateException, java.rmi.RemoteException(Code)
Invokes importMedia(URL[],String[]) on MediaEntityLocalHome. Returns an array of Primary Keys matching the order of the returned MediaEntityLocals. If one of the MediaEntityLocal elements in the array returned from MediaEntityLocalHome is null, then coresponding null element in the Primary Key array will be returned. Throws any exceptions originating from the call to MediaEntityLocalHome
Parameters:
  urls - - URL array of source URLs to import
Parameters:
  names - - String array of names to use when importing the content String[] - array of primary keys coresponding to the createdMediaEntityLocals returned from the importMedia operation on thehome.
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



importMediaEntityContent
public void importMediaEntityContent(String pk, URL loc, String name) throws NamingException, FinderException, MediaException, CreateException, java.rmi.RemoteException(Code)
Invokes importMedia(URL, String) on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on.
Parameters:
  pk - - String representing the primary key of the MediaEntityBean toinvoke the operation on
Parameters:
  loc - - URL representing the location of the source file to importcontent from
Parameters:
  name - - String representing the optional name to be set on theMediaEntityBean during the import
exception:
  NullPointerException - - thrown if the primary key passed in isnull
exception:
  MediaException - thrown if the exception was thrown by theMediaEntityLocal operation
exception:
  NamingException - thrown if there are problems looking up theMediaEntityLocalHome
exception:
  FinderException - thrown if the primary key can not be found inthe datastore



publishMediaContent
public URL publishMediaContent(Media mediaobj, byte protocol, ProtocolConstraints constraints) throws MediaException, NamingException, java.rmi.RemoteException(Code)
Invokes the publishContent(Media, String, ProtocalConstraints) on MediaEntityLocalHome The URL of the published media is returned.
Parameters:
  mediaobj - - Media representing the transient or persistent mediaobject to publish
Parameters:
  protocol - - String representing the protocol to use when publishing
Parameters:
  constraints - - ProtocalConstraints containing the constraints topublish with (if any) URL representing the location of the published media
throws:
  MediaException - thrown if the exception was thrown by theMediaEntityLocalHome import operation
throws:
  NamingException - thrown if there are problems looking up theMediaEntityLocalHome



publishMediaEntityBeans
public Media publishMediaEntityBeans(String[] pks, byte protocol, ProtocolConstraints constraints) throws MediaException, NamingException, FinderException, java.rmi.RemoteException(Code)
Invokes the publishMedia(MediaEntityLocal[], String, ProtocalConstraints) on MediaEntityLocalHome The URL of the published media is returned. An array of MediaEntityLocals will be created from the array of primary keys passed in. If one of the elements in the primary key array is null, a coresponding null element will be placed in the created MediaEntityLocal array.
Parameters:
  pks - - String array of primary keys representing the playlist ofMediaEntityBeans to publish
Parameters:
  protocol - - String representing the protocol to use when publishing
Parameters:
  constraints - - ProtocalConstraints containing the constraints topublish with (if any) URL representing the location of the published media
throws:
  MediaException - thrown if the exception was thrown by theMediaEntityLocalHome import operation
throws:
  NamingException - thrown if there are problems looking up theMediaEntityLocalHome
exception:
  FinderException - thrown if an element in the primary key arraycan not be found in the datastore



readMediaEntityContent
public int readMediaEntityContent(String pk, long pos, byte[] buffer) throws NamingException, FinderException, MediaException, java.rmi.RemoteException(Code)
Invokes readContent(long, byte[]) on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on.
Parameters:
  pk - - String representing the primary key of the MediaEntityBean toinvoke the operation on
Parameters:
  pos - - long represeting the position to begin reading the contentfrom
Parameters:
  buffer - - byte array buffer to copy the media content intobeginning at offset 0 int representing the number of bytes read into the buffer
exception:
  NullPointerException - - thrown if the primary key passed in isnull
exception:
  MediaException - thrown if the exception was thrown by theMediaEntityLocal operation
exception:
  NamingException - thrown if there are problems looking up theMediaEntityLocalHome
exception:
  FinderException - thrown if the primary key can not be found inthe datastore



readMediaEntityContent
public int readMediaEntityContent(String pk, long pos, byte[] buffer, int offset, int length) throws NamingException, FinderException, MediaException, java.rmi.RemoteException(Code)
Invokes readContent(long, byte[], int, int) on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on.
Parameters:
  pk - - String representing the primary key of the MediaEntityBean toinvoke the operation on
Parameters:
  pos - - long represeting the position to begin reading the contentfrom
Parameters:
  buffer - - byte array buffer to copy the media content intobeginning at specified offset
Parameters:
  offset - - int representing the offset in the buffer to begincopying the media content from
Parameters:
  length - - int representing the max int representing the number of bytes read into the buffer
exception:
  NullPointerException - - thrown if the primary key passed in isnull
exception:
  MediaException - thrown if the exception was thrown by theMediaEntityLocal operation
exception:
  NamingException - thrown if there are problems looking up theMediaEntityLocalHome
exception:
  FinderException - thrown if the primary key can not be found inthe datastore



removeMediaEntityListener
public void removeMediaEntityListener(String pk, MediaListener listener) throws MediaException, NamingException, FinderException, java.rmi.RemoteException(Code)
Invokes removeListener(MediaListener) on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on.
Parameters:
  pk - - String representing the primary key of the MediaEntityBean toinvoke the operation on
Parameters:
  listener - - MediaListener representing the listener to remove fromthe MediaEntityBean
exception:
  NullPointerException - - thrown if the primary key passed in isnull
exception:
  MediaException - thrown if the exception was thrown by theMediaEntityLocal operation
exception:
  NamingException - thrown if there are problems looking up theMediaEntityLocalHome
exception:
  FinderException - thrown if the primary key can not be found inthe datastore



removeMediaEntityMetaData
public void removeMediaEntityMetaData(String mebpk, String mdebpk) throws MediaException, NamingException, FinderException, java.rmi.RemoteException(Code)
Invokes removeMetaData(MetaDataEntityLocal) on the MediaEntityLocal The MEB primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on. If the MDEB primary key is not null, it will be resolved to a MetaDataEntityBean before it is passed in to the method. If the MDEB primary key is null, null is passed into the remove operation.
Parameters:
  mebpk - - String representing the primary key of the MediaEntityBeanto invoke the operation on
Parameters:
  mdebpk - - String representing the primary key of theMetaDataEntityBean to remove
exception:
  NullPointerException - - thrown if the primary key passed in isnull
exception:
  MediaException - thrown if the exception was thrown by theMediaEntityLocal operation
exception:
  NamingException - thrown if there are problems looking up theMediaEntityLocalHome or the MetaDataEntityLocalHome
exception:
  FinderException - thrown if either primary keys can not be foundin the datastore



setMediaEntityChildren
public void setMediaEntityChildren(String pk, String[] childpks) throws NamingException, FinderException, MediaException, java.rmi.RemoteException(Code)
Invokes setChildren() on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on. The array of MediaEntityBean primary keys representing the children to be set will first be found in the datastore and converted to an array of MediaEntityLocals before being passed in. If an element of the primary key array is null, a coresponding null entry in the MediaEntityLocal array will be set.
Parameters:
  pk - - String representing the primary key of the MediaEntityBean toinvoke the operation on String array of primary keys representing the children to be seton the MediaEntityBean
exception:
  NullPointerException - - thrown if the primary key passed in isnull
exception:
  MediaException - thrown if the exception was thrown by theMediaEntityLocal operation
exception:
  NamingException - thrown if there are problems looking up theMediaEntityLocalHome
exception:
  FinderException - thrown if any of the primary keys can not befound in the datastore



setMediaEntityContent
public void setMediaEntityContent(String pk, byte[] content) throws NamingException, FinderException, MediaException, java.rmi.RemoteException(Code)
Invokes setContent(byte[]) on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on.
Parameters:
  pk - - String representing the primary key of the MediaEntityBean toinvoke the operation on
Parameters:
  content - - byte array of content to be set on the MediaEntityBean
exception:
  NullPointerException - - thrown if the primary key passed in isnull
exception:
  MediaException - thrown if the exception was thrown by theMediaEntityLocal operation
exception:
  NamingException - thrown if there are problems looking up theMediaEntityLocalHome
exception:
  FinderException - thrown if the primary key can not be found inthe datastore



setMediaEntityContent
public void setMediaEntityContent(String pk, File content) throws NamingException, FinderException, MediaException, FileNotFoundException, java.rmi.RemoteException(Code)
Invokes setContent(InputStream) on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on. Since an InputStream can not be passed over remote boundaries, a File which represents the path to the content is passed and is used to create a FileInputStream used to set the content.
Parameters:
  pk - - String representing the primary key of the MediaEntityBean toinvoke the operation on
Parameters:
  content - - File that contains the content to be set on theMediaEntityBean
exception:
  NullPointerException - - thrown if the primary key passed in isnull
exception:
  MediaException - thrown if the exception was thrown by theMediaEntityLocal operation
exception:
  NamingException - thrown if there are problems looking up theMediaEntityLocalHome
exception:
  FinderException - thrown if the primary key can not be found inthe datastore
exception:
  FileNotFoundException - thrown if the File can not be located onthe filesystem



setMediaEntityDescription
public void setMediaEntityDescription(String pk, String desc) throws NamingException, FinderException, MediaException, java.rmi.RemoteException(Code)
Invokes setDescription(String) on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on.
Parameters:
  pk - - String representing the primary key of the MediaEntityBean toinvoke the operation on
Parameters:
  desc - - String representing the description of theMediaEntityBean's content or null
exception:
  NullPointerException - - thrown if the primary key passed in isnull
exception:
  MediaException - thrown if the exception was thrown by theMediaEntityLocal operation
exception:
  NamingException - thrown if there are problems looking up theMediaEntityLocalHome
exception:
  FinderException - thrown if the primary key can not be found inthe datastore



setMediaEntityLocation
public void setMediaEntityLocation(String pk, URL loc) throws NamingException, FinderException, MediaException, java.rmi.RemoteException(Code)
Invokes setLocation(URL) on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on.
Parameters:
  pk - - String representing the primary key of the MediaEntityBean toinvoke the operation on
Parameters:
  loc - - URL representing the external location of theMediaEntityBean content or null
exception:
  NullPointerException - - thrown if the primary key passed in isnull
exception:
  MediaException - thrown if the exception was thrown by theMediaEntityLocal operation
exception:
  NamingException - thrown if there are problems looking up theMediaEntityLocalHome
exception:
  FinderException - thrown if the primary key can not be found inthe datastore



setMediaEntityMimeType
public void setMediaEntityMimeType(String pk, String mimeType) throws NamingException, FinderException, MediaException, java.rmi.RemoteException(Code)
Invokes setMimeType(String) on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on.
Parameters:
  pk - - String representing the primary key of the MediaEntityBean toinvoke the operation on
Parameters:
  mimeType - - String representing the mimetype of the MediaEntityBean
exception:
  NullPointerException - - thrown if the primary key passed in isnull
exception:
  MediaException - thrown if the exception was thrown by theMediaEntityLocal operation
exception:
  NamingException - thrown if there are problems looking up theMediaEntityLocalHome
exception:
  FinderException - thrown if the primary key can not be found inthe datastore



setMediaEntityName
public void setMediaEntityName(String pk, String name) throws NamingException, FinderException, MediaException, java.rmi.RemoteException(Code)
Invokes setName() on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on.
Parameters:
  pk - - String representing the primary key of the MediaEntityBean toinvoke the operation on
Parameters:
  name - - String representing the name of the MediaEntityBean
exception:
  NullPointerException - - thrown if the primary key passed in isnull
exception:
  MediaException - thrown if the exception was thrown by theMediaEntityLocal operation
exception:
  NamingException - thrown if there are problems looking up theMediaEntityLocalHome
exception:
  FinderException - thrown if the primary key can not be found inthe datastore



setMediaEntityPreviousVersion
public void setMediaEntityPreviousVersion(String pk, String pvpk) throws NamingException, FinderException, MediaException, java.rmi.RemoteException(Code)
Invokes setPreviousVersion(MediaEntityLocal) on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on. The primary key passed representing the MediaEntityBean's previous version MediaEntityBean will be located in the datastore and resolved to a MediaEntityLocal 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 MediaEntityBean toinvoke the operation on
Parameters:
  pvpk - - String representing the primary key of theMediaEntityBean's previous version or null
exception:
  NullPointerException - - thrown if the primary key passed in isnull
exception:
  MediaException - thrown if the exception was thrown by theMediaEntityLocal operation
exception:
  NamingException - thrown if there are problems looking up theMediaEntityLocalHome
exception:
  FinderException - thrown if the primary key can not be found inthe datastore



setMediaEntityProxy
public void setMediaEntityProxy(String pk, String proxypk) throws NamingException, FinderException, MediaException, java.rmi.RemoteException(Code)
Invokes setProxy(MediaEntityLocal) on the MediaEntityLocal The primary key passed will first be resolved to a MediaEntityBean on which the operation should be invoked on. The primary key passed representing the MediaEntityBean's proxy MediaEntityBean will be located in the datastore and resolved to a MediaEntityLocal before it is passed into the setter. If the primary key representing the proxy is null then null will be passed in.
Parameters:
  pk - - String representing the primary key of the MediaEntityBean toinvoke the operation on
Parameters:
  proxypk - - String representing the primary key of the proxyMediaEntityBean
exception:
  NullPointerException - - thrown if the primary key passed in isnull
exception:
  MediaException - thrown if the exception was thrown by theMediaEntityLocal operation
exception:
  NamingException - thrown if there are problems looking up theMediaEntityLocalHome
exception:
  FinderException - thrown if the primary key can not be found inthe datastore



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