Package omero.model
Interface _PermissionsOperations
-
- All Known Implementing Classes:
_PermissionsTie
,Permissions
,PermissionsI
public interface _PermissionsOperations
Row-level permissions definition available on every OMERO.blitz type. Represents a similar logic to the Unix filesystem.
-
-
Method Summary
All Methods Instance Methods Abstract 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.long
getPerm1(Ice.Current __current)
Do not use!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.
-
-
-
Method Detail
-
getPerm1
long getPerm1(Ice.Current __current)
Do not use!- Parameters:
__current
- The Current object for the invocation.
-
setPerm1
void setPerm1(long value, Ice.Current __current)
Do not use! ThrowsClientError
if mutation not allowed.- Parameters:
__current
- The Current object for the invocation.
-
isDisallow
boolean isDisallow(int restriction, Ice.Current __current)
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()- Parameters:
__current
- The Current object for the invocation.
-
isRestricted
boolean isRestricted(java.lang.String restriction, Ice.Current __current)
Returns true if the given argument is present in the extendedRestrictions set. This implies that some service-specific behavior is disallowed.- Parameters:
__current
- The Current object for the invocation.
-
canAnnotate
boolean canAnnotate(Ice.Current __current)
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.- Parameters:
__current
- The Current object for the invocation.
-
canEdit
boolean canEdit(Ice.Current __current)
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.- Parameters:
__current
- The Current object for the invocation.
-
canLink
boolean canLink(Ice.Current __current)
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.- Parameters:
__current
- The Current object for the invocation.
-
canDelete
boolean canDelete(Ice.Current __current)
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.- Parameters:
__current
- The Current object for the invocation.
-
canChgrp
boolean canChgrp(Ice.Current __current)
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.- Parameters:
__current
- The Current object for the invocation.
-
canChown
boolean canChown(Ice.Current __current)
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.- Parameters:
__current
- The Current object for the invocation.
-
isUserRead
boolean isUserRead(Ice.Current __current)
-
isUserAnnotate
boolean isUserAnnotate(Ice.Current __current)
-
isUserWrite
boolean isUserWrite(Ice.Current __current)
-
isGroupRead
boolean isGroupRead(Ice.Current __current)
-
isGroupAnnotate
boolean isGroupAnnotate(Ice.Current __current)
-
isGroupWrite
boolean isGroupWrite(Ice.Current __current)
-
isWorldRead
boolean isWorldRead(Ice.Current __current)
-
isWorldAnnotate
boolean isWorldAnnotate(Ice.Current __current)
-
isWorldWrite
boolean isWorldWrite(Ice.Current __current)
-
setUserRead
void setUserRead(boolean value, Ice.Current __current)
ThrowsClientError
if mutation not allowed.- Parameters:
__current
- The Current object for the invocation.
-
setUserAnnotate
void setUserAnnotate(boolean value, Ice.Current __current)
ThrowsClientError
if mutation not allowed.- Parameters:
__current
- The Current object for the invocation.
-
setUserWrite
void setUserWrite(boolean value, Ice.Current __current)
ThrowsClientError
if mutation not allowed.- Parameters:
__current
- The Current object for the invocation.
-
setGroupRead
void setGroupRead(boolean value, Ice.Current __current)
ThrowsClientError
if mutation not allowed.- Parameters:
__current
- The Current object for the invocation.
-
setGroupAnnotate
void setGroupAnnotate(boolean value, Ice.Current __current)
ThrowsClientError
if mutation not allowed.- Parameters:
__current
- The Current object for the invocation.
-
setGroupWrite
void setGroupWrite(boolean value, Ice.Current __current)
ThrowsClientError
if mutation not allowed.- Parameters:
__current
- The Current object for the invocation.
-
setWorldRead
void setWorldRead(boolean value, Ice.Current __current)
ThrowsClientError
if mutation not allowed.- Parameters:
__current
- The Current object for the invocation.
-
setWorldAnnotate
void setWorldAnnotate(boolean value, Ice.Current __current)
ThrowsClientError
if mutation not allowed.- Parameters:
__current
- The Current object for the invocation.
-
setWorldWrite
void setWorldWrite(boolean value, Ice.Current __current)
ThrowsClientError
if mutation not allowed.- Parameters:
__current
- The Current object for the invocation.
-
-