Package org.cyclos.entities.users
Class Product
-
- All Implemented Interfaces:
Cloneable,Comparable<NamedEntity>,HasNetwork,ProcessableForProxying,DefinesNetwork,IProduct,IEntity,IInternalNamedEntity,INamedEntity
- Direct Known Subclasses:
MemberProduct,UserManagementProduct
@Entity public abstract class Product extends ConfigurationEntity implements DefinesNetwork, IProduct
A Product contains permissions and relationships with other entities, and may be associated toBasicGroups (includingGroups andGroupSets) or individualUsers
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cyclos.entities.SimpleEntity
SimpleEntity.EntityLoadNotifier
-
-
Field Summary
Fields Modifier and Type Field Description protected UserAccountTypeuserAccount
-
Constructor Summary
Constructors Constructor Description Product()
-
Method Summary
-
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.model.IInternalNamedEntity
matches
-
Methods inherited from interface org.cyclos.entities.ProcessableForProxying
getProxyClass
-
-
-
-
Field Detail
-
userAccount
protected UserAccountType userAccount
-
-
Method Detail
-
getAccessibleUserGroups
public Set<BasicGroup> getAccessibleUserGroups()
-
getChannelIds
public String getChannelIds()
-
getDataTranslationType
public DataTranslationType getDataTranslationType()
Description copied from class:BaseEntityIf this entity allows data translation, should return the translation type- Overrides:
getDataTranslationTypein classBaseEntity
-
getDefaultQuickAccess
public Set<ProductQuickAccess> getDefaultQuickAccess()
-
getDocumentCategoryView
public Set<DocumentCategory> getDocumentCategoryView()
-
getGroups
public Set<? extends BasicGroup> getGroups()
-
getGroupsForUserDirectory
public Set<BasicGroup> getGroupsForUserDirectory()
-
getMaxAddresses
public Integer getMaxAddresses()
-
getMaxCustomImages
public Integer getMaxCustomImages()
-
getMaxInvitationRecipients
public Integer getMaxInvitationRecipients()
-
getMaxLandlinePhones
public Integer getMaxLandlinePhones()
-
getMaxMessageRecipients
public Integer getMaxMessageRecipients()
-
getMaxMobilePhones
public Integer getMaxMobilePhones()
-
getMaxProfileImages
public Integer getMaxProfileImages()
-
getMaxSmsPerMonth
public Integer getMaxSmsPerMonth()
-
getMyAccessClients
public Set<ProductMyAccessClient> getMyAccessClients()
-
getMyContactFields
public Set<ProductMyContactField> getMyContactFields()
-
getMyProfileFields
public Set<ProductMyProfileField> getMyProfileFields()
-
getMyRecordTypes
public Set<ProductMyRecordType> getMyRecordTypes()
-
getNature
public abstract ProductNature getNature()
-
getNetwork
public Network getNetwork()
Description copied from interface:HasNetworkReturns the network this entity belongs to- Specified by:
getNetworkin interfaceHasNetwork
-
getPasswordActions
public Set<MyProductPasswordAction> getPasswordActions()
-
getPermissions
public Set<Permission> getPermissions()
-
getPrincipalTypeIds
public String getPrincipalTypeIds()
-
getPrincipalTypes
public Set<PrincipalType> getPrincipalTypes()
-
getRunCustomWebServices
public Set<CustomWebService> getRunCustomWebServices()
-
getRunTransferCustomOperations
public Set<CustomOperation> getRunTransferCustomOperations()
-
getSimpleUserSearchProfileFields
public Set<ProfileField> getSimpleUserSearchProfileFields()
-
getTransferStatusFlows
public Set<ProductTransferStatusFlow> getTransferStatusFlows()
-
getUserDirectoryOnGroups
public UserGroupAccessibility getUserDirectoryOnGroups()
-
getUserGroupAccessibility
public UserGroupAccessibility getUserGroupAccessibility()
-
getUserProfileFields
public Set<ProductUserProfileField> getUserProfileFields()
-
getVisibleTransactionFields
public Set<TransactionCustomField> getVisibleTransactionFields()
-
getVisibleVoucherFields
public Set<VoucherCustomField> getVisibleVoucherFields()
-
setAccessibleUserGroups
public void setAccessibleUserGroups(Set<BasicGroup> accessibleUserGroups)
-
setChannelIds
public void setChannelIds(String channelIds)
-
setDefaultQuickAccess
public void setDefaultQuickAccess(Set<ProductQuickAccess> defaultQuickAccess)
-
setDocumentCategoryView
public void setDocumentCategoryView(Set<DocumentCategory> documentCategoryView)
-
setGroups
public void setGroups(Set<? extends BasicGroup> groups)
-
setGroupsForUserDirectory
public void setGroupsForUserDirectory(Set<BasicGroup> groupsForUserDirectory)
-
setMaxAddresses
public void setMaxAddresses(Integer maxAddresses)
-
setMaxCustomImages
public void setMaxCustomImages(Integer maxCustomImages)
-
setMaxInvitationRecipients
public void setMaxInvitationRecipients(Integer maxInvitationRecipients)
-
setMaxLandlinePhones
public void setMaxLandlinePhones(Integer maxLandlinePhones)
-
setMaxMessageRecipients
public void setMaxMessageRecipients(Integer maxMessageRecipients)
-
setMaxMobilePhones
public void setMaxMobilePhones(Integer maxMobilePhones)
-
setMaxProfileImages
public void setMaxProfileImages(Integer maxProfileImages)
-
setMaxSmsPerMonth
public void setMaxSmsPerMonth(Integer maxSmsPerMonth)
-
setMyAccessClients
public void setMyAccessClients(Set<ProductMyAccessClient> myAccessClients)
-
setMyContactFields
public void setMyContactFields(Set<ProductMyContactField> myContactFields)
-
setMyProfileFields
public void setMyProfileFields(Set<ProductMyProfileField> myProfileFields)
-
setMyRecordTypes
public void setMyRecordTypes(Set<ProductMyRecordType> myRecordTypes)
-
setNetwork
public void setNetwork(Network network)
- Specified by:
setNetworkin interfaceDefinesNetwork
-
setPasswordActions
public void setPasswordActions(Set<MyProductPasswordAction> passwordActions)
-
setPrincipalTypeIds
public void setPrincipalTypeIds(String principalTypeIds)
-
setPrincipalTypes
public void setPrincipalTypes(Set<PrincipalType> principalTypes)
-
setRunCustomWebServices
public void setRunCustomWebServices(Set<CustomWebService> runCustomWebServices)
-
setRunTransferCustomOperations
public void setRunTransferCustomOperations(Set<CustomOperation> runTransferCustomOperations)
-
setSimpleUserSearchProfileFields
public void setSimpleUserSearchProfileFields(Set<ProfileField> profileFields)
-
setTransferStatusFlows
public void setTransferStatusFlows(Set<ProductTransferStatusFlow> transferStatusFlows)
-
setUserDirectoryOnGroups
public void setUserDirectoryOnGroups(UserGroupAccessibility userDirectoryOnGroups)
-
setUserGroupAccessibility
public void setUserGroupAccessibility(UserGroupAccessibility userGroupAccessibility)
-
setUserProfileFields
public void setUserProfileFields(Set<ProductUserProfileField> userProfileFields)
-
setVisibleTransactionFields
public void setVisibleTransactionFields(Set<TransactionCustomField> visibleTransactionFields)
-
setVisibleVoucherFields
public void setVisibleVoucherFields(Set<VoucherCustomField> visibleVoucherFields)
-
filterPaymentTypes
protected Set<PaymentTransferType> filterPaymentTypes(Collection<PaymentTransferType> paymentTypes, TransferTypeDirection direction)
-
-