com.polarion.platform.persistence.IPersistencePolicy
METHODS
Modifiers and Type | Name | Description |
---|---|---|
ISecurityService | getSecurityService() | Convenience method. |
public, boolean | canReadInstances(String,IContextId) | Security check if the current user can read instances of given prototype in given context (project). |
void | checkCanReadInstances(String,IContextId) | Similar to {@link #canReadInstances(String,IContextId)} , with the difference that instead of returning false , it will throw PermissionDeniedException |
public, boolean | canReadInstances(String,String,IContextId) | Security check if the specified user can read instances of given prototype in given context (project). |
public, boolean | canModifyInstances(String,IContextId) | Security check if the current user can modify instances of given prototype in given context (project). |
void | checkCanModifyInstances(String,IContextId) | Similar to {@link #canModifyInstances(String,IContextId)} , with the difference that instead of returning false , it will throw PermissionDeniedException |
public, boolean | canCreateInstances(String,IContextId) | Security check if the current user can create instances of given prototype in given context (project). |
void | checkCanCreateInstances(String,IContextId) | Similar to {@link #canCreateInstances(String,IContextId)} , with the difference that instead of returning false , it will throw PermissionDeniedException |
public, boolean | canDeleteInstances(String,IContextId) | Security check if the current user can delete instances of given prototype in given context (project). |
void | checkCanDeleteInstances(String,IContextId) | Similar to {@link #canDeleteInstances(String,IContextId)} , with the difference that instead of returning false , it will throw PermissionDeniedException |
public, boolean | canReadInstance(IPObject) | Security check if the current user can read the instance. This method can only restrict the access more than method with prototypeName and context as parameters. |
void | checkCanReadInstance(IPObject) | Similar to {@link #canReadInstance(IPObject)} , with the difference that instead of returning false , it will throw PermissionDeniedException |
public, boolean | canReadInstance(String,IPObject) | Security check if the specified user can read the instance. This method can only restrict the access more than method with prototypeName and context as parameters. |
public, boolean | canModifyInstance(IPObject) | Security check if the current user can modify the instance. This method can only restrict the access more than method with prototypeName and context as parameters. |
void | checkCanModifyInstance(IPObject) | Similar to {@link #canModifyInstance(IPObject)} , with the difference that instead of returning false , it will throw PermissionDeniedException |
public, boolean | canCreateInstance(IPObject) | Security check if the current user can create the instance. This method can only restrict the access more than method with prototypeName and context as parameters. |
void | checkCanCreateInstance(IPObject) | Similar to {@link #canCreateInstance(IPObject)} , with the difference that instead of returning false , it will throw PermissionDeniedException |
public, boolean | canDeleteInstance(IPObject) | Security check if the current user can delete the instance. This method can only restrict the access more than method with prototypeName and context as parameters. |
void | checkCanDeleteInstance(IPObject) | Similar to {@link #canDeleteInstance(IPObject)} , with the difference that instead of returning false , it will throw PermissionDeniedException |
public, boolean | canReadKey(String,String,IContextId) | Security check if the current user can read value of given key in instances of given prototype in given context (project). |
void | checkCanReadKey(String,String,IContextId) | Similar to {@link #canReadKey(String,String,IContextId)} , with the difference that instead of returning false , it will throw PermissionDeniedException |
public, boolean | canModifyKey(String,String,IContextId) | Security check if the current user can modify value of given key in instances of given prototype in given context (project). |
void | checkCanModifyKey(String,String,IContextId) | Similar to {@link #canModifyKey(String,String,IContextId)} , with the difference that instead of returning false , it will throw PermissionDeniedException |
public, boolean | canAddElementToKey(String,String,IContextId) | Security check if the current user can add elements to list value of given key in instances of given prototype in given context (project). |
void | checkCanAddElementToKey(String,String,IContextId) | Similar to {@link #canAddElementToKey(String,String,IContextId)} , with the difference that instead of returning false , it will throw PermissionDeniedException |
public, boolean | canRemoveElementFromKey(String,String,IContextId) | Security check if the current user can remove elements from list value of given key in instances of given prototype in given context (project). |
void | checkCanRemoveElementFromKey(String,String,IContextId) | Similar to {@link #canRemoveElementFromKey(String,String,IContextId)} , with the difference that instead of returning false , it will throw PermissionDeniedException |
public, boolean | canReadKey(IPObject,String) | Security check if the current user can read value of given key in the instance. This method can only restrict the access more than method with prototypeName and context as parameters. |
void | checkCanReadKey(IPObject,String) | Similar to {@link #canReadKey(IPObject,String)} , with the difference that instead of returning false , it will throw PermissionDeniedException |
public, boolean | canModifyKey(IPObject,String) | Security check if the current user can modify value of given key in the instances. This method can only restrict the access more than method with prototypeName and context as parameters. |
void | checkCanModifyKey(IPObject,String) | Similar to {@link #canModifyKey(IPObject,String)} , with the difference that instead of returning false , it will throw PermissionDeniedException |
public, boolean | canAddElementToKey(IPObject,String) | Security check if the current user can add elements to the list value of given key in the instance. This method can only restrict the access more than method with prototypeName and context as parameters. |
void | checkCanAddElementToKey(IPObject,String) | Similar to {@link #canAddElementToKey(IPObject,String)} , with the difference that instead of returning false , it will throw PermissionDeniedException |
public, boolean | canRemoveElementFromKey(IPObject,String) | Security check if the current user can remove elements from the list value of given key in instance. This method can only restrict the access more than method with prototypeName and context as parameters. |
void | checkCanRemoveElementFromKey(IPObject,String) | Similar to {@link #canRemoveElementFromKey(IPObject,String)} , with the difference that instead of returning false , it will throw PermissionDeniedException |
Back to Index