Package com.axemble.vdoc.sdk.impl
Class PortalSecurityController
java.lang.Object
com.axemble.vdoc.sdk.impl.AbstractElement
com.axemble.vdoc.sdk.impl.PortalSecurityController
- All Implemented Interfaces:
IController
,ISecurityController
,Serializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.axemble.vdoc.sdk.interfaces.ISecurityController
ISecurityController.IPermissionFlag, ISecurityController.IPermissionFlags, ISecurityController.IPermissionLevel, ISecurityController.IPermissionLevels, ISecurityController.IScopeFilters
-
Field Summary
Fields inherited from class com.axemble.vdoc.sdk.impl.AbstractElement
module
Fields inherited from interface com.axemble.vdoc.sdk.interfaces.ISecurityController
ADMINISTRATOR, ANONYMOUS, EVERYONE
-
Constructor Summary
ModifierConstructorDescriptionprotected
PortalSecurityController
(IModule module, ISecuritySupport securitySupport) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addPermission
(int joker, int permissionLevel) Adds a special permissionvoid
addPermission
(int joker, int permissionLevel, int... flags) Adds a special permissionvoid
addPermission
(int joker, int permissionLevel, int organizationFilter, IOrganization organization, int localizationFilter, ILocalization localization) Adds a special permission and allows to specify localization and organization scopes.void
addPermission
(int joker, int permissionLevel, int organizationFilter, IOrganization organization, int localizationFilter, ILocalization localization, int... flags) Adds a special permission and allows to specify localization and organization scopes.void
addPermission
(int joker, IResourceDefinition storageDefinition, int permissionLevel, int... flags) Adds a special permissionvoid
addPermission
(int joker, IResourceDefinition storageDefinition, int permissionLevel, int organizationFilter, IOrganization organization, int localizationFilter, ILocalization localization, int... flags) Adds a special permissionvoid
addPermission
(int joker, Class<? extends ISecuritySupport> securityType, int permissionLevel, int... flags) Adds a special permissionvoid
addPermission
(int joker, Class<? extends ISecuritySupport> securityType, int permissionLevel, int organizationFilter, IOrganization organization, int localizationFilter, ILocalization localization, int... flags) Adds a special permissionvoid
addPermission
(int joker, Object right) Add a permission on a joker.void
addPermission
(IGroup group, int permissionLevel) Adds access permissions to a groupvoid
addPermission
(IGroup group, int permissionLevel, int... flags) Adds access permissions to a groupvoid
addPermission
(IGroup group, int permissionLevel, int organizationFilter, IOrganization organization, int localizationFilter, ILocalization localization) Adds access permissions to a group and allows to specify localization and organization scopes.void
addPermission
(IGroup group, int permissionLevel, int organizationFilter, IOrganization organization, int localizationFilter, ILocalization localization, int... flags) Adds access permissions to a group and allows to specify localization and organization scopes.void
addPermission
(IGroup group, IResourceDefinition storageDefinition, int permissionLevel, int... flags) Adds access permissions to a groupvoid
addPermission
(IGroup group, IResourceDefinition storageDefinition, int permissionLevel, int organizationFilter, IOrganization organization, int localizationFilter, ILocalization localization, int... flags) Adds access permissions to a group and allows to specify localization and organization scopes.void
addPermission
(IGroup group, Class<? extends ISecuritySupport> securityType, int permissionLevel, int... flags) Adds access permissions to a groupvoid
addPermission
(IGroup group, Class<? extends ISecuritySupport> securityType, int permissionLevel, int organizationFilter, IOrganization organization, int localizationFilter, ILocalization localization, int... flags) Adds access permissions to a group and allows to specify localization and organization scopes.void
addPermission
(IGroup group, Object right) Add a permission on a group.void
addPermission
(IProfile profile, int permissionLevel) Adds access permissions to a profile.void
addPermission
(IProfile profile, int permissionLevel, int... flags) Adds access permissions to a profile.void
addPermission
(IProfile profile, int permissionLevel, int organizationFilter, IOrganization organization, int localizationFilter, ILocalization localization) Adds access permissions to a profile and allows to specify localization and organization scopes.void
addPermission
(IProfile profile, int permissionLevel, int organizationFilter, IOrganization organization, int localizationFilter, ILocalization localization, int... flags) Adds access permissions to a profile and allows to specify localization and organization scopes.void
addPermission
(IProfile profile, IResourceDefinition storageDefinition, int permissionLevel, int... flags) Adds access permissions to a profilevoid
addPermission
(IProfile profile, IResourceDefinition storageDefinition, int permissionLevel, int organizationFilter, IOrganization organization, int localizationFilter, ILocalization localization, int... flags) Adds access permissions to a profile and allows to specify localization and organization scopes.void
addPermission
(IProfile profile, Class<? extends ISecuritySupport> securityType, int permissionLevel, int... flags) Adds access permissions to a profilevoid
addPermission
(IProfile profile, Class<? extends ISecuritySupport> securityType, int permissionLevel, int organizationFilter, IOrganization organization, int localizationFilter, ILocalization localization, int... flags) Adds access permissions to a profile and allows to specify localization and organization scopes.void
addPermission
(IRole role, int permissionLevel) Deprecated.void
addPermission
(IRole role, int permissionLevel, int... flags) Deprecated.void
addPermission
(IRole role, Class<? extends ISecuritySupport> securityType, int permissionLevel, int... flags) Adds access permissions to a role.void
addPermission
(IRole role, Object right) Add a permission on a role.void
addPermission
(IUser user, int permissionLevel) Adds access permissions to a user for aISecuritySupport
object.void
addPermission
(IUser user, int permissionLevel, int... flags) Adds access permissions to a user for aISecuritySupport
object.void
addPermission
(IUser user, int permissionLevel, int organizationFilter, IOrganization organization, int localizationFilter, ILocalization localization) Adds access permissions to a user for aISecuritySupport
object and allows to specify localization and organization scopes.void
addPermission
(IUser user, int permissionLevel, int organizationFilter, IOrganization organization, int localizationFilter, ILocalization localization, int... flags) Adds access permissions to a user for aISecuritySupport
object and allows to specify localization and organization scopes.void
addPermission
(IUser user, IResourceDefinition storageDefinition, int permissionLevel, int... flags) Adds access permissions to a user for aISecuritySupport
object.void
addPermission
(IUser user, IResourceDefinition storageDefinition, int permissionLevel, int organizationFilter, IOrganization organization, int localizationFilter, ILocalization localization, int... flags) Adds access permissions to a user for aISecuritySupport
object and allows to specify localization and organization scopes.void
addPermission
(IUser user, Class<? extends ISecuritySupport> securityType, int permissionLevel, int... flags) Adds access permissions to a user for aISecuritySupport
objectvoid
addPermission
(IUser user, Class<? extends ISecuritySupport> securityType, int permissionLevel, int organizationFilter, IOrganization organization, int localizationFilter, ILocalization localization, int... flags) Adds access permissions to a user for aISecuritySupport
object and allows to specify localization and organization scopes.void
addPermission
(IUser user, Object right) Add a permission on a user.void
addPermission
(Collection trustees, Object right) Add a permission on a collection of trustees.void
breakInheritance
(int joker, Object right) Break inheritance on a jokervoid
breakInheritance
(Class<? extends ISecuritySupport> securityType) Break inheritance for this type for the specified security typeboolean
checkPermission
(int joker, Object right) Checks a permission for a joker.boolean
checkPermission
(IGroup group, Object right) Checks a permission for a group.boolean
checkPermission
(IGroup group, Object right, boolean recursive) Checks a permission for a group recursively.boolean
checkPermission
(IRole role, Object right) Checks a permission for a role.boolean
checkPermission
(IRole role, Object right, boolean recursive) Checks a permission for a role recursively.boolean
checkPermission
(IUser user, int permissionLevel) Check the user permissionboolean
checkPermission
(IUser user, int permissionLevel, int... flags) Check the user permissionboolean
checkPermission
(IUser user, Class<? extends ISecuritySupport> securityType, int permissionLevel, int... flags) Check the user permissionboolean
checkPermission
(IUser user, Object right) Checks a permission for a user.boolean
checkPermission
(IUser user, Object right, boolean recursive) Checks a permission for a user recursively.boolean
checkPermission
(Collection trustees, Object right) Checks a permission for a collection of trustees.boolean
hasPermission
(int joker, int permissionLevel, int... flags) Check the special permission on a specific object (no recursivity)boolean
hasPermission
(int joker, IResourceDefinition storageDefinition, int permissionLevel, int... flags) Check the special permission on a specific object (no recursivity)boolean
hasPermission
(int joker, Class<? extends ISecuritySupport> securityType, int permissionLevel, int... flags) Check the special permission on a specific object (no recursivity)boolean
hasPermission
(IGroup group, int permissionLevel, int... flags) Check the group permission on a specific object (no recursivity)boolean
hasPermission
(IGroup group, IResourceDefinition storageDefinition, int permissionLevel, int... flags) Check the group permission on a specific object (no recursivity)boolean
hasPermission
(IGroup group, Class<? extends ISecuritySupport> securityType, int permissionLevel, int... flags) Check the group permission on a specific object (no recursivity)boolean
hasPermission
(IProfile profile, int permissionLevel, int... flags) Check the profile permission on a specific object (no recursivity)boolean
hasPermission
(IProfile profile, IResourceDefinition storageDefinition, int permissionLevel, int... flags) Check the profile permission on a specific object (no recursivity)boolean
hasPermission
(IProfile profile, Class<? extends ISecuritySupport> securityType, int permissionLevel, int... flags) Check the profile permission on a specific object (no recursivity)boolean
hasPermission
(IUser user, int permissionLevel, int... flags) Check the user permission on a specific object (no recursivity)boolean
hasPermission
(IUser user, IResourceDefinition storageDefinition, int permissionLevel, int... flags) Check the user permission on a specific object (no recursivity)boolean
hasPermission
(IUser user, Class<? extends ISecuritySupport> securityType, int permissionLevel, int... flags) Check the user permission on a specific object (no recursivity)void
removePermission
(int joker) Remove a special permissionvoid
removePermission
(int joker, int organizationFilter, IOrganization organization, int localizationFilter, ILocalization localization) Remove a permissionvoid
removePermission
(int joker, IResourceDefinition storageDefinition) Remove a special permissionvoid
removePermission
(int joker, IResourceDefinition storageDefinition, int organizationFilter, IOrganization organization, int localizationFilter, ILocalization localization) Remove a special permissionvoid
removePermission
(int joker, Class<? extends ISecuritySupport> securityType) Remove a special permissionvoid
removePermission
(int joker, Class<? extends ISecuritySupport> securityType, int organizationFilter, IOrganization organization, int localizationFilter, ILocalization localization) Remove a special permissionvoid
removePermission
(int joker, Object right) Remove a permission on a joker.void
removePermission
(IGroup group) Remove a permission on a groupvoid
removePermission
(IGroup group, int organizationFilter, IOrganization organization, int localizationFilter, ILocalization localization) Remove a permission on a groupvoid
removePermission
(IGroup group, IResourceDefinition storageDefinition) Remove a permission on a groupvoid
removePermission
(IGroup group, IResourceDefinition storageDefinition, int organizationFilter, IOrganization organization, int localizationFilter, ILocalization localization) Remove a permission on a groupvoid
removePermission
(IGroup group, Class<? extends ISecuritySupport> securityType) Remove a permission on a groupvoid
removePermission
(IGroup group, Class<? extends ISecuritySupport> securityType, int organizationFilter, IOrganization organization, int localizationFilter, ILocalization localization) Remove a permission on a groupvoid
removePermission
(IGroup group, Object right) Remove a permission on a group.void
removePermission
(IProfile profile) Remove a permission on a profile.void
removePermission
(IProfile profile, int organizationFilter, IOrganization organization, int localizationFilter, ILocalization localization) Remove a permission on a profilevoid
removePermission
(IProfile profile, IResourceDefinition storageDefinition) Remove a permission on a profilevoid
removePermission
(IProfile profile, IResourceDefinition storageDefinition, int organizationFilter, IOrganization organization, int localizationFilter, ILocalization localization) Remove a permission on a profilevoid
removePermission
(IProfile profile, Class<? extends ISecuritySupport> securityType) Remove a permission on a profilevoid
removePermission
(IProfile profile, Class<? extends ISecuritySupport> securityType, int organizationFilter, IOrganization organization, int localizationFilter, ILocalization localization) Remove a permission on a profilevoid
removePermission
(IRole role) Deprecated.void
removePermission
(IRole role, Class<? extends ISecuritySupport> securityType) Deprecated.void
removePermission
(IRole role, Object right) Remove a permission on a role.void
removePermission
(IUser user) Remove a permission on a uservoid
removePermission
(IUser user, int organizationFilter, IOrganization organization, int localizationFilter, ILocalization localization) Remove a permission on a uservoid
removePermission
(IUser user, IResourceDefinition storageDefinition) Remove a permission on a uservoid
removePermission
(IUser user, IResourceDefinition storageDefinition, int organizationFilter, IOrganization organization, int localizationFilter, ILocalization localization) Remove a permission on a uservoid
removePermission
(IUser user, Class<? extends ISecuritySupport> securityType) Remove a permission on a uservoid
removePermission
(IUser user, Class<? extends ISecuritySupport> securityType, int organizationFilter, IOrganization organization, int localizationFilter, ILocalization localization) Remove a permission on a uservoid
removePermission
(IUser user, Object right) Remove a permission on a user.void
removePermission
(Collection trustees, Object right) Remove a permission on a collection of trustees.void
Remove all permissions on this object (restore default permissions)void
removePermissions
(int joker) Remove all permissions on a joker.void
removePermissions
(IGroup group) Remove all permissions on a groupvoid
removePermissions
(IProfile profile) Remove all permissions on a profilevoid
removePermissions
(IUser user) Remove all permissions on a userMethods inherited from class com.axemble.vdoc.sdk.impl.AbstractElement
getModule
-
Field Details
-
securableElement
-
-
Constructor Details
-
PortalSecurityController
-
-
Method Details
-
addPermission
Description copied from interface:ISecurityController
Add a permission on a user.- Specified by:
addPermission
in interfaceISecurityController
- Parameters:
user
-right
-
-
addPermission
Description copied from interface:ISecurityController
Add a permission on a group.- Specified by:
addPermission
in interfaceISecurityController
- Parameters:
group
-right
-
-
addPermission
Description copied from interface:ISecurityController
Add a permission on a role.- Specified by:
addPermission
in interfaceISecurityController
- Parameters:
role
-right
-
-
addPermission
Description copied from interface:ISecurityController
Add a permission on a joker.- Specified by:
addPermission
in interfaceISecurityController
- Parameters:
joker
-right
-
-
addPermission
Description copied from interface:ISecurityController
Add a permission on a collection of trustees.- Specified by:
addPermission
in interfaceISecurityController
- Parameters:
trustees
-right
-
-
checkPermission
Description copied from interface:ISecurityController
Checks a permission for a user.- Specified by:
checkPermission
in interfaceISecurityController
- Parameters:
user
-right
-- Returns:
- Returns true if the permission is available, false otherwise.
-
checkPermission
Description copied from interface:ISecurityController
Checks a permission for a group.- Specified by:
checkPermission
in interfaceISecurityController
- Parameters:
group
-right
-- Returns:
- Returns true if the permission is available, false otherwise.
-
checkPermission
Description copied from interface:ISecurityController
Checks a permission for a role.- Specified by:
checkPermission
in interfaceISecurityController
- Parameters:
role
-right
-- Returns:
- Returns true if the permission is available, false otherwise.
-
checkPermission
Description copied from interface:ISecurityController
Checks a permission for a joker.- Specified by:
checkPermission
in interfaceISecurityController
- Parameters:
joker
-right
-- Returns:
- Returns true if the permission is available, false otherwise.
-
checkPermission
Description copied from interface:ISecurityController
Checks a permission for a collection of trustees.- Specified by:
checkPermission
in interfaceISecurityController
- Parameters:
trustees
-right
-- Returns:
- Returns true if the permission is available, false otherwise.
-
removePermission
Description copied from interface:ISecurityController
Remove a permission on a user.- Specified by:
removePermission
in interfaceISecurityController
- Parameters:
user
-right
-
-
removePermission
Description copied from interface:ISecurityController
Remove a permission on a group.- Specified by:
removePermission
in interfaceISecurityController
- Parameters:
group
-right
-
-
removePermission
Description copied from interface:ISecurityController
Remove a permission on a role.- Specified by:
removePermission
in interfaceISecurityController
- Parameters:
role
-right
-
-
removePermission
Description copied from interface:ISecurityController
Remove a permission on a joker.- Specified by:
removePermission
in interfaceISecurityController
- Parameters:
joker
-right
-
-
removePermission
Description copied from interface:ISecurityController
Remove a permission on a collection of trustees.- Specified by:
removePermission
in interfaceISecurityController
- Parameters:
trustees
-right
-
-
removePermissions
public void removePermissions()Description copied from interface:ISecurityController
Remove all permissions on this object (restore default permissions)- Specified by:
removePermissions
in interfaceISecurityController
-
breakInheritance
Description copied from interface:ISecurityController
Break inheritance on a joker- Specified by:
breakInheritance
in interfaceISecurityController
- Parameters:
joker
-right
-
-
checkPermission
Description copied from interface:ISecurityController
Checks a permission for a user recursively.- Specified by:
checkPermission
in interfaceISecurityController
- Parameters:
user
-right
-recursive
-- Returns:
- Returns true if the permission is available, false otherwise.
-
checkPermission
Description copied from interface:ISecurityController
Checks a permission for a group recursively.- Specified by:
checkPermission
in interfaceISecurityController
- Parameters:
group
-right
-recursive
-- Returns:
- Returns true if the permission is available, false otherwise.
-
checkPermission
Description copied from interface:ISecurityController
Checks a permission for a role recursively.- Specified by:
checkPermission
in interfaceISecurityController
- Parameters:
role
-right
-recursive
-- Returns:
- Returns true if the permission is available, false otherwise.
-
addPermission
public void addPermission(IGroup group, Class<? extends ISecuritySupport> securityType, int permissionLevel, int... flags) Description copied from interface:ISecurityController
Adds access permissions to a group- Specified by:
addPermission
in interfaceISecurityController
- Parameters:
group
- TheIGroup
object to add permission.securityType
- the type of children objectspermissionLevel
- TheISecurityController.IPermissionLevels
object to check upon.flags
- the additional flags
-
addPermission
Description copied from interface:ISecurityController
Adds access permissions to a group- Specified by:
addPermission
in interfaceISecurityController
- Parameters:
group
- TheIGroup
object to add permission.permissionLevel
- TheISecurityController.IPermissionLevels
object to check upon.flags
- the additional flags
-
addPermission
public void addPermission(int joker, Class<? extends ISecuritySupport> securityType, int permissionLevel, int... flags) Description copied from interface:ISecurityController
Adds a special permission- Specified by:
addPermission
in interfaceISecurityController
- Parameters:
joker
- the specific users type (ANONMYMOUS/EVERYONE)securityType
- the type of children objectspermissionLevel
- TheISecurityController.IPermissionLevels
object to check upon.flags
- the additional flags
-
addPermission
public void addPermission(int joker, int permissionLevel, int... flags) Description copied from interface:ISecurityController
Adds a special permission- Specified by:
addPermission
in interfaceISecurityController
- Parameters:
joker
- the specific users type (ANONMYMOUS/EVERYONE)permissionLevel
- TheISecurityController.IPermissionLevels
object to check upon.flags
- the additional flags
-
addPermission
public void addPermission(IRole role, Class<? extends ISecuritySupport> securityType, int permissionLevel, int... flags) Description copied from interface:ISecurityController
Adds access permissions to a role.- Specified by:
addPermission
in interfaceISecurityController
- Parameters:
role
- TheIRole
object to add permission to.securityType
- the type of children objectspermissionLevel
- TheISecurityController.IPermissionLevels
object to check upon.flags
- the additional flags
-
addPermission
public void addPermission(IProfile profile, Class<? extends ISecuritySupport> securityType, int permissionLevel, int... flags) Description copied from interface:ISecurityController
Adds access permissions to a profile- Specified by:
addPermission
in interfaceISecurityController
- Parameters:
profile
- TheIProfile
object to add permission to.securityType
- the type of children objectspermissionLevel
- TheISecurityController.IPermissionLevels
object to check upon.flags
- the additional flags
-
addPermission
Deprecated.Description copied from interface:ISecurityController
Adds access permissions to a role.- Specified by:
addPermission
in interfaceISecurityController
- Parameters:
role
- theIRole
object to add permission to.permissionLevel
- TheISecurityController.IPermissionLevels
object to check upon.flags
- The additional flags.
-
addPermission
Description copied from interface:ISecurityController
Adds access permissions to a profile.- Specified by:
addPermission
in interfaceISecurityController
- Parameters:
profile
- theIProfile
object to add permission to.permissionLevel
- TheISecurityController.IPermissionLevels
object to check upon.flags
- The additional flags.
-
addPermission
public void addPermission(IUser user, Class<? extends ISecuritySupport> securityType, int permissionLevel, int... flags) Description copied from interface:ISecurityController
Adds access permissions to a user for aISecuritySupport
object- Specified by:
addPermission
in interfaceISecurityController
- Parameters:
user
- TheIUser
object to add permission.securityType
- the type of children objectspermissionLevel
- TheISecurityController.IPermissionLevels
object to check upon.flags
- the additional flags
-
addPermission
Description copied from interface:ISecurityController
Adds access permissions to a user for aISecuritySupport
object.- Specified by:
addPermission
in interfaceISecurityController
- Parameters:
user
- TheIUser
object to add permission.permissionLevel
- TheISecurityController.IPermissionLevels
object to check upon.flags
- the additional flags
-
breakInheritance
Description copied from interface:ISecurityController
Break inheritance for this type for the specified security type- Specified by:
breakInheritance
in interfaceISecurityController
- Parameters:
securityType
- the type of children objects that must be broken
-
checkPermission
public boolean checkPermission(IUser user, Class<? extends ISecuritySupport> securityType, int permissionLevel, int... flags) Description copied from interface:ISecurityController
Check the user permission- Specified by:
checkPermission
in interfaceISecurityController
- Parameters:
user
- TheIUser
object to check upon.securityType
- the type of children objectspermissionLevel
- TheISecurityController.IPermissionLevels
object to check upon.flags
- the additional flag needed- Returns:
- true if the user has permission to access the object
-
checkPermission
Description copied from interface:ISecurityController
Check the user permission- Specified by:
checkPermission
in interfaceISecurityController
- Parameters:
user
- TheIUser
object to check upon.permissionLevel
- TheISecurityController.IPermissionLevels
object to check upon.flags
- the additional flag needed- Returns:
- true if the user has permission to access the object
-
hasPermission
public boolean hasPermission(IGroup group, Class<? extends ISecuritySupport> securityType, int permissionLevel, int... flags) Description copied from interface:ISecurityController
Check the group permission on a specific object (no recursivity)- Specified by:
hasPermission
in interfaceISecurityController
- Parameters:
group
- TheIGroup
object to check upon.securityType
- the type of children objectspermissionLevel
- TheISecurityController.IPermissionLevels
object to check upon.flags
- the additional flag needed- Returns:
- true if the user has permission to access the object
-
hasPermission
Description copied from interface:ISecurityController
Check the group permission on a specific object (no recursivity)- Specified by:
hasPermission
in interfaceISecurityController
- Parameters:
group
- TheIGroup
object to check upon.permissionLevel
- TheISecurityController.IPermissionLevels
object to check upon.flags
- the additional flag needed- Returns:
- true if the user has permission to access the object
-
hasPermission
public boolean hasPermission(int joker, Class<? extends ISecuritySupport> securityType, int permissionLevel, int... flags) Description copied from interface:ISecurityController
Check the special permission on a specific object (no recursivity)- Specified by:
hasPermission
in interfaceISecurityController
- Parameters:
joker
- the specific users type (ANONMYMOUS/EVERYONE)securityType
- the type of children objectspermissionLevel
- TheISecurityController.IPermissionLevels
object to check upon.flags
- the additional flag needed- Returns:
- true if the user has permission to access the object
-
hasPermission
public boolean hasPermission(int joker, int permissionLevel, int... flags) Description copied from interface:ISecurityController
Check the special permission on a specific object (no recursivity)- Specified by:
hasPermission
in interfaceISecurityController
- Parameters:
joker
- the specific users type (ANONMYMOUS/EVERYONE)permissionLevel
- TheISecurityController.IPermissionLevels
object to check upon.flags
- the additional flag needed- Returns:
- true if the user has permission to access the object
-
hasPermission
public boolean hasPermission(IProfile profile, Class<? extends ISecuritySupport> securityType, int permissionLevel, int... flags) Description copied from interface:ISecurityController
Check the profile permission on a specific object (no recursivity)- Specified by:
hasPermission
in interfaceISecurityController
- Parameters:
profile
- TheIProfile
object to check upon.securityType
- the type of children objectspermissionLevel
- TheISecurityController.IPermissionLevels
object to check upon.flags
- the additional flag needed- Returns:
- true if the user has permission to access the object
-
hasPermission
Description copied from interface:ISecurityController
Check the profile permission on a specific object (no recursivity)- Specified by:
hasPermission
in interfaceISecurityController
- Parameters:
profile
- TheIProfile
object to check upon.permissionLevel
- TheISecurityController.IPermissionLevels
object to check upon.flags
- the additional flag needed- Returns:
- true if the user has permission to access the object
-
hasPermission
public boolean hasPermission(IUser user, Class<? extends ISecuritySupport> securityType, int permissionLevel, int... flags) Description copied from interface:ISecurityController
Check the user permission on a specific object (no recursivity)- Specified by:
hasPermission
in interfaceISecurityController
- Parameters:
user
- TheIUser
object to check upon.securityType
- the type of children objectspermissionLevel
- TheISecurityController.IPermissionLevels
object to check upon.flags
- the additional flag needed- Returns:
- true if the user has permission to access the object
-
hasPermission
Description copied from interface:ISecurityController
Check the user permission on a specific object (no recursivity)- Specified by:
hasPermission
in interfaceISecurityController
- Parameters:
user
- TheIUser
object to check upon.permissionLevel
- TheISecurityController.IPermissionLevels
object to check upon.flags
- the additional flag needed- Returns:
- true if the user has permission to access the object
-
removePermission
Description copied from interface:ISecurityController
Remove a permission on a group- Specified by:
removePermission
in interfaceISecurityController
- Parameters:
group
- TheIGroup
object to remove permission.securityType
- the type of children objects
-
removePermission
Description copied from interface:ISecurityController
Remove a permission on a group- Specified by:
removePermission
in interfaceISecurityController
- Parameters:
group
- TheIGroup
object to remove permission.
-
removePermission
Description copied from interface:ISecurityController
Remove a special permission- Specified by:
removePermission
in interfaceISecurityController
- Parameters:
joker
- the specific users type (ANONMYMOUS/EVERYONE)securityType
- the type of children objects
-
removePermission
public void removePermission(int joker) Description copied from interface:ISecurityController
Remove a special permission- Specified by:
removePermission
in interfaceISecurityController
- Parameters:
joker
- the specific users type (ANONMYMOUS/EVERYONE)
-
removePermission
@Deprecated public void removePermission(IRole role, Class<? extends ISecuritySupport> securityType) Deprecated.Description copied from interface:ISecurityController
Remove a permission on a role- Specified by:
removePermission
in interfaceISecurityController
- Parameters:
role
- TheIRole
object to remove permission.securityType
- the type of children objects
-
removePermission
Description copied from interface:ISecurityController
Remove a permission on a profile- Specified by:
removePermission
in interfaceISecurityController
- Parameters:
profile
- TheIProfile
object to remove permission.securityType
- the type of children objects
-
removePermission
Deprecated.Description copied from interface:ISecurityController
Remove a permission on a role- Specified by:
removePermission
in interfaceISecurityController
- Parameters:
role
- TheIRole
object to remove permission.
-
removePermission
Description copied from interface:ISecurityController
Remove a permission on a profile.- Specified by:
removePermission
in interfaceISecurityController
- Parameters:
profile
- TheIProfile
object to remove permission.
-
removePermission
Description copied from interface:ISecurityController
Remove a permission on a user- Specified by:
removePermission
in interfaceISecurityController
- Parameters:
user
- TheIUser
object to remove permission.securityType
- the type of children objects
-
removePermission
Description copied from interface:ISecurityController
Remove a permission on a user- Specified by:
removePermission
in interfaceISecurityController
- Parameters:
user
- TheIUser
object to remove permission.
-
addPermission
Description copied from interface:ISecurityController
Adds access permissions to a group- Specified by:
addPermission
in interfaceISecurityController
- Parameters:
group
- TheIGroup
object to add permission.permissionLevel
- TheISecurityController.IPermissionLevels
object to check upon.
-
addPermission
public void addPermission(int joker, int permissionLevel) Description copied from interface:ISecurityController
Adds a special permission- Specified by:
addPermission
in interfaceISecurityController
- Parameters:
joker
- the specific users type (ANONMYMOUS/EVERYONE)permissionLevel
- TheISecurityController.IPermissionLevels
object to check upon.
-
addPermission
Deprecated.Description copied from interface:ISecurityController
Adds access permissions to a role.- Specified by:
addPermission
in interfaceISecurityController
- Parameters:
role
- TheIRole
object to add permission to.permissionLevel
- TheISecurityController.IPermissionLevels
object to check upon.
-
addPermission
Description copied from interface:ISecurityController
Adds access permissions to a profile.- Specified by:
addPermission
in interfaceISecurityController
- Parameters:
profile
- TheIProfile
object to add permission to.permissionLevel
- TheISecurityController.IPermissionLevels
object to check upon.
-
addPermission
Description copied from interface:ISecurityController
Adds access permissions to a user for aISecuritySupport
object.- Specified by:
addPermission
in interfaceISecurityController
- Parameters:
user
- TheIUser
object to add permission.permissionLevel
- TheISecurityController.IPermissionLevels
object to check upon.
-
checkPermission
Description copied from interface:ISecurityController
Check the user permission- Specified by:
checkPermission
in interfaceISecurityController
- Parameters:
user
- TheIUser
object to check upon.permissionLevel
- TheISecurityController.IPermissionLevels
object to check upon.- Returns:
- true if the user has permission to access the object
-
addPermission
public void addPermission(IUser user, int permissionLevel, int organizationFilter, IOrganization organization, int localizationFilter, ILocalization localization) Description copied from interface:ISecurityController
Adds access permissions to a user for aISecuritySupport
object and allows to specify localization and organization scopes.- Specified by:
addPermission
in interfaceISecurityController
- Parameters:
user
- TheIUser
object to add permission.permissionLevel
- TheISecurityController.IPermissionLevels
object to check upon.organizationFilter
- A value ofISecurityController.IScopeFilters
for the organization filter.organization
- TheIOrganization
object.localizationFilter
- A value ofISecurityController.IScopeFilters
for the localization filter.localization
- TheILocalization
object.
-
addPermission
public void addPermission(IUser user, int permissionLevel, int organizationFilter, IOrganization organization, int localizationFilter, ILocalization localization, int... flags) Description copied from interface:ISecurityController
Adds access permissions to a user for aISecuritySupport
object and allows to specify localization and organization scopes.- Specified by:
addPermission
in interfaceISecurityController
- Parameters:
user
- TheIUser
object to add permission.permissionLevel
- TheISecurityController.IPermissionLevels
object to check upon.organizationFilter
- A value ofISecurityController.IScopeFilters
for the organization filter.organization
- TheIOrganization
object.localizationFilter
- A value ofISecurityController.IScopeFilters
for the localization filter.localization
- TheILocalization
object.flags
- The additional flags.
-
addPermission
public void addPermission(IUser user, Class<? extends ISecuritySupport> securityType, int permissionLevel, int organizationFilter, IOrganization organization, int localizationFilter, ILocalization localization, int... flags) Description copied from interface:ISecurityController
Adds access permissions to a user for aISecuritySupport
object and allows to specify localization and organization scopes.- Specified by:
addPermission
in interfaceISecurityController
- Parameters:
user
- TheIUser
object to add permission.securityType
- the type of children objectspermissionLevel
- TheISecurityController.IPermissionLevels
object to check upon.organizationFilter
- A value ofISecurityController.IScopeFilters
for the organization filter.organization
- TheIOrganization
object.localizationFilter
- A value ofISecurityController.IScopeFilters
for the localization filter.localization
- TheILocalization
object.flags
- the additional flags
-
addPermission
public void addPermission(IGroup group, int permissionLevel, int organizationFilter, IOrganization organization, int localizationFilter, ILocalization localization) Description copied from interface:ISecurityController
Adds access permissions to a group and allows to specify localization and organization scopes.- Specified by:
addPermission
in interfaceISecurityController
- Parameters:
group
- TheIGroup
object to add permission.permissionLevel
- TheISecurityController.IPermissionLevels
object to check upon.organizationFilter
- A value ofISecurityController.IScopeFilters
for the organization filter.organization
- TheIOrganization
object.localizationFilter
- A value ofISecurityController.IScopeFilters
for the localization filter.localization
- TheILocalization
object.
-
addPermission
public void addPermission(IGroup group, int permissionLevel, int organizationFilter, IOrganization organization, int localizationFilter, ILocalization localization, int... flags) Description copied from interface:ISecurityController
Adds access permissions to a group and allows to specify localization and organization scopes.- Specified by:
addPermission
in interfaceISecurityController
- Parameters:
group
- TheIGroup
object to add permission.permissionLevel
- TheISecurityController.IPermissionLevels
object to check upon.organizationFilter
- A value ofISecurityController.IScopeFilters
for the organization filter.organization
- TheIOrganization
object.localizationFilter
- A value ofISecurityController.IScopeFilters
for the localization filter.localization
- TheILocalization
object.flags
- the additional flags
-
addPermission
public void addPermission(IGroup group, Class<? extends ISecuritySupport> securityType, int permissionLevel, int organizationFilter, IOrganization organization, int localizationFilter, ILocalization localization, int... flags) Description copied from interface:ISecurityController
Adds access permissions to a group and allows to specify localization and organization scopes.- Specified by:
addPermission
in interfaceISecurityController
- Parameters:
group
- TheIGroup
object to add permission.securityType
- the type of children objectspermissionLevel
- TheISecurityController.IPermissionLevels
object to check upon.organizationFilter
- A value ofISecurityController.IScopeFilters
for the organization filter.organization
- TheIOrganization
object.localizationFilter
- A value ofISecurityController.IScopeFilters
for the localization filter.localization
- TheILocalization
object.flags
- the additional flags
-
addPermission
public void addPermission(IProfile profile, int permissionLevel, int organizationFilter, IOrganization organization, int localizationFilter, ILocalization localization) Description copied from interface:ISecurityController
Adds access permissions to a profile and allows to specify localization and organization scopes.- Specified by:
addPermission
in interfaceISecurityController
- Parameters:
profile
- TheIProfile
object to add permission to.permissionLevel
- TheISecurityController.IPermissionLevels
object to check upon.organizationFilter
- A value ofISecurityController.IScopeFilters
for the organization filter.organization
- TheIOrganization
object.localizationFilter
- A value ofISecurityController.IScopeFilters
for the localization filter.localization
- TheILocalization
object.
-
addPermission
public void addPermission(IProfile profile, int permissionLevel, int organizationFilter, IOrganization organization, int localizationFilter, ILocalization localization, int... flags) Description copied from interface:ISecurityController
Adds access permissions to a profile and allows to specify localization and organization scopes.- Specified by:
addPermission
in interfaceISecurityController
- Parameters:
profile
- TheIProfile
object to add permission to.permissionLevel
- TheISecurityController.IPermissionLevels
object to check upon.organizationFilter
- A value ofISecurityController.IScopeFilters
for the organization filter.organization
- TheIOrganization
object.localizationFilter
- A value ofISecurityController.IScopeFilters
for the localization filter.localization
- TheILocalization
object.flags
- The additional flags.
-
addPermission
public void addPermission(IProfile profile, Class<? extends ISecuritySupport> securityType, int permissionLevel, int organizationFilter, IOrganization organization, int localizationFilter, ILocalization localization, int... flags) Description copied from interface:ISecurityController
Adds access permissions to a profile and allows to specify localization and organization scopes.- Specified by:
addPermission
in interfaceISecurityController
- Parameters:
profile
- TheIProfile
object to add permission to.securityType
- the type of children objectspermissionLevel
- TheISecurityController.IPermissionLevels
object to check upon.organizationFilter
- A value ofISecurityController.IScopeFilters
for the organization filter.organization
- TheIOrganization
object.localizationFilter
- A value ofISecurityController.IScopeFilters
for the localization filter.localization
- TheILocalization
object.flags
- the additional flags
-
addPermission
public void addPermission(int joker, int permissionLevel, int organizationFilter, IOrganization organization, int localizationFilter, ILocalization localization) Description copied from interface:ISecurityController
Adds a special permission and allows to specify localization and organization scopes.- Specified by:
addPermission
in interfaceISecurityController
- Parameters:
joker
- the specific users type (ANONMYMOUS/EVERYONE)permissionLevel
- TheISecurityController.IPermissionLevels
object to check upon.organizationFilter
- A value ofISecurityController.IScopeFilters
for the organization filter.organization
- TheIOrganization
object.localizationFilter
- A value ofISecurityController.IScopeFilters
for the localization filter.localization
- TheILocalization
object.
-
addPermission
public void addPermission(int joker, int permissionLevel, int organizationFilter, IOrganization organization, int localizationFilter, ILocalization localization, int... flags) Description copied from interface:ISecurityController
Adds a special permission and allows to specify localization and organization scopes.- Specified by:
addPermission
in interfaceISecurityController
- Parameters:
joker
- the specific users type (ANONMYMOUS/EVERYONE)permissionLevel
- TheISecurityController.IPermissionLevels
object to check upon.organizationFilter
- A value ofISecurityController.IScopeFilters
for the organization filter.organization
- TheIOrganization
object.localizationFilter
- A value ofISecurityController.IScopeFilters
for the localization filter.localization
- TheILocalization
object.flags
- the additional flags
-
addPermission
public void addPermission(int joker, Class<? extends ISecuritySupport> securityType, int permissionLevel, int organizationFilter, IOrganization organization, int localizationFilter, ILocalization localization, int... flags) Description copied from interface:ISecurityController
Adds a special permission- Specified by:
addPermission
in interfaceISecurityController
- Parameters:
joker
- the specific users type (ANONMYMOUS/EVERYONE)securityType
- the type of children objectspermissionLevel
- TheISecurityController.IPermissionLevels
object to check upon.organizationFilter
- A value ofISecurityController.IScopeFilters
for the organization filter.organization
- TheIOrganization
object.localizationFilter
- A value ofISecurityController.IScopeFilters
for the localization filter.localization
- TheILocalization
object.flags
- the additional flags
-
removePermission
public void removePermission(IUser user, int organizationFilter, IOrganization organization, int localizationFilter, ILocalization localization) Description copied from interface:ISecurityController
Remove a permission on a user- Specified by:
removePermission
in interfaceISecurityController
- Parameters:
user
-organizationFilter
-organization
-localizationFilter
-localization
-
-
removePermission
public void removePermission(IUser user, Class<? extends ISecuritySupport> securityType, int organizationFilter, IOrganization organization, int localizationFilter, ILocalization localization) Description copied from interface:ISecurityController
Remove a permission on a user- Specified by:
removePermission
in interfaceISecurityController
- Parameters:
user
- TheIUser
object to remove permission.securityType
- the type of children objectsorganizationFilter
-organization
-localizationFilter
-localization
-
-
removePermission
public void removePermission(IGroup group, int organizationFilter, IOrganization organization, int localizationFilter, ILocalization localization) Description copied from interface:ISecurityController
Remove a permission on a group- Specified by:
removePermission
in interfaceISecurityController
- Parameters:
group
-organizationFilter
-organization
-localizationFilter
-localization
-
-
removePermission
public void removePermission(IGroup group, Class<? extends ISecuritySupport> securityType, int organizationFilter, IOrganization organization, int localizationFilter, ILocalization localization) Description copied from interface:ISecurityController
Remove a permission on a group- Specified by:
removePermission
in interfaceISecurityController
- Parameters:
group
- TheIGroup
object to remove permission.securityType
- the type of children objectsorganizationFilter
-organization
-localizationFilter
-localization
-
-
removePermission
public void removePermission(IProfile profile, int organizationFilter, IOrganization organization, int localizationFilter, ILocalization localization) Description copied from interface:ISecurityController
Remove a permission on a profile- Specified by:
removePermission
in interfaceISecurityController
- Parameters:
profile
-organizationFilter
-organization
-localizationFilter
-localization
-
-
removePermission
public void removePermission(IProfile profile, Class<? extends ISecuritySupport> securityType, int organizationFilter, IOrganization organization, int localizationFilter, ILocalization localization) Description copied from interface:ISecurityController
Remove a permission on a profile- Specified by:
removePermission
in interfaceISecurityController
- Parameters:
profile
- TheIProfile
object to remove permission.securityType
- the type of children objectsorganizationFilter
-organization
-localizationFilter
-localization
-
-
removePermission
public void removePermission(int joker, int organizationFilter, IOrganization organization, int localizationFilter, ILocalization localization) Description copied from interface:ISecurityController
Remove a permission- Specified by:
removePermission
in interfaceISecurityController
- Parameters:
joker
-organizationFilter
-organization
-localizationFilter
-localization
-
-
removePermission
public void removePermission(int joker, Class<? extends ISecuritySupport> securityType, int organizationFilter, IOrganization organization, int localizationFilter, ILocalization localization) Description copied from interface:ISecurityController
Remove a special permission- Specified by:
removePermission
in interfaceISecurityController
- Parameters:
joker
- the specific users type (ANONMYMOUS/EVERYONE)securityType
- the type of children objectsorganizationFilter
-organization
-localizationFilter
-localization
-
-
removePermissions
Description copied from interface:ISecurityController
Remove all permissions on a user- Specified by:
removePermissions
in interfaceISecurityController
- Parameters:
user
- TheIUser
object to remove permissions from.
-
removePermissions
Description copied from interface:ISecurityController
Remove all permissions on a group- Specified by:
removePermissions
in interfaceISecurityController
- Parameters:
group
- TheIGroup
object to remove permissions from.
-
removePermissions
Description copied from interface:ISecurityController
Remove all permissions on a profile- Specified by:
removePermissions
in interfaceISecurityController
- Parameters:
profile
- TheIProfile
object to remove permissions from.
-
removePermissions
public void removePermissions(int joker) Description copied from interface:ISecurityController
Remove all permissions on a joker.- Specified by:
removePermissions
in interfaceISecurityController
- Parameters:
joker
-
-
addPermission
public void addPermission(IUser user, IResourceDefinition storageDefinition, int permissionLevel, int... flags) Description copied from interface:ISecurityController
Adds access permissions to a user for aISecuritySupport
object.- Specified by:
addPermission
in interfaceISecurityController
- Parameters:
user
- TheIUser
object to add permission.storageDefinition
- the resource definition of children objectspermissionLevel
- TheISecurityController.IPermissionLevels
object to check upon.flags
- the additional flags
-
addPermission
public void addPermission(IUser user, IResourceDefinition storageDefinition, int permissionLevel, int organizationFilter, IOrganization organization, int localizationFilter, ILocalization localization, int... flags) Description copied from interface:ISecurityController
Adds access permissions to a user for aISecuritySupport
object and allows to specify localization and organization scopes.- Specified by:
addPermission
in interfaceISecurityController
- Parameters:
user
- TheIUser
object to add permission.storageDefinition
- the resource definition of children objectspermissionLevel
- TheISecurityController.IPermissionLevels
object to check upon.organizationFilter
- A value ofISecurityController.IScopeFilters
for the organization filter.organization
- TheIOrganization
object.localizationFilter
- A value ofISecurityController.IScopeFilters
for the localization filter.localization
- TheILocalization
object.flags
- the additional flags
-
addPermission
public void addPermission(IGroup group, IResourceDefinition storageDefinition, int permissionLevel, int... flags) Description copied from interface:ISecurityController
Adds access permissions to a group- Specified by:
addPermission
in interfaceISecurityController
- Parameters:
group
- TheIGroup
object to add permission.storageDefinition
- the resource definition of children objectspermissionLevel
- TheISecurityController.IPermissionLevels
object to check upon.flags
- the additional flags
-
addPermission
public void addPermission(IGroup group, IResourceDefinition storageDefinition, int permissionLevel, int organizationFilter, IOrganization organization, int localizationFilter, ILocalization localization, int... flags) Description copied from interface:ISecurityController
Adds access permissions to a group and allows to specify localization and organization scopes.- Specified by:
addPermission
in interfaceISecurityController
- Parameters:
group
- TheIGroup
object to add permission.storageDefinition
- the resource definition of children objectspermissionLevel
- TheISecurityController.IPermissionLevels
object to check upon.organizationFilter
- A value ofISecurityController.IScopeFilters
for the organization filter.organization
- TheIOrganization
object.localizationFilter
- A value ofISecurityController.IScopeFilters
for the localization filter.localization
- TheILocalization
object.flags
- the additional flags
-
addPermission
public void addPermission(IProfile profile, IResourceDefinition storageDefinition, int permissionLevel, int... flags) Description copied from interface:ISecurityController
Adds access permissions to a profile- Specified by:
addPermission
in interfaceISecurityController
- Parameters:
profile
- TheIProfile
object to add permission to.storageDefinition
- the resource definition of children objectspermissionLevel
- TheISecurityController.IPermissionLevels
object to check upon.flags
- the additional flags
-
addPermission
public void addPermission(IProfile profile, IResourceDefinition storageDefinition, int permissionLevel, int organizationFilter, IOrganization organization, int localizationFilter, ILocalization localization, int... flags) Description copied from interface:ISecurityController
Adds access permissions to a profile and allows to specify localization and organization scopes.- Specified by:
addPermission
in interfaceISecurityController
- Parameters:
profile
- TheIProfile
object to add permission to.storageDefinition
- the resource definition of children objectspermissionLevel
- TheISecurityController.IPermissionLevels
object to check upon.organizationFilter
- A value ofISecurityController.IScopeFilters
for the organization filter.organization
- TheIOrganization
object.localizationFilter
- A value ofISecurityController.IScopeFilters
for the localization filter.localization
- TheILocalization
object.flags
- the additional flags
-
addPermission
public void addPermission(int joker, IResourceDefinition storageDefinition, int permissionLevel, int... flags) Description copied from interface:ISecurityController
Adds a special permission- Specified by:
addPermission
in interfaceISecurityController
- Parameters:
joker
- the specific users type (ANONMYMOUS/EVERYONE)storageDefinition
- the resource definition of children objectspermissionLevel
- TheISecurityController.IPermissionLevels
object to check upon.flags
- the additional flags
-
addPermission
public void addPermission(int joker, IResourceDefinition storageDefinition, int permissionLevel, int organizationFilter, IOrganization organization, int localizationFilter, ILocalization localization, int... flags) Description copied from interface:ISecurityController
Adds a special permission- Specified by:
addPermission
in interfaceISecurityController
- Parameters:
joker
- the specific users type (ANONMYMOUS/EVERYONE)storageDefinition
- the resource definition of children objectspermissionLevel
- TheISecurityController.IPermissionLevels
object to check upon.organizationFilter
- A value ofISecurityController.IScopeFilters
for the organization filter.organization
- TheIOrganization
object.localizationFilter
- A value ofISecurityController.IScopeFilters
for the localization filter.localization
- TheILocalization
object.flags
- the additional flags
-
hasPermission
public boolean hasPermission(IUser user, IResourceDefinition storageDefinition, int permissionLevel, int... flags) Description copied from interface:ISecurityController
Check the user permission on a specific object (no recursivity)- Specified by:
hasPermission
in interfaceISecurityController
- Parameters:
user
- TheIUser
object to check upon.storageDefinition
- the resource definition of children objectspermissionLevel
- TheISecurityController.IPermissionLevels
object to check upon.flags
- the additional flag needed- Returns:
- true if the user has permission to access the object
-
hasPermission
public boolean hasPermission(IGroup group, IResourceDefinition storageDefinition, int permissionLevel, int... flags) Description copied from interface:ISecurityController
Check the group permission on a specific object (no recursivity)- Specified by:
hasPermission
in interfaceISecurityController
- Parameters:
group
- TheIGroup
object to check upon.storageDefinition
- the resource definition of children objectspermissionLevel
- TheISecurityController.IPermissionLevels
object to check upon.flags
- the additional flag needed- Returns:
- true if the user has permission to access the object
-
hasPermission
public boolean hasPermission(IProfile profile, IResourceDefinition storageDefinition, int permissionLevel, int... flags) Description copied from interface:ISecurityController
Check the profile permission on a specific object (no recursivity)- Specified by:
hasPermission
in interfaceISecurityController
- Parameters:
profile
- TheIProfile
object to check upon.storageDefinition
- the resource definition of children objectspermissionLevel
- TheISecurityController.IPermissionLevels
object to check upon.flags
- the additional flag needed- Returns:
- true if the user has permission to access the object
-
hasPermission
public boolean hasPermission(int joker, IResourceDefinition storageDefinition, int permissionLevel, int... flags) Description copied from interface:ISecurityController
Check the special permission on a specific object (no recursivity)- Specified by:
hasPermission
in interfaceISecurityController
- Parameters:
joker
- the specific users type (ANONMYMOUS/EVERYONE)storageDefinition
- the resource definition of children objectspermissionLevel
- TheISecurityController.IPermissionLevels
object to check upon.flags
- the additional flag needed- Returns:
- true if the user has permission to access the object
-
removePermission
Description copied from interface:ISecurityController
Remove a permission on a user- Specified by:
removePermission
in interfaceISecurityController
- Parameters:
user
- TheIUser
object to remove permission.storageDefinition
- the resource definition of children objects
-
removePermission
public void removePermission(IUser user, IResourceDefinition storageDefinition, int organizationFilter, IOrganization organization, int localizationFilter, ILocalization localization) Description copied from interface:ISecurityController
Remove a permission on a user- Specified by:
removePermission
in interfaceISecurityController
- Parameters:
user
- TheIUser
object to remove permission.storageDefinition
- the resource definition of children objectsorganizationFilter
-organization
-localizationFilter
-localization
-
-
removePermission
Description copied from interface:ISecurityController
Remove a permission on a group- Specified by:
removePermission
in interfaceISecurityController
- Parameters:
group
- TheIGroup
object to remove permission.storageDefinition
- the resource definition of children objects
-
removePermission
public void removePermission(IGroup group, IResourceDefinition storageDefinition, int organizationFilter, IOrganization organization, int localizationFilter, ILocalization localization) Description copied from interface:ISecurityController
Remove a permission on a group- Specified by:
removePermission
in interfaceISecurityController
- Parameters:
group
- TheIGroup
object to remove permission.storageDefinition
- the resource definition of children objectsorganizationFilter
-organization
-localizationFilter
-localization
-
-
removePermission
Description copied from interface:ISecurityController
Remove a permission on a profile- Specified by:
removePermission
in interfaceISecurityController
- Parameters:
profile
- TheIProfile
object to remove permission.storageDefinition
- the resource definition of children objects
-
removePermission
public void removePermission(IProfile profile, IResourceDefinition storageDefinition, int organizationFilter, IOrganization organization, int localizationFilter, ILocalization localization) Description copied from interface:ISecurityController
Remove a permission on a profile- Specified by:
removePermission
in interfaceISecurityController
- Parameters:
profile
- TheIProfile
object to remove permission.storageDefinition
- the resource definition of children objectsorganizationFilter
-organization
-localizationFilter
-localization
-
-
removePermission
Description copied from interface:ISecurityController
Remove a special permission- Specified by:
removePermission
in interfaceISecurityController
- Parameters:
joker
- the specific users type (ANONMYMOUS/EVERYONE)storageDefinition
- the resource definition of children objects
-
removePermission
public void removePermission(int joker, IResourceDefinition storageDefinition, int organizationFilter, IOrganization organization, int localizationFilter, ILocalization localization) Description copied from interface:ISecurityController
Remove a special permission- Specified by:
removePermission
in interfaceISecurityController
- Parameters:
joker
- the specific users type (ANONMYMOUS/EVERYONE)storageDefinition
- the resource definition of children objectsorganizationFilter
-organization
-localizationFilter
-localization
-
-