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

public interface SecuredChild<OT extends Securable> extends Securable, gemma.gsec.model.SecuredChild
  • Method Summary

    Modifier and Type
    Method
    Description
    Obtain the security owner of this secured child.

    Methods inherited from interface ubic.gemma.model.common.Identifiable

    getId

    Methods inherited from interface gemma.gsec.model.Securable

    getId
  • Method Details

    • getSecurityOwner

      @Nullable OT 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:
      getSecurityOwner in interface gemma.gsec.model.SecuredChild
      Returns:
      the security owner, or null if not known.