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 longserialVersionUID-
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 booleancanAnnotate(Ice.Current __current)Whether the current user has permissions for annotating this object.booleancanChgrp(Ice.Current __current)Whether the current user has the ""chgrp"" permissions for this object.booleancanChown(Ice.Current __current)Whether the current user has the ""chown"" permissions for this object.booleancanDelete(Ice.Current __current)Whether the current user has the ""delete"" permissions for this object.booleancanEdit(Ice.Current __current)Whether the current user has the ""edit"" permissions for this object.booleancanLink(Ice.Current __current)Whether the current user has the ""link"" permissions for this object.booleanequals(java.lang.Object rhs)longgetPerm1(Ice.Current __current)Do not use!inthashCode()java.lang.Objectice_delegate()voidice_delegate(java.lang.Object delegate)booleanisDisallow(int restriction, Ice.Current __current)The basis for the other canX() methods.booleanisGroupAnnotate(Ice.Current __current)booleanisGroupRead(Ice.Current __current)booleanisGroupWrite(Ice.Current __current)booleanisRestricted(java.lang.String restriction, Ice.Current __current)Returns true if the given argument is present in the extendedRestrictions set.booleanisUserAnnotate(Ice.Current __current)booleanisUserRead(Ice.Current __current)booleanisUserWrite(Ice.Current __current)booleanisWorldAnnotate(Ice.Current __current)booleanisWorldRead(Ice.Current __current)booleanisWorldWrite(Ice.Current __current)voidsetGroupAnnotate(boolean value, Ice.Current __current)ThrowsClientErrorif mutation not allowed.voidsetGroupRead(boolean value, Ice.Current __current)ThrowsClientErrorif mutation not allowed.voidsetGroupWrite(boolean value, Ice.Current __current)ThrowsClientErrorif mutation not allowed.voidsetPerm1(long value, Ice.Current __current)Do not use! ThrowsClientErrorif mutation not allowed.voidsetUserAnnotate(boolean value, Ice.Current __current)ThrowsClientErrorif mutation not allowed.voidsetUserRead(boolean value, Ice.Current __current)ThrowsClientErrorif mutation not allowed.voidsetUserWrite(boolean value, Ice.Current __current)ThrowsClientErrorif mutation not allowed.voidsetWorldAnnotate(boolean value, Ice.Current __current)ThrowsClientErrorif mutation not allowed.voidsetWorldRead(boolean value, Ice.Current __current)ThrowsClientErrorif mutation not allowed.voidsetWorldWrite(boolean value, Ice.Current __current)ThrowsClientErrorif 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_delegatein interfaceIce.TieBase
-
ice_delegate
public void ice_delegate(java.lang.Object delegate)
- Specified by:
ice_delegatein interfaceIce.TieBase
-
equals
public boolean equals(java.lang.Object rhs)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
canAnnotate
public boolean canAnnotate(Ice.Current __current)
Description copied from interface:_PermissionsOperationsWhether 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:
canAnnotatein interface_PermissionsOperations- Parameters:
__current- The Current object for the invocation.
-
canChgrp
public boolean canChgrp(Ice.Current __current)
Description copied from interface:_PermissionsOperationsWhether 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:
canChgrpin interface_PermissionsOperations- Parameters:
__current- The Current object for the invocation.
-
canChown
public boolean canChown(Ice.Current __current)
Description copied from interface:_PermissionsOperationsWhether 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:
canChownin interface_PermissionsOperations- Parameters:
__current- The Current object for the invocation.
-
canDelete
public boolean canDelete(Ice.Current __current)
Description copied from interface:_PermissionsOperationsWhether 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:
canDeletein interface_PermissionsOperations- Parameters:
__current- The Current object for the invocation.
-
canEdit
public boolean canEdit(Ice.Current __current)
Description copied from interface:_PermissionsOperationsWhether 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:
canEditin interface_PermissionsOperations- Parameters:
__current- The Current object for the invocation.
-
canLink
public boolean canLink(Ice.Current __current)
Description copied from interface:_PermissionsOperationsWhether 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:
canLinkin interface_PermissionsOperations- Parameters:
__current- The Current object for the invocation.
-
getPerm1
public long getPerm1(Ice.Current __current)
Description copied from interface:_PermissionsOperationsDo not use!- Specified by:
getPerm1in interface_PermissionsOperations- Parameters:
__current- The Current object for the invocation.
-
isDisallow
public boolean isDisallow(int restriction, Ice.Current __current)Description copied from interface:_PermissionsOperationsThe 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:
isDisallowin interface_PermissionsOperations__current- The Current object for the invocation.
-
isGroupAnnotate
public boolean isGroupAnnotate(Ice.Current __current)
- Specified by:
isGroupAnnotatein interface_PermissionsOperations
-
isGroupRead
public boolean isGroupRead(Ice.Current __current)
- Specified by:
isGroupReadin interface_PermissionsOperations
-
isGroupWrite
public boolean isGroupWrite(Ice.Current __current)
- Specified by:
isGroupWritein interface_PermissionsOperations
-
isRestricted
public boolean isRestricted(java.lang.String restriction, Ice.Current __current)Description copied from interface:_PermissionsOperationsReturns true if the given argument is present in the extendedRestrictions set. This implies that some service-specific behavior is disallowed.- Specified by:
isRestrictedin interface_PermissionsOperations__current- The Current object for the invocation.
-
isUserAnnotate
public boolean isUserAnnotate(Ice.Current __current)
- Specified by:
isUserAnnotatein interface_PermissionsOperations
-
isUserRead
public boolean isUserRead(Ice.Current __current)
- Specified by:
isUserReadin interface_PermissionsOperations
-
isUserWrite
public boolean isUserWrite(Ice.Current __current)
- Specified by:
isUserWritein interface_PermissionsOperations
-
isWorldAnnotate
public boolean isWorldAnnotate(Ice.Current __current)
- Specified by:
isWorldAnnotatein interface_PermissionsOperations
-
isWorldRead
public boolean isWorldRead(Ice.Current __current)
- Specified by:
isWorldReadin interface_PermissionsOperations
-
isWorldWrite
public boolean isWorldWrite(Ice.Current __current)
- Specified by:
isWorldWritein interface_PermissionsOperations
-
setGroupAnnotate
public void setGroupAnnotate(boolean value, Ice.Current __current)Description copied from interface:_PermissionsOperationsThrowsClientErrorif mutation not allowed.- Specified by:
setGroupAnnotatein interface_PermissionsOperations__current- The Current object for the invocation.
-
setGroupRead
public void setGroupRead(boolean value, Ice.Current __current)Description copied from interface:_PermissionsOperationsThrowsClientErrorif mutation not allowed.- Specified by:
setGroupReadin interface_PermissionsOperations__current- The Current object for the invocation.
-
setGroupWrite
public void setGroupWrite(boolean value, Ice.Current __current)Description copied from interface:_PermissionsOperationsThrowsClientErrorif mutation not allowed.- Specified by:
setGroupWritein interface_PermissionsOperations__current- The Current object for the invocation.
-
setPerm1
public void setPerm1(long value, Ice.Current __current)Description copied from interface:_PermissionsOperationsDo not use! ThrowsClientErrorif mutation not allowed.- Specified by:
setPerm1in interface_PermissionsOperations__current- The Current object for the invocation.
-
setUserAnnotate
public void setUserAnnotate(boolean value, Ice.Current __current)Description copied from interface:_PermissionsOperationsThrowsClientErrorif mutation not allowed.- Specified by:
setUserAnnotatein interface_PermissionsOperations__current- The Current object for the invocation.
-
setUserRead
public void setUserRead(boolean value, Ice.Current __current)Description copied from interface:_PermissionsOperationsThrowsClientErrorif mutation not allowed.- Specified by:
setUserReadin interface_PermissionsOperations__current- The Current object for the invocation.
-
setUserWrite
public void setUserWrite(boolean value, Ice.Current __current)Description copied from interface:_PermissionsOperationsThrowsClientErrorif mutation not allowed.- Specified by:
setUserWritein interface_PermissionsOperations__current- The Current object for the invocation.
-
setWorldAnnotate
public void setWorldAnnotate(boolean value, Ice.Current __current)Description copied from interface:_PermissionsOperationsThrowsClientErrorif mutation not allowed.- Specified by:
setWorldAnnotatein interface_PermissionsOperations__current- The Current object for the invocation.
-
setWorldRead
public void setWorldRead(boolean value, Ice.Current __current)Description copied from interface:_PermissionsOperationsThrowsClientErrorif mutation not allowed.- Specified by:
setWorldReadin interface_PermissionsOperations__current- The Current object for the invocation.
-
setWorldWrite
public void setWorldWrite(boolean value, Ice.Current __current)Description copied from interface:_PermissionsOperationsThrowsClientErrorif mutation not allowed.- Specified by:
setWorldWritein interface_PermissionsOperations__current- The Current object for the invocation.
-
-