Package omero.model
Class _PermissionsTie
- java.lang.Object
-
- Ice.ObjectImpl
-
- omero.model.Permissions
-
- omero.model._PermissionsTie
-
- All Implemented Interfaces:
Ice.Object
,Ice.TieBase
,java.io.Serializable
,java.lang.Cloneable
,_PermissionsOperations
,_PermissionsOperationsNC
public class _PermissionsTie extends Permissions implements Ice.TieBase
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static long
serialVersionUID
-
Fields inherited from class omero.model.Permissions
__ids, extendedRestrictions, perm1, restrictions
-
-
Constructor Summary
Constructors Constructor Description _PermissionsTie()
_PermissionsTie(_PermissionsOperations delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canAnnotate(Ice.Current __current)
Whether the current user has permissions for annotating this object.boolean
canChgrp(Ice.Current __current)
Whether the current user has the ""chgrp"" permissions for this object.boolean
canChown(Ice.Current __current)
Whether the current user has the ""chown"" permissions for this object.boolean
canDelete(Ice.Current __current)
Whether the current user has the ""delete"" permissions for this object.boolean
canEdit(Ice.Current __current)
Whether the current user has the ""edit"" permissions for this object.boolean
canLink(Ice.Current __current)
Whether the current user has the ""link"" permissions for this object.boolean
equals(java.lang.Object rhs)
long
getPerm1(Ice.Current __current)
Do not use!int
hashCode()
java.lang.Object
ice_delegate()
void
ice_delegate(java.lang.Object delegate)
boolean
isDisallow(int restriction, Ice.Current __current)
The basis for the other canX() methods.boolean
isGroupAnnotate(Ice.Current __current)
boolean
isGroupRead(Ice.Current __current)
boolean
isGroupWrite(Ice.Current __current)
boolean
isRestricted(java.lang.String restriction, Ice.Current __current)
Returns true if the given argument is present in the extendedRestrictions set.boolean
isUserAnnotate(Ice.Current __current)
boolean
isUserRead(Ice.Current __current)
boolean
isUserWrite(Ice.Current __current)
boolean
isWorldAnnotate(Ice.Current __current)
boolean
isWorldRead(Ice.Current __current)
boolean
isWorldWrite(Ice.Current __current)
void
setGroupAnnotate(boolean value, Ice.Current __current)
ThrowsClientError
if mutation not allowed.void
setGroupRead(boolean value, Ice.Current __current)
ThrowsClientError
if mutation not allowed.void
setGroupWrite(boolean value, Ice.Current __current)
ThrowsClientError
if mutation not allowed.void
setPerm1(long value, Ice.Current __current)
Do not use! ThrowsClientError
if mutation not allowed.void
setUserAnnotate(boolean value, Ice.Current __current)
ThrowsClientError
if mutation not allowed.void
setUserRead(boolean value, Ice.Current __current)
ThrowsClientError
if mutation not allowed.void
setUserWrite(boolean value, Ice.Current __current)
ThrowsClientError
if mutation not allowed.void
setWorldAnnotate(boolean value, Ice.Current __current)
ThrowsClientError
if mutation not allowed.void
setWorldRead(boolean value, Ice.Current __current)
ThrowsClientError
if mutation not allowed.void
setWorldWrite(boolean value, Ice.Current __current)
ThrowsClientError
if mutation not allowed.-
Methods inherited from class omero.model.Permissions
___canAnnotate, ___canChgrp, ___canChown, ___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, canChgrp, canChown, canDelete, canEdit, canLink, clone, 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
-
-
-
-
Field Detail
-
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
_PermissionsTie
public _PermissionsTie()
-
_PermissionsTie
public _PermissionsTie(_PermissionsOperations delegate)
-
-
Method Detail
-
ice_delegate
public java.lang.Object ice_delegate()
- Specified by:
ice_delegate
in interfaceIce.TieBase
-
ice_delegate
public void ice_delegate(java.lang.Object delegate)
- Specified by:
ice_delegate
in interfaceIce.TieBase
-
equals
public boolean equals(java.lang.Object rhs)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
canAnnotate
public boolean canAnnotate(Ice.Current __current)
Description copied from interface:_PermissionsOperations
Whether the current user has permissions for annotating this object. The fact that the user has this object in hand already identifies that it's readable.- Specified by:
canAnnotate
in interface_PermissionsOperations
- Parameters:
__current
- The Current object for the invocation.
-
canChgrp
public boolean canChgrp(Ice.Current __current)
Description copied from interface:_PermissionsOperations
Whether the current user has the ""chgrp"" permissions for this object. This allows them to move it to a different group. The fact that the user has this object in hand already identifies that it's readable.- Specified by:
canChgrp
in interface_PermissionsOperations
- Parameters:
__current
- The Current object for the invocation.
-
canChown
public boolean canChown(Ice.Current __current)
Description copied from interface:_PermissionsOperations
Whether the current user has the ""chown"" permissions for this object. This allows them to give it to a different user. The fact that the user has this object in hand already identifies that it's readable.- Specified by:
canChown
in interface_PermissionsOperations
- Parameters:
__current
- The Current object for the invocation.
-
canDelete
public boolean canDelete(Ice.Current __current)
Description copied from interface:_PermissionsOperations
Whether the current user has the ""delete"" permissions for this object. The fact that the user has this object in hand already identifies that it's readable.- Specified by:
canDelete
in interface_PermissionsOperations
- Parameters:
__current
- The Current object for the invocation.
-
canEdit
public boolean canEdit(Ice.Current __current)
Description copied from interface:_PermissionsOperations
Whether the current user has the ""edit"" permissions for this object. This includes changing the values of the object. The fact that the user has this object in hand already identifies that it's readable.- Specified by:
canEdit
in interface_PermissionsOperations
- Parameters:
__current
- The Current object for the invocation.
-
canLink
public boolean canLink(Ice.Current __current)
Description copied from interface:_PermissionsOperations
Whether the current user has the ""link"" permissions for this object. This includes adding it to data graphs. The fact that the user has this object in hand already identifies that it's readable.- Specified by:
canLink
in interface_PermissionsOperations
- Parameters:
__current
- The Current object for the invocation.
-
getPerm1
public long getPerm1(Ice.Current __current)
Description copied from interface:_PermissionsOperations
Do not use!- Specified by:
getPerm1
in interface_PermissionsOperations
- Parameters:
__current
- The Current object for the invocation.
-
isDisallow
public boolean isDisallow(int restriction, Ice.Current __current)
Description copied from interface:_PermissionsOperations
The basis for the other canX() methods. If the restriction at the given offset in the restriction array is true, then this method returns true (otherwise false) and the canX() methods return the opposite, i.e. isDisallow(ANNOTATERESTRICTION) == ! canAnnotate()- Specified by:
isDisallow
in interface_PermissionsOperations
__current
- The Current object for the invocation.
-
isGroupAnnotate
public boolean isGroupAnnotate(Ice.Current __current)
- Specified by:
isGroupAnnotate
in interface_PermissionsOperations
-
isGroupRead
public boolean isGroupRead(Ice.Current __current)
- Specified by:
isGroupRead
in interface_PermissionsOperations
-
isGroupWrite
public boolean isGroupWrite(Ice.Current __current)
- Specified by:
isGroupWrite
in interface_PermissionsOperations
-
isRestricted
public boolean isRestricted(java.lang.String restriction, Ice.Current __current)
Description copied from interface:_PermissionsOperations
Returns true if the given argument is present in the extendedRestrictions set. This implies that some service-specific behavior is disallowed.- Specified by:
isRestricted
in interface_PermissionsOperations
__current
- The Current object for the invocation.
-
isUserAnnotate
public boolean isUserAnnotate(Ice.Current __current)
- Specified by:
isUserAnnotate
in interface_PermissionsOperations
-
isUserRead
public boolean isUserRead(Ice.Current __current)
- Specified by:
isUserRead
in interface_PermissionsOperations
-
isUserWrite
public boolean isUserWrite(Ice.Current __current)
- Specified by:
isUserWrite
in interface_PermissionsOperations
-
isWorldAnnotate
public boolean isWorldAnnotate(Ice.Current __current)
- Specified by:
isWorldAnnotate
in interface_PermissionsOperations
-
isWorldRead
public boolean isWorldRead(Ice.Current __current)
- Specified by:
isWorldRead
in interface_PermissionsOperations
-
isWorldWrite
public boolean isWorldWrite(Ice.Current __current)
- Specified by:
isWorldWrite
in interface_PermissionsOperations
-
setGroupAnnotate
public void setGroupAnnotate(boolean value, Ice.Current __current)
Description copied from interface:_PermissionsOperations
ThrowsClientError
if mutation not allowed.- Specified by:
setGroupAnnotate
in interface_PermissionsOperations
__current
- The Current object for the invocation.
-
setGroupRead
public void setGroupRead(boolean value, Ice.Current __current)
Description copied from interface:_PermissionsOperations
ThrowsClientError
if mutation not allowed.- Specified by:
setGroupRead
in interface_PermissionsOperations
__current
- The Current object for the invocation.
-
setGroupWrite
public void setGroupWrite(boolean value, Ice.Current __current)
Description copied from interface:_PermissionsOperations
ThrowsClientError
if mutation not allowed.- Specified by:
setGroupWrite
in interface_PermissionsOperations
__current
- The Current object for the invocation.
-
setPerm1
public void setPerm1(long value, Ice.Current __current)
Description copied from interface:_PermissionsOperations
Do not use! ThrowsClientError
if mutation not allowed.- Specified by:
setPerm1
in interface_PermissionsOperations
__current
- The Current object for the invocation.
-
setUserAnnotate
public void setUserAnnotate(boolean value, Ice.Current __current)
Description copied from interface:_PermissionsOperations
ThrowsClientError
if mutation not allowed.- Specified by:
setUserAnnotate
in interface_PermissionsOperations
__current
- The Current object for the invocation.
-
setUserRead
public void setUserRead(boolean value, Ice.Current __current)
Description copied from interface:_PermissionsOperations
ThrowsClientError
if mutation not allowed.- Specified by:
setUserRead
in interface_PermissionsOperations
__current
- The Current object for the invocation.
-
setUserWrite
public void setUserWrite(boolean value, Ice.Current __current)
Description copied from interface:_PermissionsOperations
ThrowsClientError
if mutation not allowed.- Specified by:
setUserWrite
in interface_PermissionsOperations
__current
- The Current object for the invocation.
-
setWorldAnnotate
public void setWorldAnnotate(boolean value, Ice.Current __current)
Description copied from interface:_PermissionsOperations
ThrowsClientError
if mutation not allowed.- Specified by:
setWorldAnnotate
in interface_PermissionsOperations
__current
- The Current object for the invocation.
-
setWorldRead
public void setWorldRead(boolean value, Ice.Current __current)
Description copied from interface:_PermissionsOperations
ThrowsClientError
if mutation not allowed.- Specified by:
setWorldRead
in interface_PermissionsOperations
__current
- The Current object for the invocation.
-
setWorldWrite
public void setWorldWrite(boolean value, Ice.Current __current)
Description copied from interface:_PermissionsOperations
ThrowsClientError
if mutation not allowed.- Specified by:
setWorldWrite
in interface_PermissionsOperations
__current
- The Current object for the invocation.
-
-