public interface ResourceRelationshipBinAssignmentSession extends OsidSession
This session provides methods to re-assign  ResourceRelationships 
   to  Bins.  A  ResourceRelationship  may 
  map to multiple  Bin  objects and removing the last reference 
  to a  ResourceRelationship  is the equivalent of deleting it. 
  Each  Bin  may have its own authorizations governing who is 
  allowed to operate on it. 
 Moving or adding a reference of a  ResourceRelationship  
  to another  Bin  is not a copy operation (eg: does not change 
  its  Id  ). 
| Modifier and Type | Method and Description | 
|---|---|
| void | assignResourceRelationshipToBin(Id resourceRelationshipId,
                               Id binId)Adds an existing   ResourceRelationship to a Bin. | 
| boolean | canAssignResourceRelationships()Tests if this user can alter resource relationship/bin mappings. | 
| boolean | canAssignResourceRelationshipsToBin(Id binId)Tests if this user can alter resource relationship/bin mappings. | 
| IdList | getAssignableBinIds(Id binId)Gets a list of bins including and under the given bin node in which 
  any resource relationship can be assigned. | 
| IdList | getAssignableBinIdsForResourceRelationship(Id binId,
                                          Id resourceRelationshipId)Gets a list of bins including and under the given bin node in which a 
  specific resource relationship can be assigned. | 
| void | unassignResourceRelationshipFromBin(Id resourceRelationshipId,
                                   Id binId)Removes a   ResourceRelationship from a Bin. | 
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactionscloseboolean canAssignResourceRelationships()
 PERMISSION_DENIED.  This is intended as 
  a hint to an application that may opt not to offer lookup operations 
  to unauthorized users. false  if mapping is not authorized,  true 
           otherwisemandatory - This method must be implemented. boolean canAssignResourceRelationshipsToBin(Id binId)
 PERMISSION_DENIED  . This is intended 
  as a hint to an application that may opt not to offer lookup 
  operations to unauthorized users.binId - the  Id  of the  Bin  false  if mapping is not authorized,  true 
           otherwiseNullArgumentException -  binId  is  
          null mandatory - This method must be implemented. IdList getAssignableBinIds(Id binId) throws OperationFailedException
binId - the  Id  of the  Bin  Ids NullArgumentException -  binId  is  
          null OperationFailedException - unable to complete requestmandatory - This method must be implemented. IdList getAssignableBinIdsForResourceRelationship(Id binId, Id resourceRelationshipId) throws OperationFailedException
binId - the  Id  of the  Bin resourceRelationshipId - the  Id  of the  
          ResourceRelationship  Ids NullArgumentException -  binId  or  
          resourceRelationshipId  is  null OperationFailedException - unable to complete requestmandatory - This method must be implemented. void assignResourceRelationshipToBin(Id resourceRelationshipId, Id binId) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException
 ResourceRelationship  to a  Bin. 
  resourceRelationshipId - the  Id  of the  
          ResourceRelationship binId - the  Id  of the  Bin AlreadyExistsException -  resourceRelationshipId 
           is already assigned to  binId NotFoundException -  resourceRelationshipId 
           or  binId  not foundNullArgumentException -  resourceRelationshipId 
           or  binId  is  null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. void unassignResourceRelationshipFromBin(Id resourceRelationshipId, Id binId) throws NotFoundException, OperationFailedException, PermissionDeniedException
 ResourceRelationship  from a  Bin. 
  resourceRelationshipId - the  Id  of the  
          ResourceRelationship binId - the  Id  of the  Bin NotFoundException -  resourceRelationshipId 
           or  binId  not found or  
          resourceRelationshipId  not assigned to  binId 
          NullArgumentException -  resourceRelationshipId 
           or  binId  is  null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented.