Package org.cyclos.entities.users
Class OperatorGroup
- java.lang.Object
-
- org.cyclos.entities.SimpleEntity
-
- org.cyclos.entities.NetworkedEntity
-
- org.cyclos.entities.BaseEntity
-
- org.cyclos.entities.NamedEntity
-
- org.cyclos.entities.users.OperatorGroup
-
- All Implemented Interfaces:
Cloneable,Comparable<NamedEntity>,HasNetwork,ProcessableForProxying,IEntity,INamedEntity
@Entity public class OperatorGroup extends NamedEntity
A group for operators Restricted operators (authorizations) Only can authorize (with permission) payments in authorization type 'OPERATOR' Only can view authorizations in authorization type 'OPERATOR' (i.e status rejected/cancelled/pending) Exception to the rule: Payments with authorization type 'LEVEL' can only be seen if the operator is the performer/receiver. Otherwise they are not shown. Authorized payments can only be seen if the operator is the performer/receiver. Otherwise they are shown only in the account history page.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cyclos.entities.SimpleEntity
SimpleEntity.EntityLoadNotifier
-
-
Constructor Summary
Constructors Constructor Description OperatorGroup()
-
Method Summary
-
Methods inherited from class org.cyclos.entities.NamedEntity
compareTo, getName, getNames, setName, toShortString, toString
-
Methods inherited from class org.cyclos.entities.BaseEntity
getDataTranslationType, 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.entities.ProcessableForProxying
getProxyClass
-
-
-
-
Method Detail
-
getAccountNotificationSettings
public Set<OperatorGroupAccountNotificationSettings> getAccountNotificationSettings()
-
getAccountNotificationSettings
public OperatorGroupAccountNotificationSettings getAccountNotificationSettings(UserAccountType type)
-
getAccountType
public OperatorGroupAccountType getAccountType(UserAccountType type)
-
getAccountTypes
public Set<OperatorGroupAccountType> getAccountTypes()
-
getCustomOperations
public Set<CustomOperation> getCustomOperations()
-
getCustomWizards
public Set<CustomWizard> getCustomWizards()
-
getDescription
public String getDescription()
-
getNetwork
public Network getNetwork()
Description copied from interface:HasNetworkReturns the network this entity belongs to
-
getPaymentType
public OperatorGroupPaymentType getPaymentType(PaymentTransferType type)
-
getPaymentTypes
public Set<OperatorGroupPaymentType> getPaymentTypes()
-
getRecordTypes
public Set<UserRecordType> getRecordTypes()
-
getUser
public User getUser()
-
isBlockTokenPrincipalType
public boolean isBlockTokenPrincipalType()
-
isBrokering
public boolean isBrokering()
-
isCancelTokenPrincipalType
public boolean isCancelTokenPrincipalType()
-
isChargebackPayments
public boolean isChargebackPayments()
-
isEditOwnProfile
public boolean isEditOwnProfile()
-
isEnableTokenPrincipalType
public boolean isEnableTokenPrincipalType()
-
isManageAdvertisements
public boolean isManageAdvertisements()
-
isMessages
public boolean isMessages()
-
isNotifications
public boolean isNotifications()
-
isReceivePayments
public boolean isReceivePayments()
-
isRequestPayments
public boolean isRequestPayments()
-
isUnblockTokenPrincipalType
public boolean isUnblockTokenPrincipalType()
-
isViewAdvertisements
public boolean isViewAdvertisements()
-
isVoucherTransactions
public boolean isVoucherTransactions()
-
setAccountNotificationSettings
public void setAccountNotificationSettings(Set<OperatorGroupAccountNotificationSettings> accountNotificationSettings)
-
setAccountTypes
public void setAccountTypes(Set<OperatorGroupAccountType> accountTypes)
-
setBlockTokenPrincipalType
public void setBlockTokenPrincipalType(Boolean blockTokenPrincipalType)
-
setBrokering
public void setBrokering(boolean brokering)
-
setCancelTokenPrincipalType
public void setCancelTokenPrincipalType(Boolean cancelTokenPrincipalType)
-
setChargebackPayments
public void setChargebackPayments(boolean chargebackPayments)
-
setCustomOperations
public void setCustomOperations(Set<CustomOperation> customOperations)
-
setCustomWizards
public void setCustomWizards(Set<CustomWizard> customWizards)
-
setDescription
public void setDescription(String description)
-
setEditOwnProfile
public void setEditOwnProfile(boolean editOwnProfile)
-
setEnableTokenPrincipalType
public void setEnableTokenPrincipalType(Boolean enableTokenPrincipalType)
-
setManageAdvertisements
public void setManageAdvertisements(boolean manageAdvertisements)
-
setMessages
public void setMessages(boolean messages)
-
setNotifications
public void setNotifications(boolean notifications)
-
setPaymentTypes
public void setPaymentTypes(Set<OperatorGroupPaymentType> paymentTypes)
-
setReceivePayments
public void setReceivePayments(boolean receivePayments)
-
setRecordTypes
public void setRecordTypes(Set<UserRecordType> recordTypes)
-
setRequestPayments
public void setRequestPayments(boolean requestPayments)
-
setUnblockTokenPrincipalType
public void setUnblockTokenPrincipalType(Boolean unblockTokenPrincipalType)
-
setUser
public void setUser(User user)
-
setViewAdvertisements
public void setViewAdvertisements(boolean viewAdvertisements)
-
setVoucherTransactions
public void setVoucherTransactions(boolean voucherTransactions)
-
-