Package ome.tools.hibernate
Class SecureMerge
- java.lang.Object
-
- ome.tools.hibernate.SecureMerge
-
- All Implemented Interfaces:
SecureAction
public class SecureMerge extends java.lang.Object implements SecureAction
Helper originally fromSimpleRoleProvider
for merging admin objects.- Since:
- 4.0
-
-
Constructor Summary
Constructors Constructor Description SecureMerge(org.hibernate.Session session)
SecureMerge(org.hibernate.Session session, boolean flush)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends ome.model.IObject>
TupdateObject(T... objs)
executes with special privileges within theSecuritySystem
.
-
-
-
Method Detail
-
updateObject
public <T extends ome.model.IObject> T updateObject(T... objs)
Description copied from interface:SecureAction
executes with special privileges within theSecuritySystem
. These privileges will be granted only to the top-level objects.- Specified by:
updateObject
in interfaceSecureAction
- Parameters:
objs
- some model objects- Returns:
- the updated objects
-
-