Class WebShopAdDetailsData
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityData<BasicAdDTO>
-
- org.cyclos.model.marketplace.advertisements.AbstractAdData
-
- org.cyclos.model.marketplace.advertisements.AdDetailsData
-
- org.cyclos.model.marketplace.advertisements.WebShopAdDetailsData
-
- All Implemented Interfaces:
Serializable
public class WebShopAdDetailsData extends AdDetailsData
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic ListProperty<AdDeliveryMethodVO,WebShopAdDetailsData>DELIVERY_METHODSstatic BasicProperty<AdWebShopSettingVO,WebShopAdDetailsData>SETTINGstatic BasicProperty<Boolean,WebShopAdDetailsData>WEB_SHOP_ADS_REQUIRE_AUTHORIZATION-
Fields inherited from class org.cyclos.model.marketplace.advertisements.AdDetailsData
ADDRESS_CONFIGURATION, ADDRESS_LIST_DATA, ADDRESSES, ADS_REQUIRE_AUTHORIZATION, CAN_HIDE, CAN_SAVE_AS_DRAFT, CATEGORIES, CURRENCY_NOT_AVAILABLE, DESCRIPTION_MAX_LENGTH, MAX_ADDRESSES_PER_AD, MAX_CATEGORIES_PER_AD
-
Fields inherited from class org.cyclos.model.marketplace.advertisements.AbstractAdData
CAN_CREATE_NEW, CAN_SET_ADDRESS, CAN_SUBMIT_FOR_AUTHORIZATION, CURRENCIES, CUSTOM_FIELD_ACTIONS, HIDE_OWNER, HIDE_PRICE, IMAGES, MAX_IMAGES, QUESTIONS, QUESTIONS_ENABLED
-
Fields inherited from class org.cyclos.model.EntityData
CAN_VIEW_HISTORY_LOG, CONFIRMATION_PASSWORD_INPUT, DTO, EDITABLE, LOG_TYPE, REMOVABLE, TRANSLATED_PROPERTY_TYPES, TRANSLATED_VALUES
-
-
Constructor Summary
Constructors Constructor Description WebShopAdDetailsData()WebShopAdDetailsData(Property<T,? super WebShopAdDetailsData> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()List<AdDeliveryMethodVO>getDeliveryMethods()AdWebShopSettingVOgetSetting()booleanisWebShopAdsRequireAuthorization()voidsetDeliveryMethods(List<AdDeliveryMethodVO> deliveryMethods)voidsetSetting(AdWebShopSettingVO setting)voidsetWebShopAdsRequireAuthorization(boolean webShopAdsRequireAuthorization)-
Methods inherited from class org.cyclos.model.marketplace.advertisements.AdDetailsData
getAddressConfiguration, getAddresses, getAddressListData, getCategories, getDescriptionMaxLength, getMaxAddressesPerAd, getMaxCategoriesPerAd, isAdsRequireAuthorization, isCanHide, isCanSaveAsDraft, isCurrencyNotAvailable, setAddressConfiguration, setAddresses, setAddressListData, setAdsRequireAuthorization, setCanHide, setCanSaveAsDraft, setCategories, setCurrencyNotAvailable, setDescriptionMaxLength, setMaxAddressesPerAd, setMaxCategoriesPerAd
-
Methods inherited from class org.cyclos.model.marketplace.advertisements.AbstractAdData
getCurrencies, getCustomFieldActions, getImages, getMaxImages, getQuestions, isCanCreateNew, isCanSetAddress, isCanSubmitForAuthorization, isHideOwner, isHidePrice, isQuestionsEnabled, setCanCreateNew, setCanSetAddress, setCanSubmitForAuthorization, setCurrencies, setCustomFieldActions, setHideOwner, setHidePrice, setImages, setMaxImages, setQuestions, setQuestionsEnabled
-
Methods inherited from class org.cyclos.model.EntityData
getConfirmationPasswordInput, getDto, getLogType, getTranslatedPropertyTypes, getTranslatedValues, isCanViewHistoryLog, isEditable, isRemovable, setCanViewHistoryLog, setConfirmationPasswordInput, setDto, setEditable, setLogType, setRemovable, setTranslatedPropertyTypes, setTranslatedValues
-
Methods inherited from class org.cyclos.model.Bean
addPropertyChangeListener, addPropertyChangeListener, attributeNames, backup, changes, clearAttributes, copyPropertiesTo, copyPropertiesTo, copyPropertiesTo, dataAccessor, firePropertyChange, get, getAttribute, initDataAccessor, properties, property, propertyMap, removeAttribute, removePropertyChangeListener, removePropertyChangeListener, restore, set, set, setAttribute, setWithPropagationId, values
-
-
-
-
Field Detail
-
CLASS_NAME
public static final String CLASS_NAME
-
DELIVERY_METHODS
public static final ListProperty<AdDeliveryMethodVO,WebShopAdDetailsData> DELIVERY_METHODS
-
SETTING
public static final BasicProperty<AdWebShopSettingVO,WebShopAdDetailsData> SETTING
-
WEB_SHOP_ADS_REQUIRE_AUTHORIZATION
public static final BasicProperty<Boolean,WebShopAdDetailsData> WEB_SHOP_ADS_REQUIRE_AUTHORIZATION
-
-
Constructor Detail
-
WebShopAdDetailsData
public WebShopAdDetailsData()
-
WebShopAdDetailsData
public WebShopAdDetailsData(Property<T,? super WebShopAdDetailsData> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classAdDetailsData
-
getDeliveryMethods
public List<AdDeliveryMethodVO> getDeliveryMethods()
-
setDeliveryMethods
public void setDeliveryMethods(List<AdDeliveryMethodVO> deliveryMethods)
-
getSetting
public AdWebShopSettingVO getSetting()
-
setSetting
public void setSetting(AdWebShopSettingVO setting)
-
isWebShopAdsRequireAuthorization
public boolean isWebShopAdsRequireAuthorization()
-
setWebShopAdsRequireAuthorization
public void setWebShopAdsRequireAuthorization(boolean webShopAdsRequireAuthorization)
-
className
public String className()
- Overrides:
classNamein classAdDetailsData
-
-