Developer
User Docs ↗
You are viewing documentation for RT 4.4.2, which is end-of-life and no longer supported. The current release is 6.0.4 (view the current version of this page).
RT supports upgrading from all older versions. See the README for instructions or contact us for assistance.

NAME

RT::Record::Role::Roles - Common methods for records which "watchers" or "roles"

REQUIRES

RT::SearchBuilder::Role

PROVIDES

_RoleGroupClass

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:

    $self->RecordClass

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.

_WatcherJoin

Helper function which provides joins to a watchers table both for limits and for ordering.

← Back to index