Interface SecuredChild<OT extends Securable>
- Type Parameters:
OT- type of the security owner
- All Superinterfaces:
Identifiable,gemma.gsec.model.Securable,Securable,gemma.gsec.model.SecuredChild
- All Known Implementing Classes:
BioAssay,BioMaterial,CoexpressionAnalysis,DifferentialExpressionAnalysis,ExperimentalDesign,ExperimentalFactor,ExpressionAnalysisResultSet,ExpressionExperimentSubSet,FactorValue,MeanVarianceRelation,PrincipalComponentAnalysis,SampleCoexpressionAnalysis,SingleExperimentAnalysis
-
Method Summary
Modifier and TypeMethodDescriptionObtain the security owner of this secured child.Methods inherited from interface ubic.gemma.model.common.Identifiable
getIdMethods inherited from interface gemma.gsec.model.Securable
getId
-
Method Details
-
getSecurityOwner
Obtain the security owner of this secured child.Secured children should always have an owner in the ACL table, but that relation is not always direct or mapped. A more robust way of checking is to look up the parent via
AclObjectIdentity.getParentObject(). If the security owner cannot be determined, the implementation should define a setter so it can be temporarily assigned for creating the ACL identity.- Specified by:
getSecurityOwnerin interfacegemma.gsec.model.SecuredChild- Returns:
- the security owner, or null if not known.
-