Class AuthorizationLevelData
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityData<AuthorizationLevelDTO>
-
- org.cyclos.model.banking.authorizationlevels.AuthorizationLevelData
-
- All Implemented Interfaces:
Serializable
public class AuthorizationLevelData extends EntityData<AuthorizationLevelDTO>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static BasicProperty<Boolean,AuthorizationLevelData>ALLOW_BROKERstatic BasicProperty<Boolean,AuthorizationLevelData>ALLOW_PAYERstatic BasicProperty<Boolean,AuthorizationLevelData>ALLOW_RECEIVERstatic StringCLASS_NAMEstatic BasicProperty<CurrencyVO,AuthorizationLevelData>CURRENCYstatic BasicProperty<Boolean,AuthorizationLevelData>FIRSTstatic ListProperty<AuthorizationRoleVO,AuthorizationLevelData>ROLES-
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 AuthorizationLevelData()AuthorizationLevelData(Property<T,? super AuthorizationLevelData> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()CurrencyVOgetCurrency()List<AuthorizationRoleVO>getRoles()booleanisAllowBroker()booleanisAllowPayer()booleanisAllowReceiver()booleanisFirst()voidsetAllowBroker(boolean allowBroker)voidsetAllowPayer(boolean allowPayer)voidsetAllowReceiver(boolean allowReceiver)voidsetCurrency(CurrencyVO currency)voidsetFirst(boolean first)voidsetRoles(List<AuthorizationRoleVO> roles)-
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
-
ALLOW_BROKER
public static final BasicProperty<Boolean,AuthorizationLevelData> ALLOW_BROKER
-
ALLOW_PAYER
public static final BasicProperty<Boolean,AuthorizationLevelData> ALLOW_PAYER
-
ALLOW_RECEIVER
public static final BasicProperty<Boolean,AuthorizationLevelData> ALLOW_RECEIVER
-
CURRENCY
public static final BasicProperty<CurrencyVO,AuthorizationLevelData> CURRENCY
-
FIRST
public static final BasicProperty<Boolean,AuthorizationLevelData> FIRST
-
ROLES
public static final ListProperty<AuthorizationRoleVO,AuthorizationLevelData> ROLES
-
-
Constructor Detail
-
AuthorizationLevelData
public AuthorizationLevelData()
-
AuthorizationLevelData
public AuthorizationLevelData(Property<T,? super AuthorizationLevelData> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classEntityData<AuthorizationLevelDTO>
-
isAllowBroker
public boolean isAllowBroker()
-
setAllowBroker
public void setAllowBroker(boolean allowBroker)
-
isAllowPayer
public boolean isAllowPayer()
-
setAllowPayer
public void setAllowPayer(boolean allowPayer)
-
isAllowReceiver
public boolean isAllowReceiver()
-
setAllowReceiver
public void setAllowReceiver(boolean allowReceiver)
-
getCurrency
public CurrencyVO getCurrency()
-
setCurrency
public void setCurrency(CurrencyVO currency)
-
isFirst
public boolean isFirst()
-
setFirst
public void setFirst(boolean first)
-
getRoles
public List<AuthorizationRoleVO> getRoles()
-
setRoles
public void setRoles(List<AuthorizationRoleVO> roles)
-
-