public class PermissionsI extends omero.model.Permissions implements ModelBased
Permissions
class.
Currently, the internal representation is made public. (see the ZeroC thread
link below), but should not be used by clients.Modifier and Type | Field and Description |
---|---|
static Ice.ObjectFactory |
Factory |
Constructor and Description |
---|
PermissionsI() |
PermissionsI(Permissions sourceP) |
PermissionsI(PermissionsI perms) |
PermissionsI(String representation) |
Modifier and Type | Method and Description |
---|---|
boolean |
canAnnotate(Ice.Current c) |
boolean |
canDelete(Ice.Current c) |
boolean |
canEdit(Ice.Current c) |
boolean |
canLink(Ice.Current c) |
void |
copyObject(Filterable model,
ModelMapper _mapper) |
Filterable |
fillObject(ReverseModelMapper _mapper) |
long |
getPerm1(Ice.Current current) |
protected boolean |
granted(int mask,
int shift) |
void |
ice_postUnmarshal()
Called as Ice converts from a binary stream to a PermissionsI object.
|
boolean |
isDisallow(int restriction,
Ice.Current c) |
boolean |
isGroupAnnotate(Ice.Current c) |
boolean |
isGroupRead(Ice.Current c) |
boolean |
isGroupWrite(Ice.Current c) |
boolean |
isRestricted(String restriction,
Ice.Current __current) |
boolean |
isUserAnnotate(Ice.Current c) |
boolean |
isUserRead(Ice.Current c) |
boolean |
isUserWrite(Ice.Current c) |
boolean |
isWorldAnnotate(Ice.Current c) |
boolean |
isWorldRead(Ice.Current c) |
boolean |
isWorldWrite(Ice.Current c) |
protected void |
set(int mask,
int shift,
boolean on) |
void |
setGroupAnnotate(boolean value,
Ice.Current c) |
void |
setGroupRead(boolean value,
Ice.Current c) |
void |
setGroupWrite(boolean value,
Ice.Current c) |
void |
setPerm1(Long perm1) |
void |
setPerm1(long perm1,
Ice.Current current) |
void |
setUserAnnotate(boolean value,
Ice.Current c) |
void |
setUserRead(boolean value,
Ice.Current c) |
void |
setUserWrite(boolean value,
Ice.Current c) |
void |
setWorldAnnotate(boolean value,
Ice.Current c) |
void |
setWorldRead(boolean value,
Ice.Current c) |
void |
setWorldWrite(boolean value,
Ice.Current c) |
String |
toString()
produces a String representation of the
PermissionsI similar to
those on a Unix filesystem. |
void |
unload(Ice.Current c) |
___canAnnotate, ___canDelete, ___canEdit, ___canLink, ___getPerm1, ___isDisallow, ___isGroupAnnotate, ___isGroupRead, ___isGroupWrite, ___isRestricted, ___isUserAnnotate, ___isUserRead, ___isUserWrite, ___isWorldAnnotate, ___isWorldRead, ___isWorldWrite, ___setGroupAnnotate, ___setGroupRead, ___setGroupWrite, ___setPerm1, ___setUserAnnotate, ___setUserRead, ___setUserWrite, ___setWorldAnnotate, ___setWorldRead, ___setWorldWrite, __dispatch, __readImpl, __writeImpl, canAnnotate, canDelete, canEdit, canLink, getPerm1, ice_id, ice_id, ice_ids, ice_ids, ice_isA, ice_isA, ice_staticId, isDisallow, isGroupAnnotate, isGroupRead, isGroupWrite, isRestricted, isUserAnnotate, isUserRead, isUserWrite, isWorldAnnotate, isWorldRead, isWorldWrite, setGroupAnnotate, setGroupRead, setGroupWrite, setPerm1, setUserAnnotate, setUserRead, setUserWrite, setWorldAnnotate, setWorldRead, setWorldWrite
public PermissionsI()
public PermissionsI(String representation)
public PermissionsI(PermissionsI perms)
public PermissionsI(Permissions sourceP)
public void ice_postUnmarshal()
__immutable
to true so that clients consuming this
object cannot alter them.ice_postUnmarshal
in interface Ice.Object
ice_postUnmarshal
in class Ice.ObjectImpl
public boolean isRestricted(String restriction, Ice.Current __current)
isRestricted
in interface omero.model._PermissionsOperations
public boolean isDisallow(int restriction, Ice.Current c)
isDisallow
in interface omero.model._PermissionsOperations
public boolean canAnnotate(Ice.Current c)
canAnnotate
in interface omero.model._PermissionsOperations
public boolean canDelete(Ice.Current c)
canDelete
in interface omero.model._PermissionsOperations
public boolean canEdit(Ice.Current c)
canEdit
in interface omero.model._PermissionsOperations
public boolean canLink(Ice.Current c)
canLink
in interface omero.model._PermissionsOperations
public long getPerm1(Ice.Current current)
getPerm1
in interface omero.model._PermissionsOperations
public void setPerm1(long perm1, Ice.Current current)
setPerm1
in interface omero.model._PermissionsOperations
public void setPerm1(Long perm1)
public void copyObject(Filterable model, ModelMapper _mapper)
copyObject
in interface ModelBased
public Filterable fillObject(ReverseModelMapper _mapper)
fillObject
in interface ModelBased
public void unload(Ice.Current c)
public boolean isUserRead(Ice.Current c)
isUserRead
in interface omero.model._PermissionsOperations
public void setUserRead(boolean value, Ice.Current c)
setUserRead
in interface omero.model._PermissionsOperations
public boolean isUserWrite(Ice.Current c)
isUserWrite
in interface omero.model._PermissionsOperations
public void setUserWrite(boolean value, Ice.Current c)
setUserWrite
in interface omero.model._PermissionsOperations
public boolean isUserAnnotate(Ice.Current c)
isUserAnnotate
in interface omero.model._PermissionsOperations
public void setUserAnnotate(boolean value, Ice.Current c)
setUserAnnotate
in interface omero.model._PermissionsOperations
public boolean isGroupRead(Ice.Current c)
isGroupRead
in interface omero.model._PermissionsOperations
public void setGroupRead(boolean value, Ice.Current c)
setGroupRead
in interface omero.model._PermissionsOperations
public boolean isGroupWrite(Ice.Current c)
isGroupWrite
in interface omero.model._PermissionsOperations
public void setGroupWrite(boolean value, Ice.Current c)
setGroupWrite
in interface omero.model._PermissionsOperations
public boolean isGroupAnnotate(Ice.Current c)
isGroupAnnotate
in interface omero.model._PermissionsOperations
public void setGroupAnnotate(boolean value, Ice.Current c)
setGroupAnnotate
in interface omero.model._PermissionsOperations
public boolean isWorldRead(Ice.Current c)
isWorldRead
in interface omero.model._PermissionsOperations
public void setWorldRead(boolean value, Ice.Current c)
setWorldRead
in interface omero.model._PermissionsOperations
public boolean isWorldWrite(Ice.Current c)
isWorldWrite
in interface omero.model._PermissionsOperations
public void setWorldWrite(boolean value, Ice.Current c)
setWorldWrite
in interface omero.model._PermissionsOperations
public boolean isWorldAnnotate(Ice.Current c)
isWorldAnnotate
in interface omero.model._PermissionsOperations
public void setWorldAnnotate(boolean value, Ice.Current c)
setWorldAnnotate
in interface omero.model._PermissionsOperations
protected boolean granted(int mask, int shift)
protected void set(int mask, int shift, boolean on)
public String toString()
PermissionsI
similar to
those on a Unix filesystem. Unset bits are represented by a dash, while
other bits are represented by a symbolic value in the correct bit
position. For example, a Permissions with all rights
granted to all but WORLD roles would look like: rwrw--
Version: 5.2.8-ice35-b57
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.