Package org.cyclos.model.users.products
Class ProductSearchData
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.SearchData<ProductQuery>
-
- org.cyclos.model.users.products.ProductSearchData
-
- All Implemented Interfaces:
Serializable
public class ProductSearchData extends SearchData<ProductQuery>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static BasicProperty<Boolean,ProductSearchData>CAN_MANAGEstatic StringCLASS_NAMEstatic ListProperty<BasicGroupVO,ProductSearchData>GROUPSstatic ListProperty<UserAccountTypeVO,ProductSearchData>USER_ACCOUNT_TYPES-
Fields inherited from class org.cyclos.model.SearchData
QUERY
-
-
Constructor Summary
Constructors Constructor Description ProductSearchData()ProductSearchData(Property<T,? super ProductSearchData> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()List<BasicGroupVO>getGroups()List<UserAccountTypeVO>getUserAccountTypes()booleanisCanManage()voidsetCanManage(boolean canManage)voidsetGroups(List<BasicGroupVO> groups)voidsetUserAccountTypes(List<UserAccountTypeVO> userAccountTypes)-
Methods inherited from class org.cyclos.model.SearchData
getQuery, setQuery
-
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
-
-
-
-
Field Detail
-
CLASS_NAME
public static final String CLASS_NAME
-
CAN_MANAGE
public static final BasicProperty<Boolean,ProductSearchData> CAN_MANAGE
-
GROUPS
public static final ListProperty<BasicGroupVO,ProductSearchData> GROUPS
-
USER_ACCOUNT_TYPES
public static final ListProperty<UserAccountTypeVO,ProductSearchData> USER_ACCOUNT_TYPES
-
-
Constructor Detail
-
ProductSearchData
public ProductSearchData()
-
ProductSearchData
public ProductSearchData(Property<T,? super ProductSearchData> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classSearchData<ProductQuery>
-
isCanManage
public boolean isCanManage()
-
setCanManage
public void setCanManage(boolean canManage)
-
getGroups
public List<BasicGroupVO> getGroups()
-
setGroups
public void setGroups(List<BasicGroupVO> groups)
-
getUserAccountTypes
public List<UserAccountTypeVO> getUserAccountTypes()
-
setUserAccountTypes
public void setUserAccountTypes(List<UserAccountTypeVO> userAccountTypes)
-
-