is.idega.idegaweb.golf.entity
Class TeeHomeImpl

java.lang.Object
  extended by com.idega.data.IDOFactory
      extended by is.idega.idegaweb.golf.entity.TeeHomeImpl
All Implemented Interfaces:
com.idega.data.IDOHome, TeeHome, java.io.Serializable, javax.ejb.EJBLocalHome

public class TeeHomeImpl
extends com.idega.data.IDOFactory
implements TeeHome

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.idega.data.IDOFactory
dataSource
 
Constructor Summary
TeeHomeImpl()
           
 
Method Summary
 Tee create()
           
 Tee createLegacy()
           
 java.util.Collection findByFieldAndHoleNumber(int fieldID, int holeNumber)
           
 Tee findByFieldAndTeeColorAndHoleNumber(Field field, TeeColor teeColor, int holeNumber)
           
 Tee findByFieldAndTeeColorAndHoleNumber(int fieldID, int teeColorID, int holeNumber)
           
 java.util.Collection findByFieldAndTeeColorAndHoleNumbers(Field field, TeeColor teeColor, int startHole, int endHole)
           
 Tee findByPrimaryKey(int id)
           
 Tee findByPrimaryKey(java.lang.Object pk)
           
 Tee findByPrimaryKeyLegacy(int id)
           
 java.lang.Class getEntityInterfaceClass()
           
 int getFieldLength(Field field, TeeColor teeColor)
           
 int getFieldPar(Field field, TeeColor teeColor)
           
 
Methods inherited from class com.idega.data.IDOFactory
createEntity, createIDO, decode, decode, findByPrimaryKeyCollection, findByPrimaryKeyIDO, findByPrimaryKeyIDO, findSubTypeByPrimaryKeyIDO, findSubTypesByPrimaryKeysIDO, getDatasource, getEntityBeanClass, getEntityCollectionForPrimaryKeys, getEntitySetForPrimaryKeys, getHomesForSubtypes, getHomesForSubtypes, idoCheckInPooledEntity, idoCheckOutPooledEntity, idoCreate, idoCreate, idoFindByPrimaryKey, idoFindByPrimaryKey, idoFindByPrimaryKey, idoFindByPrimaryKey, idoFindByPrimaryKey, idoFindByPrimaryKey, remove, setDatasource, setDatasource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.idega.data.IDOHome
createIDO, decode, decode, findByPrimaryKeyCollection, findByPrimaryKeyIDO, getDatasource, getEntityCollectionForPrimaryKeys, setDatasource, setDatasource
 
Methods inherited from interface javax.ejb.EJBLocalHome
remove
 

Constructor Detail

TeeHomeImpl

public TeeHomeImpl()
Method Detail

getEntityInterfaceClass

public java.lang.Class getEntityInterfaceClass()
Specified by:
getEntityInterfaceClass in class com.idega.data.IDOFactory

create

public Tee create()
           throws javax.ejb.CreateException
Specified by:
create in interface TeeHome
Throws:
javax.ejb.CreateException

findByPrimaryKey

public Tee findByPrimaryKey(java.lang.Object pk)
                     throws javax.ejb.FinderException
Specified by:
findByPrimaryKey in interface TeeHome
Throws:
javax.ejb.FinderException

createLegacy

public Tee createLegacy()
Specified by:
createLegacy in interface TeeHome

findByPrimaryKey

public Tee findByPrimaryKey(int id)
                     throws javax.ejb.FinderException
Specified by:
findByPrimaryKey in interface TeeHome
Throws:
javax.ejb.FinderException

findByPrimaryKeyLegacy

public Tee findByPrimaryKeyLegacy(int id)
                           throws java.sql.SQLException
Specified by:
findByPrimaryKeyLegacy in interface TeeHome
Throws:
java.sql.SQLException

findByFieldAndHoleNumber

public java.util.Collection findByFieldAndHoleNumber(int fieldID,
                                                     int holeNumber)
                                              throws javax.ejb.FinderException
Specified by:
findByFieldAndHoleNumber in interface TeeHome
Throws:
javax.ejb.FinderException

findByFieldAndTeeColorAndHoleNumber

public Tee findByFieldAndTeeColorAndHoleNumber(Field field,
                                               TeeColor teeColor,
                                               int holeNumber)
                                        throws javax.ejb.FinderException
Specified by:
findByFieldAndTeeColorAndHoleNumber in interface TeeHome
Throws:
javax.ejb.FinderException

findByFieldAndTeeColorAndHoleNumber

public Tee findByFieldAndTeeColorAndHoleNumber(int fieldID,
                                               int teeColorID,
                                               int holeNumber)
                                        throws javax.ejb.FinderException
Specified by:
findByFieldAndTeeColorAndHoleNumber in interface TeeHome
Throws:
javax.ejb.FinderException

findByFieldAndTeeColorAndHoleNumbers

public java.util.Collection findByFieldAndTeeColorAndHoleNumbers(Field field,
                                                                 TeeColor teeColor,
                                                                 int startHole,
                                                                 int endHole)
                                                          throws javax.ejb.FinderException
Specified by:
findByFieldAndTeeColorAndHoleNumbers in interface TeeHome
Throws:
javax.ejb.FinderException

getFieldPar

public int getFieldPar(Field field,
                       TeeColor teeColor)
                throws com.idega.data.IDOException
Specified by:
getFieldPar in interface TeeHome
Throws:
com.idega.data.IDOException

getFieldLength

public int getFieldLength(Field field,
                          TeeColor teeColor)
                   throws com.idega.data.IDOException
Specified by:
getFieldLength in interface TeeHome
Throws:
com.idega.data.IDOException


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