Package ome.security
Class SystemTypes
- java.lang.Object
-
- ome.security.SystemTypes
-
public class SystemTypes extends java.lang.Object
Defines whatIObject
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.
-
-
-
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)
-
-