Package org.cyclos.model.users.products
Class ProductManagementDTO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- org.cyclos.model.EntityDTO
-
- org.cyclos.model.users.products.ProductManagementDTO
-
- All Implemented Interfaces:
Serializable,IEntity
public class ProductManagementDTO extends EntityDTO
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static BasicProperty<Boolean,ProductManagementDTO>ASSIGN_TO_GROUPSstatic StringCLASS_NAMEstatic BasicProperty<Boolean,ProductManagementDTO>MANAGEstatic BasicProperty<ProductVO,ProductManagementDTO>MANAGED_PRODUCTstatic BasicProperty<Boolean,ProductManagementDTO>VIEW-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
-
Constructor Summary
Constructors Constructor Description ProductManagementDTO()ProductManagementDTO(Long id)ProductManagementDTO(Property<T,? super ProductManagementDTO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()ProductVOgetManagedProduct()booleanisAssignToGroups()booleanisManage()booleanisView()voidsetAssignToGroups(boolean assignToGroups)voidsetManage(boolean manage)voidsetManagedProduct(ProductVO managedProduct)voidsetView(boolean view)-
Methods inherited from class org.cyclos.model.EntityDTO
getVersion, isPersistent, isTransient, setVersion
-
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
-
ASSIGN_TO_GROUPS
public static final BasicProperty<Boolean,ProductManagementDTO> ASSIGN_TO_GROUPS
-
MANAGE
public static final BasicProperty<Boolean,ProductManagementDTO> MANAGE
-
MANAGED_PRODUCT
public static final BasicProperty<ProductVO,ProductManagementDTO> MANAGED_PRODUCT
-
VIEW
public static final BasicProperty<Boolean,ProductManagementDTO> VIEW
-
-
Constructor Detail
-
ProductManagementDTO
public ProductManagementDTO()
-
ProductManagementDTO
public ProductManagementDTO(Long id)
-
ProductManagementDTO
public ProductManagementDTO(Property<T,? super ProductManagementDTO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classEntityDTO
-
isAssignToGroups
public boolean isAssignToGroups()
-
setAssignToGroups
public void setAssignToGroups(boolean assignToGroups)
-
isManage
public boolean isManage()
-
setManage
public void setManage(boolean manage)
-
getManagedProduct
public ProductVO getManagedProduct()
-
setManagedProduct
public void setManagedProduct(ProductVO managedProduct)
-
isView
public boolean isView()
-
setView
public void setView(boolean view)
-
-