is.idega.idegaweb.golf.webservice.business
Class WebserviceBusinessBean

java.lang.Object
  extended by com.idega.business.IBOServiceBean
      extended by is.idega.idegaweb.golf.webservice.business.WebserviceBusinessBean
All Implemented Interfaces:
com.idega.business.IBOService, WebserviceBusiness, java.io.Serializable, java.rmi.Remote, javax.ejb.EJBObject, javax.ejb.EnterpriseBean, javax.ejb.SessionBean

public class WebserviceBusinessBean
extends com.idega.business.IBOServiceBean
implements WebserviceBusiness

See Also:
Serialized Form

Constructor Summary
WebserviceBusinessBean()
           
 
Method Summary
 Session authenticateUser(java.lang.String userName, java.lang.String password)
           
 Course getCourse(java.lang.String courseID)
           
 Course[] getCourses()
           
 HandicapService getHandicapService()
           
 PublicGolferInfo getPublicGolferInfo(java.lang.String personalID)
           
 Round getRound(Session session, java.lang.String roundID)
           
 Round[] getRounds(Session session, java.util.Calendar from, java.util.Calendar to)
           
 ScorecardBusiness getScorecardBusiness()
           
 TournamentBusiness getTournamentBusiness()
           
 com.idega.user.business.UserBusiness getUserBusiness()
           
 float getUserHandicap(Session session)
           
 int insertRound(Session session, Round round)
           
 Tournament[] listAllTournaments(java.util.Calendar from, java.util.Calendar to)
           
 
Methods inherited from class com.idega.business.IBOServiceBean
addActionListener, debug, ejbActivate, ejbCreate, ejbCreateIBO, ejbHomeCreateIBO, ejbHomeIboCreate, ejbPassivate, ejbPostCreate, ejbPostCreateIBO, ejbRemove, getAccessController, getBundle, getBundleIdentifier, getCurrentUser, getDebugLogLevel, getDefaultLogLevel, getEJBHome, getEJBObject, getErrorLogLevel, getHandle, getIDOHome, getIWApplicationContext, getIWMainApplication, getLocalizedServiceDescription, getLogger, getPrimaryKey, getServiceDescription, getServiceInstance, getSessionContext, getSessionInstance, initializeBean, isIdentical, log, log, log, log, logConfig, logDebug, logError, logSevere, logWarning, remove, setIWApplicationContext, setSessionContext, triggerActionEvent, triggerActionEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.idega.business.IBOService
addActionListener, getIWApplicationContext, getLocalizedServiceDescription, getServiceDescription, initializeBean
 
Methods inherited from interface javax.ejb.EJBObject
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Constructor Detail

WebserviceBusinessBean

public WebserviceBusinessBean()
Method Detail

listAllTournaments

public Tournament[] listAllTournaments(java.util.Calendar from,
                                       java.util.Calendar to)
                                throws java.rmi.RemoteException
Specified by:
listAllTournaments in interface WebserviceBusiness
Throws:
java.rmi.RemoteException
See Also:
listAllTournaments(java.util.Calendar, java.util.Calendar)

authenticateUser

public Session authenticateUser(java.lang.String userName,
                                java.lang.String password)
Specified by:
authenticateUser in interface WebserviceBusiness
See Also:
authenticateUser(java.lang.String, java.lang.String)

getUserHandicap

public float getUserHandicap(Session session)
                      throws java.rmi.RemoteException,
                             SessionTimedOutException
Specified by:
getUserHandicap in interface WebserviceBusiness
Throws:
java.rmi.RemoteException
SessionTimedOutException
See Also:
getUserHandicap(is.idega.idegaweb.golf.webservice.server.Session)

getPublicGolferInfo

public PublicGolferInfo getPublicGolferInfo(java.lang.String personalID)
                                     throws java.rmi.RemoteException
Specified by:
getPublicGolferInfo in interface WebserviceBusiness
Throws:
java.rmi.RemoteException
See Also:
getPublicGolferInfo(java.lang.String)

getCourse

public Course getCourse(java.lang.String courseID)
                 throws java.rmi.RemoteException
Specified by:
getCourse in interface WebserviceBusiness
Throws:
java.rmi.RemoteException
See Also:
getCourse(java.lang.String)

getCourses

public Course[] getCourses()
                    throws java.rmi.RemoteException
Specified by:
getCourses in interface WebserviceBusiness
Throws:
java.rmi.RemoteException
See Also:
getCourses()

getRounds

public Round[] getRounds(Session session,
                         java.util.Calendar from,
                         java.util.Calendar to)
                  throws java.rmi.RemoteException,
                         SessionTimedOutException
Specified by:
getRounds in interface WebserviceBusiness
Throws:
java.rmi.RemoteException
SessionTimedOutException
See Also:
getRounds(is.idega.idegaweb.golf.webservice.server.Session, java.util.Calendar, java.util.Calendar)

getRound

public Round getRound(Session session,
                      java.lang.String roundID)
               throws java.rmi.RemoteException,
                      SessionTimedOutException
Specified by:
getRound in interface WebserviceBusiness
Throws:
java.rmi.RemoteException
SessionTimedOutException
See Also:
getRound(is.idega.idegaweb.golf.webservice.server.Session, java.lang.String)

insertRound

public int insertRound(Session session,
                       Round round)
                throws java.rmi.RemoteException,
                       SessionTimedOutException
Specified by:
insertRound in interface WebserviceBusiness
Throws:
java.rmi.RemoteException
SessionTimedOutException
See Also:
insertRound(is.idega.idegaweb.golf.webservice.server.Session, is.idega.idegaweb.golf.webservice.server.Round)

getTournamentBusiness

public TournamentBusiness getTournamentBusiness()
                                         throws com.idega.business.IBOLookupException
Specified by:
getTournamentBusiness in interface WebserviceBusiness
Throws:
com.idega.business.IBOLookupException
See Also:
getTournamentBusiness()

getHandicapService

public HandicapService getHandicapService()
                                   throws com.idega.business.IBOLookupException
Specified by:
getHandicapService in interface WebserviceBusiness
Throws:
com.idega.business.IBOLookupException
See Also:
getHandicapService()

getScorecardBusiness

public ScorecardBusiness getScorecardBusiness()
                                       throws com.idega.business.IBOLookupException
Throws:
com.idega.business.IBOLookupException

getUserBusiness

public com.idega.user.business.UserBusiness getUserBusiness()
                                                     throws com.idega.business.IBOLookupException
Specified by:
getUserBusiness in interface WebserviceBusiness
Throws:
com.idega.business.IBOLookupException
See Also:
getUserBusiness()


Copyright © 2000-2014 idega software. All Rights Reserved.