public class ContactParams
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected org.apache.commons.logging.Log |
logger |
Constructor and Description |
---|
ContactParams() |
ContactParams(int cid,
java.lang.String setName,
int size,
int item) |
ContactParams(SetSize setSize) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(ContactParams other)
Compare two ContactParams for equality.
Compare chain, setName, size, and contactNumber. either size = -1 is a wildcard and will match (contactNumber is ignored in this case). either contactNumber = -1 is a wildcard and will match. |
boolean |
equalsPics(ContactParams other)
Compare two ContactParams for equality.
Compare setName, size, min/max. Basically, we are checking if these two ContactParams will select the same set of Pics. |
int |
getCid() |
int |
getContactNumber() |
java.lang.String |
getEngineName()
Get the name of the engine that is to build these contacts
|
java.lang.String |
getOutputDirectory() |
int |
getRankMax() |
int |
getRankMin() |
java.lang.String |
getSetName() |
int |
getSize()
Get the thumbnail size we should draw in
|
java.lang.String |
getUid()
Return a String which is the Uuid of a set/size combo.
|
java.lang.String |
getUuid()
Return a String which is the Uuid of a set/size/item combo
|
void |
setCid(int cid) |
void |
setContactNumber(int contactNumber) |
void |
setEngineName(java.lang.String engineName)
Set the name of the engine that is to build these contacts
|
void |
setOutputDirectory(java.lang.String outputDirectory) |
void |
setRankMax(int rankMax) |
void |
setRankMin(int rankMin) |
void |
setRankMinMax(int min,
int max)
Convienence method to set the min and max ratings in one call.
|
void |
setSetName(java.lang.String setName) |
void |
setSetSize(SetSize setSize) |
void |
setSize(int size)
Set the thumbnail size we should draw in
|
public ContactParams()
public ContactParams(int cid, java.lang.String setName, int size, int item)
public ContactParams(SetSize setSize)
public boolean equals(ContactParams other)
other
- The other ContactParams to compare to.public boolean equalsPics(ContactParams other)
other
- The other ContactParams to compare to.public int getCid()
public void setCid(int cid)
cid
- The cid to set.public void setSetSize(SetSize setSize)
public java.lang.String getSetName()
public void setSetName(java.lang.String setName)
public int getSize()
public void setSize(int size)
size
- most likely 75,100,150,200 or 300public java.lang.String getOutputDirectory()
public void setOutputDirectory(java.lang.String outputDirectory)
public int getContactNumber()
public void setContactNumber(int contactNumber)
public java.lang.String getUuid()
public java.lang.String getUid()
public int getRankMax()
public void setRankMax(int rankMax)
rankMax
- The rankMax to set.public int getRankMin()
public void setRankMin(int rankMin)
rankMin
- The rankMin to set.public void setRankMinMax(int min, int max)
min
- max
- public java.lang.String getEngineName()
public void setEngineName(java.lang.String engineName)
engineName
- the engineName to set