Class PObjectSecurityReferee
java.lang.Object
com.polarion.platform.persistence.spi.PObjectSecurityReferee
- All Implemented Interfaces:
ISecurityReferee
- Since:
- 3.18.2
-
Constructor Summary
ConstructorDescriptionPObjectSecurityReferee
(PObject object, String key, IPersistencePolicy persistencePolicy) -
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 (neitherISecurityReferee.checkAdd(Object, Object)
orISecurityReferee.checkRemove(Object, Object)
is called in such situation).void
checkRemove
(Object owner, Object value) Called when item is removed from the list.
-
Constructor Details
-
PObjectSecurityReferee
public PObjectSecurityReferee(@NotNull PObject object, @NotNull String key, @NotNull IPersistencePolicy persistencePolicy)
-
-
Method Details
-
checkRemove
Description copied from interface:ISecurityReferee
Called when item is removed from the list.- Specified by:
checkRemove
in interfaceISecurityReferee
- Parameters:
owner
- owner of value (can not benull
)value
- value (can benull
)
-
checkModify
Description copied from interface:ISecurityReferee
Called when structure field is being set or when one list value is replaced by another (neitherISecurityReferee.checkAdd(Object, Object)
orISecurityReferee.checkRemove(Object, Object)
is called in such situation).- Specified by:
checkModify
in interfaceISecurityReferee
- Parameters:
owner
- owner of value (can not benull
)oldValue
- old value (can benull
)newValue
- new value (can benull
)
-
checkAdd
Description copied from interface:ISecurityReferee
Called when new item is added to the list.- Specified by:
checkAdd
in interfaceISecurityReferee
- Parameters:
owner
- owner of value (can not benull
)value
- value (can benull
)
-