|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A parent interface for all of the other interfaces handling business processing.
The methods provided allow implementations to communicate with other elements
of the application. In particular, retrieve settings (using
getSettingsBean()
), retrieve user information (using
getUser()
), create data access objects (using
getDaoFactory()
) and create other business objects (using
getBusinessObjectFactory()
).
BaseBusinessProcessor
Method Summary | |
BusinessObjectFactory |
getBusinessObjectFactory()
Retrieves the BusinessObjectFactory previously set for
this business object. |
DAOFactory |
getDaoFactory()
Retrieves the DAOFactory previously set for this business
object. |
SettingsBean |
getSettingsBean()
Retrieves the SettingsBean previously set for this
business object. |
User |
getUser()
Retrieves the User previously set for this business
object. |
void |
setBusinessObjectFactory(BusinessObjectFactory businessObjectFactory)
Sets this business object's BusinessObjectFactory . |
void |
setDaoFactory(DAOFactory daoFactory)
Sets this business object's DAOFactory . |
void |
setSettingsBean(SettingsBean settingsBean)
Sets this business object's SettingsBean . |
void |
setUser(User user)
Sets this business object's User . |
Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessObject |
initialize |
Method Detail |
public SettingsBean getSettingsBean()
SettingsBean
previously set for this
business object.
SettingsBean
object that represents various
settings for the system.public void setSettingsBean(SettingsBean settingsBean)
SettingsBean
. Used by the
application's BusinessObjectFactory
(through
initialize(Map parameters)
), to provide the system's
SettingsBean
to this business object.
settingsBean
- The current SettingsBean
for the system,
containing various settings to be used by this business
object.public User getUser()
User
previously set for this business
object.
User
object that represents the user currently
accessing the system.public void setUser(User user)
User
. Used by the
application's BusinessObjectFactory
(through
initialize(Map parameters)
), to provide the current
User
accessing the system to this business object.
user
- The current User
accessing the system, for
which business processing is to be performed by this business
object.public DAOFactory getDaoFactory()
DAOFactory
previously set for this business
object.
DAOFactory
object that can be used to create
data access objects.public void setDaoFactory(DAOFactory daoFactory)
DAOFactory
. Used by the
application's BusinessObjectFactory
(through
initialize(Map parameters)
), to provide the current
DAOFactory
for the system to this business object.
daoFactory
- The current DAOFactory
for the system, which
will allow this business object to create data access objects.public BusinessObjectFactory getBusinessObjectFactory()
BusinessObjectFactory
previously set for
this business object.
BusinessObjectFactory
object that can be used to
create other business objects.public void setBusinessObjectFactory(BusinessObjectFactory businessObjectFactory)
BusinessObjectFactory
. Used
by the application's BusinessObjectFactory
(through
initialize(Map parameters)
), to provide itself to this
business object, so that it can create other business objects in turn.
businessObjectFactory
- The current BusinessObjectFactory
for the
system, allowing this business object to create other business
objects.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |