Class PartnerInfo
java.lang.Object
org.deltava.beans.DatabaseBean
org.deltava.beans.DatabaseBlobBean
org.deltava.beans.ImageBean
org.deltava.beans.PartnerInfo
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<Object>
,Auditable
,IDBean
,Cacheable
-
Nested Class Summary
Nested classes/interfaces inherited from class org.deltava.beans.ImageBean
ImageBean.ImageFormat
-
Field Summary
Fields inherited from class org.deltava.beans.DatabaseBlobBean
_buffer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the object ID for this auditable object.Returns the partner description text.Returns the database image type.Returns the time of the last partner referral.getName()
Returns the partner name.int
Returns the partner priority.int
Returns the partner referral count.getURL()
Returns the partner URL.void
setDescription
(String desc) Updates the partner description text.void
setLastRefer
(Instant dt) Updates the time of the last partner referral.void
Updates the partner name.void
setPriority
(int p) Updates the partner priority.void
setReferCount
(int cnt) Updates the partner referral count.void
Updates the partner URL.Methods inherited from class org.deltava.beans.ImageBean
checkParam, getFormat, getHasImage, getHeight, getSize, getWidth, load, load, setFormat, setHeight, setSize, setWidth
Methods inherited from class org.deltava.beans.DatabaseBlobBean
clear, getInputStream, isLoaded
Methods inherited from class org.deltava.beans.DatabaseBean
cacheKey, compareTo, equals, getHexID, getID, hashCode, setID, validateID, validateID
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.deltava.beans.Auditable
getAuditType, isCrossApp
-
Constructor Details
-
PartnerInfo
-
-
Method Details
-
getAuditID
Description copied from interface:Auditable
Returns the object ID for this auditable object.- Specified by:
getAuditID
in interfaceAuditable
- Returns:
- the ID
-
getImageType
Description copied from class:ImageBean
Returns the database image type.- Specified by:
getImageType
in classImageBean
- Returns:
- an ImageType
-
getName
-
getURL
-
getDescription
-
getReferCount
public int getReferCount()Returns the partner referral count.- Returns:
- the count
-
getLastRefer
Returns the time of the last partner referral.- Returns:
- the date/time of the last link out
-
getPriority
public int getPriority()Returns the partner priority.- Returns:
- the priority
-
setName
-
setURL
-
setDescription
Updates the partner description text.- Parameters:
desc
- the description
-
setReferCount
public void setReferCount(int cnt) Updates the partner referral count.- Parameters:
cnt
- the referral count
-
setLastRefer
Updates the time of the last partner referral.- Parameters:
dt
- the date/time of the last link out
-
setPriority
public void setPriority(int p) Updates the partner priority.- Parameters:
p
- the priority
-