Interface ISecurityReferee

All Known Implementing Classes:
PObjectSecurityReferee

public interface ISecurityReferee
Security referee.
Version:
$Revision$ $Date$
Author:
Stepan Roh, Polarion Software
See Also:
  • Method Details

    • checkModify

      void checkModify(Object owner, Object oldValue, Object newValue)
      Called when structure field is being set or when one list value is replaced by another (neither checkAdd(Object, Object) or checkRemove(Object, Object) is called in such situation).
      Parameters:
      owner - owner of value (can not be null)
      oldValue - old value (can be null)
      newValue - new value (can be null)
      Throws:
      PermissionDeniedException - if security checking fails
      Since:
      3.5.1
    • checkAdd

      void checkAdd(Object owner, Object value)
      Called when new item is added to the list.
      Parameters:
      owner - owner of value (can not be null)
      value - value (can be null)
      Throws:
      PermissionDeniedException - if security checking fails
      Since:
      3.5.1
    • checkRemove

      void checkRemove(Object owner, Object value)
      Called when item is removed from the list.
      Parameters:
      owner - owner of value (can not be null)
      value - value (can be null)
      Throws:
      PermissionDeniedException - if security checking fails
      Since:
      3.5.1