|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.torweg.pulse.util.entity.AbstractBasicEntity
org.torweg.pulse.util.entity.AbstractNamedEntity
org.torweg.pulse.util.entity.AbstractNamableEntity
org.torweg.pulse.component.util.model.AbstractExtendedAddress
org.torweg.pulse.component.util.model.Retailer
@Entity public class Retailer
Represents a Retailer as used by the utility-component
"retailer".
| Nested Class Summary | |
|---|---|
static class |
Retailer.Type
Describes the different types of Retailers. |
| Constructor Summary | |
|---|---|
protected |
Retailer()
Deprecated. |
|
Retailer(java.lang.String c)
The Constructor that sets the country of the
Retailer. |
| Method Summary | |
|---|---|
org.jdom.Element |
deserializeToJDOM()
De-serialises the state of the Retailer as a JDOM
Element. |
java.lang.String |
getCustomerNumber()
Returns the customer number of the Retailer. |
VirtualFile |
getLogo()
Returns the logo of the Retailer. |
java.util.BitSet |
getRetailStoreFilter()
Returns the filter for the product groups available in the retail store of the Retailer. |
Retailer.Type |
getType()
Returns the Retailer.Type of the Retailer. |
java.util.BitSet |
getWebShopFilter()
Returns the filter for the product groups available in the web shop of the Retailer. |
void |
setCustomerNumber(java.lang.String cn)
Sets the customer number of the Retailer. |
void |
setLogo(VirtualFile l)
Sets the logo of the Retailer. |
void |
setRetailStoreFilter(java.util.BitSet f)
Sets the filter for the product groups available in the retail store of the Retailer. |
void |
setType(Retailer.Type t)
Sets the Retailer.Type of the Retailer. |
void |
setWebShopFilter(java.util.BitSet f)
Sets the filter for the product groups available in the web shop of the Retailer. |
net.sf.json.JSONObject |
toJSON()
Returns a JSON-representation of the Retailer. |
| Methods inherited from class org.torweg.pulse.component.util.model.AbstractExtendedAddress |
|---|
getCity, getContactPerson, getCountry, getEmail, getFaxNumber, getMobilePhoneNumber, getPhoneNumber, getPostalCode, getState, getStreet, getUrl, setCity, setContactPerson, setCountry, setEmail, setFaxNumber, setMobilePhoneNumber, setPhoneNumber, setPostalCode, setState, setStreet, setUrl |
| Methods inherited from class org.torweg.pulse.util.entity.AbstractNamableEntity |
|---|
setName |
| Methods inherited from class org.torweg.pulse.util.entity.AbstractNamedEntity |
|---|
getName |
| Methods inherited from class org.torweg.pulse.util.entity.AbstractBasicEntity |
|---|
compareTo, equals, getFullQualifiedClassNameJAXB, getId, hashCode |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.torweg.pulse.util.INameable |
|---|
setName |
| Methods inherited from interface org.torweg.pulse.util.INamed |
|---|
getName |
| Constructor Detail |
|---|
@Deprecated protected Retailer()
public Retailer(java.lang.String c)
Constructor that sets the country of the
Retailer.
c - the country to be set| Method Detail |
|---|
public final java.lang.String getCustomerNumber()
Retailer.
Retailerpublic final void setCustomerNumber(java.lang.String cn)
Retailer.
cn - the customer number to be set.public final Retailer.Type getType()
Retailer.Type of the Retailer.
Retailer.Type of the Retailer.public final void setType(Retailer.Type t)
Retailer.Type of the Retailer.
t - the Retailer.Type of the Retailer.public final VirtualFile getLogo()
Retailer.
Retailerpublic final void setLogo(VirtualFile l)
Retailer.
l - the logo to be setpublic final java.util.BitSet getRetailStoreFilter()
Retailer.
Retailer.public final void setRetailStoreFilter(java.util.BitSet f)
Retailer.
f - the filter to be setpublic final java.util.BitSet getWebShopFilter()
Retailer.
Retailer.public final void setWebShopFilter(java.util.BitSet f)
Retailer.
f - the filter to be setpublic final org.jdom.Element deserializeToJDOM()
Retailer as a JDOM
Element.
deserializeToJDOM in interface JDOMabledeserializeToJDOM in class AbstractExtendedAddressRetailer as a JDOM
Element.public final net.sf.json.JSONObject toJSON()
Retailer.
toJSON in class AbstractExtendedAddressJSONObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||