public class OrganizationListDataBean extends SmartDataBeanImpl
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
The internal copyright field.
|
emptyString
Constructor and Description |
---|
OrganizationListDataBean()
OrganizationListDataBean constructor comment.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getAccountCheck()
Gets the user ID of selected organization.
|
CommandContext |
getCommandContext()
Get the command context.
|
OrganizationAccessBean[] |
getEntitledOrganizations()
Get the list of organizations that the user can shop under.
|
TypedProperty |
getRequestProperties()
Get the request properties.
|
void |
populate()
Search for the organizations that the user can shop under and save the
result set in the entiledOrganizations.
|
void |
setAccountCheck(boolean iAccountCheck)
Sets the Account check to be included or not.
|
void |
setCommandContext(CommandContext inCommandContext)
Set the command context.
|
void |
setExplicitEntitlement(boolean isExplicitEntitlementOnly)
Make the result set of organizations to only return the actual organizations where the role is played.
|
void |
setRequestProperties(TypedProperty param)
Set the request properties for the bean.
|
fulfills, getHttpRequest, getHttpResponse, getResources, getViewCommandContext, setHttpRequest, setHttpResponse, setViewCommandContext
public static final java.lang.String COPYRIGHT
public OrganizationListDataBean()
public CommandContext getCommandContext()
getCommandContext
in interface SmartDataBean
getCommandContext
in class SmartDataBeanImpl
com.ibm.commerce.command.CommandContext
.public OrganizationAccessBean[] getEntitledOrganizations()
public TypedProperty getRequestProperties()
getRequestProperties
in interface InputDataBean
getRequestProperties
in class InputDataBeanImpl
com.ibm.commerce.datatype.TypedProperty
containing the
request properties.public void populate() throws java.lang.Exception
populate
in interface SmartDataBean
populate
in class SmartDataBeanImpl
java.lang.Exception
- Any uncaught exception encountered during execution.public void setCommandContext(CommandContext inCommandContext)
setCommandContext
in interface SmartDataBean
setCommandContext
in class SmartDataBeanImpl
inCommandContext
- com.ibm.commerce.command.CommandContext.public void setExplicitEntitlement(boolean isExplicitEntitlementOnly)
isExplicitEntitlementOnly
- To perform explicit role search only.public void setRequestProperties(TypedProperty param) throws java.lang.Exception
setRequestProperties
in interface InputDataBean
setRequestProperties
in class InputDataBeanImpl
param
- This is an object that represents the set of properties passed to the JSP page that invokes this data bean.java.lang.Exception
- Any uncaught exception encountered during execution.InputDataBean.setRequestProperties(com.ibm.commerce.datatype.TypedProperty)
public void setAccountCheck(boolean iAccountCheck)
iAccountCheck
- Business Account Check.public boolean getAccountCheck()