Interface ISecurityReferee
- All Known Implementing Classes:
PObjectSecurityReferee
public interface ISecurityReferee
Security referee.
- Version:
- $Revision$ $Date$
- Author:
- Stepan Roh, Polarion Software
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Called when new item is added to the list.void
checkModify
(Object owner, Object oldValue, Object newValue) Called when structure field is being set or when one list value is replaced by another (neithercheckAdd(Object, Object)
orcheckRemove(Object, Object)
is called in such situation).void
checkRemove
(Object owner, Object value) Called when item is removed from the list.
-
Method Details
-
checkModify
Called when structure field is being set or when one list value is replaced by another (neithercheckAdd(Object, Object)
orcheckRemove(Object, Object)
is called in such situation).- Parameters:
owner
- owner of value (can not benull
)oldValue
- old value (can benull
)newValue
- new value (can benull
)- Throws:
PermissionDeniedException
- if security checking fails- Since:
- 3.5.1
-
checkAdd
Called when new item is added to the list.- Parameters:
owner
- owner of value (can not benull
)value
- value (can benull
)- Throws:
PermissionDeniedException
- if security checking fails- Since:
- 3.5.1
-
checkRemove
Called when item is removed from the list.- Parameters:
owner
- owner of value (can not benull
)value
- value (can benull
)- Throws:
PermissionDeniedException
- if security checking fails- Since:
- 3.5.1
-