new UserDelegationList()
        Create a new instance of Delegations
    
    
    
    
    
    
    
    
    
- Source:
- User/UserDelegationList.js, line 32
 
- See:
Properties:
| Name | Type | Description | 
|---|---|---|
| active | Array | Array of active delegations. | 
| inactive | Array | Array of inactive delegations. | 
| pending | Array | Array of pending delegations. | 
| author | Object | The author of the resource | 
| delegations | Array | Array of delegations. | 
Methods
- 
    generate_xml(options)
- 
    
    
    Generates a save/update xml to be posted to the server.Parameters:Name Type Description optionsobject options to be used during the call 
 PropertiesName Type Argument Description onSuccessResource~onSuccess a callback function called in case of a success onFailureResource~onFailure <optional> 
 a callback function called in case of a failure baseUrlString <optional> 
 base URL. If not set the current base URL will be used statusstring <optional> 
 status of delegation (will be set to PENDING if null) authorUser user delegating contributorUser user delegated projectproject <optional> 
 project associated startDateDate expiration date - Source:
- User/UserDelegationList.js, line 158
 
 
- 
    generateUrl()
- 
    
    
    Overrides Resource's generateUrl method to return the request url- Source:
- User/UserDelegationList.js, line 55
 
- See:
 
- 
    harcodedValues(paramGroup, localID) → {String}
- 
    
    
    Retrieve harcoded values for the user class.Parameters:Name Type Description paramGroupString group of parameters localIDString the local identifier - Source:
- User/UserDelegationList.js, line 204
 
 Returns:value - the return harcoded value- Type
- String
 
- 
    loadPreset()
- 
    
    
    Overrides Resource's loadPreset method.- Source:
- User/UserDelegationList.js, line 49
 
- See:
 
- 
    loadSet(rObject)
- 
    
    
    Overrides Resource's loadSet method to set local variables after request.Parameters:Name Type Description rObjectjson JSON representation of the loaded data. - Source:
- User/UserDelegationList.js, line 65
 
- See:
 
- 
    save(options)
- 
    
    
    Creates a new Delegation.Parameters:Name Type Description optionsobject options to be used during the call 
 PropertiesName Type Argument Description onSuccessResource~onSuccess a callback function called in case of a success onFailureResource~onFailure <optional> 
 a callback function called in case of a failure baseUrlString <optional> 
 base URL. If not set the current base URL will be used statusstring <optional> 
 status of delegation (will be set to PENDING if null) authorUser user delegating contributorUser user delegated projectproject <optional> 
 project associated startDateDate expiration date - Source:
- User/UserDelegationList.js, line 141
 
 
