ome.security
Class SystemTypes

java.lang.Object
  extended by ome.security.SystemTypes

public class SystemTypes
extends 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
Author:
Josh Moore, josh at glencoesoftware.com

Constructor Summary
SystemTypes()
           
SystemTypes(Roles roles)
           
 
Method Summary
 boolean isInSystemGroup(ome.model.internal.Details d)
           
 boolean isInSystemGroup(Long groupId)
           
 boolean isInUserGroup(ome.model.internal.Details d)
           
 boolean isInUserGroup(Long groupId)
           
 boolean isSystemType(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(Roles roles)
Method Detail

isSystemType

public boolean isSystemType(Class<?> klass)
classes which cannot be created by regular users.

See Also:
ticket156

isInSystemGroup

public boolean isInSystemGroup(Long groupId)

isInSystemGroup

public boolean isInSystemGroup(ome.model.internal.Details d)

isInUserGroup

public boolean isInUserGroup(Long groupId)

isInUserGroup

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


OmeroJava Api

Version: 4.3.4-dbcbce5a-b4

Copyright © 2009 The University of Dundee. All Rights Reserved.