Package org.cyclos.entities.users
Class MemberProduct
-
- All Implemented Interfaces:
Cloneable,Comparable<NamedEntity>,HasCurrency,HasNetwork,ProcessableForProxying,DefinesNetwork,IMemberOrBrokerProduct,IProduct,IEntity,IInternalNamedEntity,INamedEntity
@Entity public class MemberProduct extends Product implements HasCurrency, IMemberOrBrokerProduct
Products for members
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cyclos.entities.SimpleEntity
SimpleEntity.EntityLoadNotifier
-
-
Field Summary
-
Fields inherited from class org.cyclos.entities.users.Product
userAccount
-
-
Constructor Summary
Constructors Constructor Description MemberProduct()
-
Method Summary
-
Methods inherited from class org.cyclos.entities.users.Product
filterPaymentTypes, getAccessibleUserGroups, getAgreements, getChannelIds, getChannels, getDataTranslationType, getDefaultQuickAccess, getDocumentCategoryView, getGroups, getGroupsForUserDirectory, getMaxAddresses, getMaxCustomImages, getMaxInvitationRecipients, getMaxLandlinePhones, getMaxMessageRecipients, getMaxMobilePhones, getMaxProfileImages, getMaxSmsPerMonth, getMyAccessClients, getMyContactFields, getMyProfileFields, getMyRecordTypes, getNetwork, getPasswordActions, getPermissions, getPrincipalTypeIds, getPrincipalTypes, getRole, getRunCustomWebServices, getRunTransferCustomOperations, getSimpleUserSearchProfileFields, getTransferStatusFlows, getUserDirectoryOnGroups, getUserGroupAccessibility, getUserProfileFields, getVisibleTransactionFields, getVisibleVoucherFields, setAccessibleUserGroups, setAgreements, setChannelIds, setChannels, setDefaultQuickAccess, setDocumentCategoryView, setGroups, setGroupsForUserDirectory, setMaxAddresses, setMaxCustomImages, setMaxInvitationRecipients, setMaxLandlinePhones, setMaxMessageRecipients, setMaxMobilePhones, setMaxProfileImages, setMaxSmsPerMonth, setMyAccessClients, setMyContactFields, setMyProfileFields, setMyRecordTypes, setNetwork, setPasswordActions, setPrincipalTypeIds, setPrincipalTypes, setRunCustomWebServices, setRunTransferCustomOperations, setSimpleUserSearchProfileFields, setTransferStatusFlows, setUserDirectoryOnGroups, setUserGroupAccessibility, setUserProfileFields, setVisibleTransactionFields, setVisibleVoucherFields
-
Methods inherited from class org.cyclos.entities.ConfigurationEntity
getDescription, getInternalName, setDescription, setInternalName, toShortString, toString
-
Methods inherited from class org.cyclos.entities.NamedEntity
compareTo, 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.entities.banking.HasCurrency
round, withCurrency
-
Methods inherited from interface org.cyclos.model.IInternalNamedEntity
matches
-
Methods inherited from interface org.cyclos.entities.ProcessableForProxying
getProxyClass
-
-
-
-
Method Detail
-
getAccountAccessibility
public AccountAccessibility getAccountAccessibility()
-
getAccountFees
public Set<AccountFee> getAccountFees()
-
getAccountVisibility
public AccountVisibility getAccountVisibility()
-
getActivateUserTokenTypes
public Set<TokenPrincipalType> getActivateUserTokenTypes()
It returns the NFC token principal types (more specificTokenType.NFC_TAG) the member is allowed to activate for another user.
-
getChargebackPaymentTypes
public Set<TransferType> getChargebackPaymentTypes()
-
getContactInfoFields
public Set<ContactInfoField> getContactInfoFields()
-
getCurrency
public Currency getCurrency()
- Specified by:
getCurrencyin interfaceHasCurrency
-
getCustomOperations
public Set<MemberProductCustomOperation> getCustomOperations()
-
getDefaultAdPublicationTime
public TimeInterval getDefaultAdPublicationTime()
-
getDefaultCreditLimit
public BigDecimal getDefaultCreditLimit()
-
getDefaultFilterGroups
public Set<BasicGroup> getDefaultFilterGroups()
-
getDefaultPaymentAmountLimit
public BigDecimal getDefaultPaymentAmountLimit()
-
getDefaultPaymentAmountPerDayLimit
public BigDecimal getDefaultPaymentAmountPerDayLimit()
-
getDefaultPaymentAmountPerMonthLimit
public BigDecimal getDefaultPaymentAmountPerMonthLimit()
-
getDefaultPaymentAmountPerWeekLimit
public BigDecimal getDefaultPaymentAmountPerWeekLimit()
-
getDefaultPaymentAmountPerYearLimit
public BigDecimal getDefaultPaymentAmountPerYearLimit()
-
getDefaultUpperCreditLimit
public BigDecimal getDefaultUpperCreditLimit()
-
getFwdMessageToEmail
public MyMessagesForwardOperation getFwdMessageToEmail()
-
getGroupFilterDefault
public GroupFilterDefault getGroupFilterDefault()
-
getGroupsForUserSearch
public Set<BasicGroup> getGroupsForUserSearch()
-
getGroupsForViewProfile
public Set<BasicGroup> getGroupsForViewProfile()
-
getGroupVisibility
public GroupVisibility getGroupVisibility()
-
getIndividualCreditLimit
public BigDecimal getIndividualCreditLimit()
-
getInitialCredit
public BigDecimal getInitialCredit()
The initial credit will behave differently according to whether an existing product is modified or a new one defining initial credit is assigned. In the first case, the initial credit will be paid only after the account is used for the first time, otherwise, if a new product is assigned, the initial credit will be paid immediately. For all cases, if the account was already used (i.e it was created) no initial credit will be paid. This was a side-effect of the lazy accounts improvement.- Returns:
-
getInitialCreditType
public GeneratedTransferType getInitialCreditType()
-
getMakePosPaymentTypes
public Set<PaymentTransferType> getMakePosPaymentTypes()
-
getMaxAdDescriptionSize
public Integer getMaxAdDescriptionSize()
-
getMaxAddressesPerAd
public Integer getMaxAddressesPerAd()
-
getMaxAdImages
public Integer getMaxAdImages()
-
getMaxAdPublicationTime
public TimeInterval getMaxAdPublicationTime()
-
getMaxAds
public Integer getMaxAds()
-
getMaxCategoriesPerAd
public Integer getMaxCategoriesPerAd()
-
getMaxContactInfos
public Integer getMaxContactInfos()
-
getMaxOperators
public Integer getMaxOperators()
- Specified by:
getMaxOperatorsin interfaceIMemberOrBrokerProduct
-
getMyAdFields
public Set<ProductMyAdField> getMyAdFields()
-
getMyApproveTicketPaymentTypes
public Set<PaymentTransferType> getMyApproveTicketPaymentTypes()
-
getMyCreateTicketPaymentTypes
public Set<PaymentTransferType> getMyCreateTicketPaymentTypes()
-
getMyExternalPaymentTypes
public Set<PaymentTransferType> getMyExternalPaymentTypes()
-
getMyPaymentRequestsSendToSystem
public Set<PaymentTransferType> getMyPaymentRequestsSendToSystem()
-
getMyPaymentRequestsSendToUser
public Set<PaymentTransferType> getMyPaymentRequestsSendToUser()
-
getMyPaymentRequestTypes
public Set<PaymentTransferType> getMyPaymentRequestTypes()
-
getMyPaymentTypes
public Set<PaymentTransferType> getMyPaymentTypes()
-
getMyTokenTypes
public Set<ProductMyTokenType> getMyTokenTypes()
-
getMyTransferFilters
public Set<TransferFilter> getMyTransferFilters()
-
getNature
public ProductNature getNature()
-
getNotifications
public Set<UserProductNotification> getNotifications()
- Specified by:
getNotificationsin interfaceIMemberOrBrokerProduct
-
getOperatorProfileFields
public Set<ProductOperatorProfileField> getOperatorProfileFields()
- Specified by:
getOperatorProfileFieldsin interfaceIMemberOrBrokerProduct
-
getReceivePaymentRequestTypes
public Set<PaymentTransferType> getReceivePaymentRequestTypes()
-
getReceivePosPaymentTypes
public Set<PaymentTransferType> getReceivePosPaymentTypes()
-
getSearchUsersOnGroups
public UserGroupAccessibility getSearchUsersOnGroups()
-
getSelfPayments
public Set<PaymentTransferType> getSelfPayments()
-
getSendMessagesToAdmin
public Set<MessageCategory> getSendMessagesToAdmin()
-
getShowAccountInProfile
public AccountProfileVisibility getShowAccountInProfile()
-
getShowActivitiesInProfile
public Set<UserProfileActivity> getShowActivitiesInProfile()
-
getShowBrokers
public BrokerVisibility getShowBrokers()
-
getSystemPayments
public Set<PaymentTransferType> getSystemPayments()
-
getUserAccount
public UserAccountType getUserAccount()
-
getUserPayments
public Set<PaymentTransferType> getUserPayments()
-
getViewProfileOnGroups
public UserGroupAccessibility getViewProfileOnGroups()
-
getVouchers
public Set<ProductMemberVoucher> getVouchers()
-
getWizards
public Set<MemberProductCustomWizard> getWizards()
-
isAdsRequireAuthorization
public boolean isAdsRequireAuthorization()
-
isShowAdExpirationDate
public boolean isShowAdExpirationDate()
-
isShowAdPublicationDate
public boolean isShowAdPublicationDate()
-
isWebShopAdsRequireAuthorization
public boolean isWebShopAdsRequireAuthorization()
-
setAccountAccessibility
public void setAccountAccessibility(AccountAccessibility accountAccessibility)
-
setAccountFees
public void setAccountFees(Set<AccountFee> accountFees)
-
setAccountVisibility
public void setAccountVisibility(AccountVisibility accountVisibility)
-
setActivateUserTokenTypes
public void setActivateUserTokenTypes(Set<TokenPrincipalType> activateUserTokenTypes)
-
setAdsRequireAuthorization
public void setAdsRequireAuthorization(boolean adsRequireAuthorization)
-
setChargebackPaymentTypes
public void setChargebackPaymentTypes(Set<TransferType> chargebackPaymentTypes)
-
setContactInfoFields
public void setContactInfoFields(Set<ContactInfoField> contactInfoFields)
-
setCustomOperations
public void setCustomOperations(Set<MemberProductCustomOperation> customOperations)
-
setDefaultAdPublicationTime
public void setDefaultAdPublicationTime(TimeInterval defaultAdPublicationTime)
-
setDefaultCreditLimit
public void setDefaultCreditLimit(BigDecimal defaultCreditLimit)
-
setDefaultFilterGroups
public void setDefaultFilterGroups(Set<BasicGroup> defaultFilterGroups)
-
setDefaultPaymentAmountLimit
public void setDefaultPaymentAmountLimit(BigDecimal maxPaymentAmountLimit)
-
setDefaultPaymentAmountPerDayLimit
public void setDefaultPaymentAmountPerDayLimit(BigDecimal maxPaymentAmountPerDayLimit)
-
setDefaultPaymentAmountPerMonthLimit
public void setDefaultPaymentAmountPerMonthLimit(BigDecimal maxPaymentAmountPerMonthLimit)
-
setDefaultPaymentAmountPerWeekLimit
public void setDefaultPaymentAmountPerWeekLimit(BigDecimal maxPaymentAmountPerWeekLimit)
-
setDefaultPaymentAmountPerYearLimit
public void setDefaultPaymentAmountPerYearLimit(BigDecimal defaultPaymentAmountPerYearLimit)
-
setDefaultUpperCreditLimit
public void setDefaultUpperCreditLimit(BigDecimal defaultUpperCreditLimit)
-
setFwdMessageToEmail
public void setFwdMessageToEmail(MyMessagesForwardOperation fwdMessageToEmail)
-
setGroupFilterDefault
public void setGroupFilterDefault(GroupFilterDefault groupFilterDefault)
-
setGroupsForUserSearch
public void setGroupsForUserSearch(Set<BasicGroup> groupsForUserSearch)
-
setGroupsForViewProfile
public void setGroupsForViewProfile(Set<BasicGroup> groupsForViewProfile)
-
setGroupVisibility
public void setGroupVisibility(GroupVisibility groupVisibility)
-
setIndividualCreditLimit
public void setIndividualCreditLimit(BigDecimal creditLimit)
-
setInitialCredit
public void setInitialCredit(BigDecimal initialCredit)
-
setInitialCreditType
public void setInitialCreditType(GeneratedTransferType initialCreditType)
-
setMakePosPaymentTypes
public void setMakePosPaymentTypes(Set<PaymentTransferType> makePosPaymentTypes)
-
setMaxAdDescriptionSize
public void setMaxAdDescriptionSize(Integer maxAdDescriptionSize)
-
setMaxAddressesPerAd
public void setMaxAddressesPerAd(Integer maxAddressesPerAd)
-
setMaxAdImages
public void setMaxAdImages(Integer maxAdImages)
-
setMaxAdPublicationTime
public void setMaxAdPublicationTime(TimeInterval maxAdPublicationTime)
-
setMaxAds
public void setMaxAds(Integer maxAds)
-
setMaxCategoriesPerAd
public void setMaxCategoriesPerAd(Integer maxCategoriesPerAd)
-
setMaxContactInfos
public void setMaxContactInfos(Integer maxContactInfos)
-
setMaxOperators
public void setMaxOperators(Integer maxOperators)
- Specified by:
setMaxOperatorsin interfaceIMemberOrBrokerProduct
-
setMyAdFields
public void setMyAdFields(Set<ProductMyAdField> myAdFields)
-
setMyApproveTicketPaymentTypes
public void setMyApproveTicketPaymentTypes(Set<PaymentTransferType> myApproveTicketPaymentTypes)
-
setMyCreateTicketPaymentTypes
public void setMyCreateTicketPaymentTypes(Set<PaymentTransferType> myCreateTicketPaymentTypes)
-
setMyExternalPaymentTypes
public void setMyExternalPaymentTypes(Set<PaymentTransferType> myExternalPaymentTypes)
-
setMyPaymentRequestTypes
public void setMyPaymentRequestTypes(Set<PaymentTransferType> myPaymentRequestTypes)
-
setMyPaymentTypes
public void setMyPaymentTypes(Set<PaymentTransferType> myPaymentTypes)
-
setMyTokenTypes
public void setMyTokenTypes(Set<ProductMyTokenType> myTokenTypes)
-
setMyTransferFilters
public void setMyTransferFilters(Set<TransferFilter> myTransferFilters)
-
setNotifications
public void setNotifications(Set<UserProductNotification> notifications)
- Specified by:
setNotificationsin interfaceIMemberOrBrokerProduct
-
setOperatorProfileFields
public void setOperatorProfileFields(Set<ProductOperatorProfileField> operatorProfileFields)
- Specified by:
setOperatorProfileFieldsin interfaceIMemberOrBrokerProduct
-
setReceivePaymentRequestTypes
public void setReceivePaymentRequestTypes(Set<PaymentTransferType> receivePaymentRequestTypes)
-
setReceivePosPaymentTypes
public void setReceivePosPaymentTypes(Set<PaymentTransferType> receivePosPaymentTypes)
-
setSearchUsersOnGroups
public void setSearchUsersOnGroups(UserGroupAccessibility searchUsersOnGroups)
-
setSendMessagesToAdmin
public void setSendMessagesToAdmin(Set<MessageCategory> sendMessagesToAdmin)
-
setShowAccountInProfile
public void setShowAccountInProfile(AccountProfileVisibility showAccountInProfile)
-
setShowActivitiesInProfile
public void setShowActivitiesInProfile(Set<UserProfileActivity> showActivitiesInProfile)
-
setShowAdExpirationDate
public void setShowAdExpirationDate(Boolean showAdExpirationDate)
-
setShowAdPublicationDate
public void setShowAdPublicationDate(Boolean showAdPublicationDate)
-
setShowBrokers
public void setShowBrokers(BrokerVisibility showBrokers)
-
setUserAccount
public void setUserAccount(UserAccountType userAccount)
-
setUserRegistrationGroups
public void setUserRegistrationGroups(Set<UserGroup> userRegistrationGroups)
-
setViewAdsInOtherCurrencies
public void setViewAdsInOtherCurrencies(Set<Currency> viewAdsInOtherCurrencies)
-
setViewProfileOnGroups
public void setViewProfileOnGroups(UserGroupAccessibility viewProfileOnGroups)
-
setVouchers
public void setVouchers(Set<ProductMemberVoucher> vouchers)
-
setWebShopAdsRequireAuthorization
public void setWebShopAdsRequireAuthorization(boolean webShopAdsRequireAuthorization)
-
setWizards
public void setWizards(Set<MemberProductCustomWizard> wizards)
-
-