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.intReturns the partner priority.intReturns the partner referral count.getURL()Returns the partner URL.voidsetDescription(String desc) Updates the partner description text.voidsetLastRefer(Instant dt) Updates the time of the last partner referral.voidUpdates the partner name.voidsetPriority(int p) Updates the partner priority.voidsetReferCount(int cnt) Updates the partner referral count.voidUpdates the partner URL.Methods inherited from class org.deltava.beans.ImageBean
checkParam, getFormat, getHasImage, getHeight, getSize, getWidth, load, load, setFormat, setHeight, setSize, setWidthMethods inherited from class org.deltava.beans.DatabaseBlobBean
clear, getInputStream, isLoadedMethods inherited from class org.deltava.beans.DatabaseBean
cacheKey, compareTo, equals, getHexID, getID, hashCode, setID, validateID, validateIDMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.deltava.beans.Auditable
getAuditType, isCrossApp
-
Constructor Details
-
PartnerInfo
-
-
Method Details
-
getAuditID
Description copied from interface:AuditableReturns the object ID for this auditable object.- Specified by:
getAuditIDin interfaceAuditable- Returns:
- the ID
-
getImageType
Description copied from class:ImageBeanReturns the database image type.- Specified by:
getImageTypein 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
-