public class PermissionsI extends Permissions implements ome.model.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  | 
__ids, extendedRestrictions, perm1, restrictions| Constructor and Description | 
|---|
PermissionsI()  | 
PermissionsI(ome.model.internal.Permissions sourceP)  | 
PermissionsI(PermissionsI perms)  | 
PermissionsI(java.lang.String representation)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
canAnnotate(Ice.Current c)
Whether the current user has permissions
 for annotating this object. 
 | 
boolean | 
canChgrp(Ice.Current c)
Whether the current user has the ""chgrp"" permissions
 for this object. 
 | 
boolean | 
canChown(Ice.Current c)
Whether the current user has the ""chown"" permissions
 for this object. 
 | 
boolean | 
canDelete(Ice.Current c)
Whether the current user has the ""delete"" permissions
 for this object. 
 | 
boolean | 
canEdit(Ice.Current c)
Whether the current user has the ""edit"" permissions
 for this object. 
 | 
boolean | 
canLink(Ice.Current c)
Whether the current user has the ""link"" permissions
 for this object. 
 | 
void | 
copyObject(ome.util.Filterable model,
          ome.util.ModelMapper _mapper)  | 
ome.util.Filterable | 
fillObject(ome.util.ReverseModelMapper _mapper)  | 
long | 
getPerm1(Ice.Current current)
Do not use! 
 | 
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)
The basis for the other canX() methods. 
 | 
boolean | 
isGroupAnnotate(Ice.Current c)  | 
boolean | 
isGroupRead(Ice.Current c)  | 
boolean | 
isGroupWrite(Ice.Current c)  | 
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 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)
Throws  
ClientError if mutation not allowed. | 
void | 
setGroupRead(boolean value,
            Ice.Current c)
Throws  
ClientError if mutation not allowed. | 
void | 
setGroupWrite(boolean value,
             Ice.Current c)
Throws  
ClientError if mutation not allowed. | 
void | 
setPerm1(java.lang.Long perm1)  | 
void | 
setPerm1(long perm1,
        Ice.Current current)
Do not use!
 Throws  
ClientError if mutation not allowed. | 
void | 
setUserAnnotate(boolean value,
               Ice.Current c)
Throws  
ClientError if mutation not allowed. | 
void | 
setUserRead(boolean value,
           Ice.Current c)
Throws  
ClientError if mutation not allowed. | 
void | 
setUserWrite(boolean value,
            Ice.Current c)
Throws  
ClientError if mutation not allowed. | 
void | 
setWorldAnnotate(boolean value,
                Ice.Current c)
Throws  
ClientError if mutation not allowed. | 
void | 
setWorldRead(boolean value,
            Ice.Current c)
Throws  
ClientError if mutation not allowed. | 
void | 
setWorldWrite(boolean value,
             Ice.Current c)
Throws  
ClientError if mutation not allowed. | 
java.lang.String | 
toString()
produces a String representation of the  
PermissionsI similar to
 those on a Unix filesystem. | 
void | 
unload(Ice.Current c)  | 
___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, setWorldWritepublic PermissionsI()
public PermissionsI(java.lang.String representation)
public PermissionsI(PermissionsI perms)
public PermissionsI(ome.model.internal.Permissions sourceP)
public void ice_postUnmarshal()
__immutable to true so that clients consuming this
 object cannot alter them.ice_postUnmarshal in interface Ice.Objectice_postUnmarshal in class Ice.ObjectImplpublic boolean isRestricted(java.lang.String restriction,
                            Ice.Current __current)
_PermissionsOperationsisRestricted in interface _PermissionsOperations__current - The Current object for the invocation.public boolean isDisallow(int restriction,
                          Ice.Current c)
_PermissionsOperationsisDisallow in interface _PermissionsOperationsc - The Current object for the invocation.public boolean canAnnotate(Ice.Current c)
_PermissionsOperationscanAnnotate in interface _PermissionsOperationsc - The Current object for the invocation.public boolean canChgrp(Ice.Current c)
_PermissionsOperationscanChgrp in interface _PermissionsOperationsc - The Current object for the invocation.public boolean canChown(Ice.Current c)
_PermissionsOperationscanChown in interface _PermissionsOperationsc - The Current object for the invocation.public boolean canDelete(Ice.Current c)
_PermissionsOperationscanDelete in interface _PermissionsOperationsc - The Current object for the invocation.public boolean canEdit(Ice.Current c)
_PermissionsOperationscanEdit in interface _PermissionsOperationsc - The Current object for the invocation.public boolean canLink(Ice.Current c)
_PermissionsOperationscanLink in interface _PermissionsOperationsc - The Current object for the invocation.public long getPerm1(Ice.Current current)
_PermissionsOperationsgetPerm1 in interface _PermissionsOperationscurrent - The Current object for the invocation.public void setPerm1(long perm1,
                     Ice.Current current)
_PermissionsOperationsClientError if mutation not allowed.setPerm1 in interface _PermissionsOperationscurrent - The Current object for the invocation.public void setPerm1(java.lang.Long perm1)
public void copyObject(ome.util.Filterable model,
                       ome.util.ModelMapper _mapper)
copyObject in interface ome.model.ModelBasedpublic ome.util.Filterable fillObject(ome.util.ReverseModelMapper _mapper)
fillObject in interface ome.model.ModelBasedpublic void unload(Ice.Current c)
public boolean isUserRead(Ice.Current c)
isUserRead in interface _PermissionsOperationspublic void setUserRead(boolean value,
                        Ice.Current c)
_PermissionsOperationsClientError if mutation not allowed.setUserRead in interface _PermissionsOperationsc - The Current object for the invocation.public boolean isUserWrite(Ice.Current c)
isUserWrite in interface _PermissionsOperationspublic void setUserWrite(boolean value,
                         Ice.Current c)
_PermissionsOperationsClientError if mutation not allowed.setUserWrite in interface _PermissionsOperationsc - The Current object for the invocation.public boolean isUserAnnotate(Ice.Current c)
isUserAnnotate in interface _PermissionsOperationspublic void setUserAnnotate(boolean value,
                            Ice.Current c)
_PermissionsOperationsClientError if mutation not allowed.setUserAnnotate in interface _PermissionsOperationsc - The Current object for the invocation.public boolean isGroupRead(Ice.Current c)
isGroupRead in interface _PermissionsOperationspublic void setGroupRead(boolean value,
                         Ice.Current c)
_PermissionsOperationsClientError if mutation not allowed.setGroupRead in interface _PermissionsOperationsc - The Current object for the invocation.public boolean isGroupWrite(Ice.Current c)
isGroupWrite in interface _PermissionsOperationspublic void setGroupWrite(boolean value,
                          Ice.Current c)
_PermissionsOperationsClientError if mutation not allowed.setGroupWrite in interface _PermissionsOperationsc - The Current object for the invocation.public boolean isGroupAnnotate(Ice.Current c)
isGroupAnnotate in interface _PermissionsOperationspublic void setGroupAnnotate(boolean value,
                             Ice.Current c)
_PermissionsOperationsClientError if mutation not allowed.setGroupAnnotate in interface _PermissionsOperationsc - The Current object for the invocation.public boolean isWorldRead(Ice.Current c)
isWorldRead in interface _PermissionsOperationspublic void setWorldRead(boolean value,
                         Ice.Current c)
_PermissionsOperationsClientError if mutation not allowed.setWorldRead in interface _PermissionsOperationsc - The Current object for the invocation.public boolean isWorldWrite(Ice.Current c)
isWorldWrite in interface _PermissionsOperationspublic void setWorldWrite(boolean value,
                          Ice.Current c)
_PermissionsOperationsClientError if mutation not allowed.setWorldWrite in interface _PermissionsOperationsc - The Current object for the invocation.public boolean isWorldAnnotate(Ice.Current c)
isWorldAnnotate in interface _PermissionsOperationspublic void setWorldAnnotate(boolean value,
                             Ice.Current c)
_PermissionsOperationsClientError if mutation not allowed.setWorldAnnotate in interface _PermissionsOperationsc - The Current object for the invocation.protected boolean granted(int mask,
                          int shift)
protected void set(int mask,
                   int shift,
                   boolean on)
public java.lang.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--toString in class java.lang.Object