RT::Record::Role::Links - Common methods for records which handle links
Usually provided by "_AddLink" in RT::Record.
Usually provided by "_DeleteLink" in RT::Record.
Calls _AddLink (usually "_AddLink" in RT::Record) for all valid link types and aliases found in the hash. Refer to "%TYPEMAP" in RT::Link for details of link types. Key values may be a single URI or an arrayref of URIs.
Takes two hashrefs. The first is the argument hash provided to the consuming class's Create method. The second is optional and contains extra arguments to pass to _AddLink.
By default records a transaction on the link's destination object (if any), but not on the origin object.
Returns an array of localized error messages, if any.
Takes a paramhash of Type and one of Base or Target. Adds that link to this record.
Takes a paramhash of Type and one of Base or Target. Removes that link from the record.← Back to index