Package org.cyclos.entities.marketplace
Class AdCustomField
- java.lang.Object
-
- All Implemented Interfaces:
Cloneable,Comparable<NamedEntity>,HasNetwork,HasOrder,ProcessableForProxying,DefinesNetwork,IEntity,IInternalNamedEntity,INamedEntity,IUnqualifiedInternalNamedEntity,HasValueMatch,ICustomField,UsesScript
@Entity public class AdCustomField extends CustomField<AdCustomField,AdCustomFieldPossibleValueCategory,AdCustomFieldPossibleValue> implements DefinesNetwork
A custom field for advertisements
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cyclos.entities.SimpleEntity
SimpleEntity.EntityLoadNotifier
-
-
Constructor Summary
Constructors Constructor Description AdCustomField()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataTranslationTypegetDataTranslationType()If this entity allows data translation, should return the translation typeCustomFieldNaturegetNature()NetworkgetNetwork()Returns the network this entity belongs toList<AdCustomFieldPossibleValueCategory>getPossibleValueCategories()Class<AdCustomFieldPossibleValueCategory>getPossibleValueCategoryClass()Class<AdCustomFieldPossibleValue>getPossibleValueClass()List<AdCustomFieldPossibleValue>getPossibleValues()CustomScriptUsedInTypegetScriptUsedInType()Returns the type of script usageAdCustomFieldSearchVisibilitygetSearchVisibility()booleanisShowInSearch()voidsetNetwork(Network network)voidsetSearchVisibility(AdCustomFieldSearchVisibility searchVisibility)-
Methods inherited from class org.cyclos.entities.system.CustomField
getAllowedMimeTypes, getAllSelectedLabel, getControl, getDecimalDigits, getDecimalValueRange, getDefaultBooleanValue, getDefaultDateValue, getDefaultDecimalValue, getDefaultIntegerValue, getDefaultRichTextValue, getDefaultStringValue, getDefaultTextValue, getInformationText, getIntegerValueRange, getLengthConstraint, getLinkedEntityRecordType, getLinkedEntityType, getLoadValuesScript, getLoadValuesScriptParameters, getMaxFiles, getMaxWordSize, getOtherMimeTypes, getPattern, getShowQrCodeScan, getSize, getStorageDirectory, getType, getValidationScript, getValidationScriptParameters, getValueMatch, isAllowedAsSearchFilter, isDefaultDateToday, isExactMatch, isExpandedCategories, isIgnoreSanitizer, isRequired, isUnique, setAllowedMimeTypes, setAllSelectedLabel, setControl, setDecimalDigits, setDecimalValueRange, setDefaultBooleanValue, setDefaultDateToday, setDefaultDateValue, setDefaultDecimalValue, setDefaultIntegerValue, setDefaultRichTextValue, setDefaultStringValue, setDefaultTextValue, setExpandedCategories, setIgnoreSanitizer, setInformationText, setIntegerValueRange, setLengthConstraint, setLinkedEntityRecordType, setLinkedEntityType, setLoadValuesScript, setLoadValuesScriptParameters, setMaxFiles, setMaxWordSize, setOtherMimeTypes, setPattern, setRequired, setShowQrCodeScan, setSize, setStorageDirectory, setType, setUnique, setValidationScript, setValidationScriptParameters, setValueMatch
-
Methods inherited from class org.cyclos.entities.ConfigurationOrderableEntity
compareTo, getOrder, setOrder, toString
-
Methods inherited from class org.cyclos.entities.ConfigurationEntity
getDescription, getInternalName, setDescription, setInternalName, toShortString
-
Methods inherited from class org.cyclos.entities.NamedEntity
getName, getNames, setName
-
Methods inherited from class org.cyclos.entities.BaseEntity
getVersion
-
Methods inherited from class org.cyclos.entities.NetworkedEntity
isGlobal
-
Methods inherited from class org.cyclos.entities.SimpleEntity
equals, getId, hashCode, id, ids, isPersistent, isTransient, register, setId, uniqueIds, uniqueIds
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.model.IInternalNamedEntity
getInternalName, matches, setInternalName
-
Methods inherited from interface org.cyclos.model.INamedEntity
getName, setName
-
Methods inherited from interface org.cyclos.entities.ProcessableForProxying
getProxyClass
-
Methods inherited from interface org.cyclos.model.system.scripts.UsesScript
isEnabled
-
-
-
-
Method Detail
-
getDataTranslationType
public DataTranslationType getDataTranslationType()
Description copied from class:BaseEntityIf this entity allows data translation, should return the translation type- Overrides:
getDataTranslationTypein classBaseEntity
-
getNature
public CustomFieldNature getNature()
- Specified by:
getNaturein classCustomField<AdCustomField,AdCustomFieldPossibleValueCategory,AdCustomFieldPossibleValue>
-
getNetwork
public Network getNetwork()
Description copied from interface:HasNetworkReturns the network this entity belongs to- Specified by:
getNetworkin interfaceHasNetwork
-
getPossibleValueCategories
public List<AdCustomFieldPossibleValueCategory> getPossibleValueCategories()
- Specified by:
getPossibleValueCategoriesin classCustomField<AdCustomField,AdCustomFieldPossibleValueCategory,AdCustomFieldPossibleValue>
-
getPossibleValueCategoryClass
public Class<AdCustomFieldPossibleValueCategory> getPossibleValueCategoryClass()
- Specified by:
getPossibleValueCategoryClassin classCustomField<AdCustomField,AdCustomFieldPossibleValueCategory,AdCustomFieldPossibleValue>
-
getPossibleValueClass
public Class<AdCustomFieldPossibleValue> getPossibleValueClass()
- Specified by:
getPossibleValueClassin classCustomField<AdCustomField,AdCustomFieldPossibleValueCategory,AdCustomFieldPossibleValue>
-
getPossibleValues
public List<AdCustomFieldPossibleValue> getPossibleValues()
- Specified by:
getPossibleValuesin classCustomField<AdCustomField,AdCustomFieldPossibleValueCategory,AdCustomFieldPossibleValue>
-
getScriptUsedInType
public CustomScriptUsedInType getScriptUsedInType()
Description copied from interface:UsesScriptReturns the type of script usage- Specified by:
getScriptUsedInTypein interfaceUsesScript
-
getSearchVisibility
public AdCustomFieldSearchVisibility getSearchVisibility()
-
isShowInSearch
public boolean isShowInSearch()
-
setNetwork
public void setNetwork(Network network)
- Specified by:
setNetworkin interfaceDefinesNetwork
-
setSearchVisibility
public void setSearchVisibility(AdCustomFieldSearchVisibility searchVisibility)
-
-