Package ome.security

Class SystemTypes


  • public class SystemTypes
    extends java.lang.Object
    Defines what IObject classes are considered "system" types. System types have special meaning with regard to ACL. They cannot be created except by an administrator, primarily.
    Since:
    3.0-Beta4
    • Constructor Summary

      Constructors 
      Constructor Description
      SystemTypes()  
      SystemTypes​(ome.system.Roles roles)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isInSystemGroup​(java.lang.Long groupId)  
      boolean isInSystemGroup​(ome.model.internal.Details d)  
      boolean isInUserGroup​(java.lang.Long groupId)  
      boolean isInUserGroup​(ome.model.internal.Details d)  
      boolean isSystemType​(java.lang.Class<?> klass)
      classes which cannot be created by regular users.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SystemTypes

        public SystemTypes()
      • SystemTypes

        public SystemTypes​(ome.system.Roles roles)
    • Method Detail

      • isSystemType

        public boolean isSystemType​(java.lang.Class<?> klass)
        classes which cannot be created by regular users.
        See Also:
        ticket156
      • isInSystemGroup

        public boolean isInSystemGroup​(java.lang.Long groupId)
      • isInSystemGroup

        public boolean isInSystemGroup​(ome.model.internal.Details d)
      • isInUserGroup

        public boolean isInUserGroup​(java.lang.Long groupId)
      • isInUserGroup

        public boolean isInUserGroup​(ome.model.internal.Details d)