public class ContactManager extends java.lang.Object implements SetChangedListener
Modifier and Type | Field and Description |
---|---|
protected org.apache.commons.logging.Log |
logger |
Constructor and Description |
---|
ContactManager() |
Modifier and Type | Method and Description |
---|---|
void |
addSpin(java.util.List<ContactParams> list)
Add a list to the contacts to spin (remake)
|
java.util.LinkedList<ContactParams> |
determineContactsToMake()
Build a list of Contacts that need to be run
|
ContactParams |
getContactParamsRunning() |
java.lang.String |
getContactRunning() |
java.util.List<java.lang.String> |
getPicNames(ContactParams cp) |
boolean |
isAbort()
Should we abort the current operation?
First check if the engines were turned off.
|
protected boolean |
isFilteredOut(ContactParams cp,
java.lang.String picName) |
boolean |
makeContacts() |
void |
onSetChanged(SetSize ss)
If we happen to be building contacts for the set that changed, then kill it, because it
has to be started over anyway.
|
void |
setPicMan(PicManFacade pmf) |
protected java.util.List<java.lang.String> |
setupPicsList(ContactParams cp,
java.util.List<java.lang.String> picNames) |
public void setPicMan(PicManFacade pmf)
public java.lang.String getContactRunning()
public boolean makeContacts() throws java.lang.Exception
java.lang.Exception
public ContactParams getContactParamsRunning()
public boolean isAbort()
public void onSetChanged(SetSize ss)
onSetChanged
in interface SetChangedListener
ss
- The Set/Size that changed.SetChangedListener.onSetChanged(com.buckosoft.PicMan.domain.SetSize)
public java.util.LinkedList<ContactParams> determineContactsToMake()
public java.util.List<java.lang.String> getPicNames(ContactParams cp)
protected java.util.List<java.lang.String> setupPicsList(ContactParams cp, java.util.List<java.lang.String> picNames)
protected boolean isFilteredOut(ContactParams cp, java.lang.String picName)
public void addSpin(java.util.List<ContactParams> list)
list
- A List of ContactParams to remake