RT::Record::Role::Roles - Common methods for records which "watchers" or "roles"
Returns the class name on which role searches should be based. This relates to the internal "Domain" in RT::Group and distinguishes between roles on the objects being searched and their counterpart roles on containing classes. For example, limiting on RT::Queue roles while searching for RT::Tickets.
The default implementation is:
which is the class that this collection object searches and instatiates objects for. If you're doing something hinky, you may need to override this method.
Helper function which provides joins to a watchers table both for limits and for ordering.← Back to index