de.fhkl.zw.mkup.rattrap.entity
Class HarvesterSpamLink
java.lang.Object
de.fhkl.zw.mkup.rattrap.entity.AbstractEntity
de.fhkl.zw.mkup.rattrap.entity.HarvesterSpamLink
public class HarvesterSpamLink
- extends AbstractEntity
- Author:
- rob
this class encapsulates persistence of the HarvesterSpamLink entity.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HarvesterSpamLink
public HarvesterSpamLink()
load
public static void load(long harvesterTs,
java.lang.String harvesterIp)
throws EntityNotFoundException
- Throws:
EntityNotFoundException
loadCollection
public static java.util.Vector loadCollection()
throws EntityNotFoundException
- returns all HarvesterSpamLink objects from the database
- Returns:
- all HarvesterSpamLink objects
- Throws:
EntityNotFoundException
loadCollection
public static java.util.Vector loadCollection(java.lang.String dateFrom,
java.lang.String dateTo)
throws EntityNotFoundException
- returns all HarvesterSpamLink objects that were created between dateFrom and dateTo
- Parameters:
dateFrom
- dateTo
-
- Returns:
- an Vector containing all the HarvesterSpamLink objects
- Throws:
EntityNotFoundException
insert
public void insert()
throws java.sql.SQLException
- Specified by:
insert
in class AbstractEntity
- Throws:
java.sql.SQLException
update
public void update()
throws java.sql.SQLException
- Specified by:
update
in class AbstractEntity
- Throws:
java.sql.SQLException
delete
public void delete()
throws java.sql.SQLException
- Specified by:
delete
in class AbstractEntity
- Throws:
java.sql.SQLException
getHarvesterIp
public java.lang.String getHarvesterIp()
- Returns:
- Returns the harvesterIp.
setHarvesterIp
public void setHarvesterIp(java.lang.String harvesterIp)
- Parameters:
harvesterIp
- The harvesterIp to set.
getHarvesterTs
public long getHarvesterTs()
- Returns:
- Returns the harvesterTs.
setHarvesterTs
public void setHarvesterTs(long harvesterTs)
- Parameters:
harvesterTs
- The harvesterTs to set.
getAccessMethodPK
public int getAccessMethodPK()
- Returns:
- Returns the accessMethodPK.
setAccessMethodPK
public void setAccessMethodPK(int accessMethodPK)
- Parameters:
accessMethodPK
- The accessMethodPK to set.
getMailReceivedPK
public int getMailReceivedPK()
- Returns:
- Returns the mailReceivedPK.
setMailReceivedPK
public void setMailReceivedPK(int mailReceivedPK)
- Parameters:
mailReceivedPK
- The mailReceivedPK to set.
toHashtable
public static java.util.Hashtable toHashtable(HarvesterSpamLink hsl)
- gets all entities that are related to the submitted HarvesterSpamLink Object,
stores them to a hashtable and returns the same
- Parameters:
hsl
- the HarvesterSpamLink to that the other entities are related
- Returns:
- a hashtable with the related entities
getGeoLocatedHostPK
public int getGeoLocatedHostPK()
- Returns:
- Returns the geoLocatedHostPK.
setGeoLocatedHostPK
public void setGeoLocatedHostPK(int geoLocatedHostPK)
- Parameters:
geoLocatedHostPK
- The geoLocatedHostPK to set.