|
|
| WebLogic Server 6.1 Code Examples, BEA Systems, Inc. |
|
SUMMARY: INNER | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD |
examples.ejb20.bands
Class MusicLibraryBean
java.lang.Object
|
+--examples.ejb20.bands.MusicLibraryBean
- All Implemented Interfaces:
- javax.ejb.EnterpriseBean, java.io.Serializable, javax.ejb.SessionBean
- public class MusicLibraryBean
- extends java.lang.Object
- implements javax.ejb.SessionBean
| Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MusicLibraryBean
public MusicLibraryBean()
addBand
public void addBand(BandInfo bandInfo)
addBands
public void addBands(java.util.Collection bandInfos)
addRecording
public void addRecording(RecordingInfo recInfo)
addRecording
public void addRecording(java.lang.String title,
java.lang.String band,
java.lang.String founder,
java.sql.Date recDate)
addRecordings
public void addRecordings(java.util.Collection recInfos)
ejbActivate
public void ejbActivate()
- Specified by:
ejbActivate in interface javax.ejb.SessionBean
ejbCreate
public void ejbCreate()
ejbPassivate
public void ejbPassivate()
- Specified by:
ejbPassivate in interface javax.ejb.SessionBean
ejbRemove
public void ejbRemove()
- Specified by:
ejbRemove in interface javax.ejb.SessionBean
getAfterDateExcludeBand
public java.util.Set getAfterDateExcludeBand(java.sql.Date date,
BandPK badBandPK)
getBands
public java.util.Collection getBands()
getRecordings
public java.util.Collection getRecordings(BandPK bandPK)
getRecordingsNotByBand
public java.util.Collection getRecordingsNotByBand(BandPK badBandPK)
getWriteUpForBand
public java.lang.String getWriteUpForBand(BandInfo bandInfo)
removeBand
public void removeBand(BandInfo bandInfo)
removeBand
public void removeBand(BandPK bandPK)
removeBands
public void removeBands(java.util.Collection bandInfos)
removeBandsByPK
public void removeBandsByPK(java.util.Collection bandPKs)
removeBandsThatExist
public void removeBandsThatExist(java.util.Collection bandInfos)
removeRecording
public void removeRecording(RecordingInfo recInfo)
removeRecording
public void removeRecording(RecordingPK recPK)
removeRecording
public void removeRecording(java.lang.String title,
java.lang.String band,
java.lang.String founder)
removeRecordings
public void removeRecordings(java.util.Collection recInfos)
removeRecordingsByPK
public void removeRecordingsByPK(java.util.Collection recPKs)
removeRecordingsThatExist
public void removeRecordingsThatExist(java.util.Collection recInfos)
setSessionContext
public void setSessionContext(javax.ejb.SessionContext c)
- Specified by:
setSessionContext in interface javax.ejb.SessionBean
Copyright © 2001 BEA Systems, Inc. All Rights Reserved.