Package org.cyclos.impl.users
Class RestrictedOperatorProductAccessor<A extends ProductAccessor>
- java.lang.Object
-
- org.cyclos.impl.users.RestrictedOperatorProductAccessor<A>
-
- All Implemented Interfaces:
ProcessableForProxying,ProductAccessor
- Direct Known Subclasses:
RestrictedOperatorMemberOrBrokerProductAccessor
public class RestrictedOperatorProductAccessor<A extends ProductAccessor> extends Object implements ProductAccessor
AProductAccessorwhich applies restrictions for an operator group
-
-
Field Summary
Fields Modifier and Type Field Description protected Adelegateprotected OperatorGroupgroupprotected Set<Permission>permissions
-
Constructor Summary
Constructors Constructor Description RestrictedOperatorProductAccessor(OperatorGroup group, A delegate, Set<Permission> permissions)
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.cyclos.impl.users.ProductAccessor
getProxyClass
-
-
-
-
Field Detail
-
group
protected final OperatorGroup group
-
delegate
protected final A extends ProductAccessor delegate
-
permissions
protected final Set<Permission> permissions
-
-
Constructor Detail
-
RestrictedOperatorProductAccessor
public RestrictedOperatorProductAccessor(OperatorGroup group, A delegate, Set<Permission> permissions)
-
-
Method Detail
-
getAccessibleUserGroups
public List<BasicGroup> getAccessibleUserGroups()
- Specified by:
getAccessibleUserGroupsin interfaceProductAccessor
-
getAgreements
public List<Agreement> getAgreements()
- Specified by:
getAgreementsin interfaceProductAccessor
-
getDefaultQuickAccess
public List<QuickAccess> getDefaultQuickAccess()
- Specified by:
getDefaultQuickAccessin interfaceProductAccessor
-
getDocumentCategoryView
public List<DocumentCategory> getDocumentCategoryView()
- Specified by:
getDocumentCategoryViewin interfaceProductAccessor
-
getGroupsForUserDirectory
public List<BasicGroup> getGroupsForUserDirectory()
- Specified by:
getGroupsForUserDirectoryin interfaceProductAccessor
-
getMaxAddresses
public int getMaxAddresses()
- Specified by:
getMaxAddressesin interfaceProductAccessor
-
getMaxCustomImages
public int getMaxCustomImages()
- Specified by:
getMaxCustomImagesin interfaceProductAccessor
-
getMaxInvitationRecipients
public int getMaxInvitationRecipients()
- Specified by:
getMaxInvitationRecipientsin interfaceProductAccessor
-
getMaxLandlinePhones
public int getMaxLandlinePhones()
- Specified by:
getMaxLandlinePhonesin interfaceProductAccessor
-
getMaxMessageRecipients
public int getMaxMessageRecipients()
- Specified by:
getMaxMessageRecipientsin interfaceProductAccessor
-
getMaxMobilePhones
public int getMaxMobilePhones()
- Specified by:
getMaxMobilePhonesin interfaceProductAccessor
-
getMaxProfileImages
public int getMaxProfileImages()
- Specified by:
getMaxProfileImagesin interfaceProductAccessor
-
getMaxSmsPerMonth
public int getMaxSmsPerMonth()
- Specified by:
getMaxSmsPerMonthin interfaceProductAccessor
-
getMyAccessClients
public BooleanPropertiesHolder<AccessClientPrincipalType> getMyAccessClients()
- Specified by:
getMyAccessClientsin interfaceProductAccessor
-
getMyContactFields
public BooleanPropertiesHolder<ContactCustomField> getMyContactFields()
- Specified by:
getMyContactFieldsin interfaceProductAccessor
-
getMyProfileFields
public BooleanPropertiesHolder<ProfileField> getMyProfileFields()
- Specified by:
getMyProfileFieldsin interfaceProductAccessor
-
getMyRecordFields
public BooleanPropertiesHolder<RecordCustomField> getMyRecordFields(UserRecordType recordType)
- Specified by:
getMyRecordFieldsin interfaceProductAccessor
-
getMyRecordTypes
public BooleanPropertiesHolder<UserRecordType> getMyRecordTypes()
- Specified by:
getMyRecordTypesin interfaceProductAccessor
-
getPasswordActions
public BooleanPropertiesHolder<PasswordType> getPasswordActions()
- Specified by:
getPasswordActionsin interfaceProductAccessor
-
getPermissions
public List<Permission> getPermissions()
- Specified by:
getPermissionsin interfaceProductAccessor
-
getProducts
public List<Product> getProducts()
- Specified by:
getProductsin interfaceProductAccessor
-
getRoles
public List<Role> getRoles()
- Specified by:
getRolesin interfaceProductAccessor
-
getRunCustomWebServices
public List<CustomWebService> getRunCustomWebServices()
- Specified by:
getRunCustomWebServicesin interfaceProductAccessor
-
getRunTransferCustomOperations
public List<CustomOperation> getRunTransferCustomOperations()
- Specified by:
getRunTransferCustomOperationsin interfaceProductAccessor
-
getSimpleUserSearchProfileFields
public List<ProfileField> getSimpleUserSearchProfileFields()
- Specified by:
getSimpleUserSearchProfileFieldsin interfaceProductAccessor
-
getTransferStatusFlows
public BooleanPropertiesHolder<TransferStatusFlow> getTransferStatusFlows()
- Specified by:
getTransferStatusFlowsin interfaceProductAccessor
-
getUserDirectoryOnGroups
public List<UserGroupAccessibility> getUserDirectoryOnGroups()
- Specified by:
getUserDirectoryOnGroupsin interfaceProductAccessor
-
getUserGroupAccessibility
public List<UserGroupAccessibility> getUserGroupAccessibility()
- Specified by:
getUserGroupAccessibilityin interfaceProductAccessor
-
getUserProfileFields
public BooleanPropertiesHolder<ProfileField> getUserProfileFields()
- Specified by:
getUserProfileFieldsin interfaceProductAccessor
-
getVisibleTransactionFields
public List<TransactionCustomField> getVisibleTransactionFields()
- Specified by:
getVisibleTransactionFieldsin interfaceProductAccessor
-
getVisibleVoucherFields
public List<VoucherCustomField> getVisibleVoucherFields()
- Specified by:
getVisibleVoucherFieldsin interfaceProductAccessor
-
hasPermission
public boolean hasPermission(Permission permission)
- Specified by:
hasPermissionin interfaceProductAccessor
-
hasRole
public boolean hasRole(Role role)
- Specified by:
hasRolein interfaceProductAccessor
-
isEditMyProfile
public boolean isEditMyProfile()
- Specified by:
isEditMyProfilein interfaceProductAccessor
-
-