RT 4.4.0 Documentation
RT::ObjectCustomRole
NAME
RT::ObjectCustomRole - record representing addition of a custom role to a queue
DESCRIPTION
This record is created if you want to add a custom role to a queue.
Inherits methods from RT::Record::AddAndSort.
For most operations it's better to use methods in RT::CustomRole.
METHODS
Table
Returns table name for records of this class.
ObjectCollectionClass
Returns class name of collection of records custom roles can be added to. Now it's only RT::Queue, so 'RT::Queues' is returned.
CustomRoleObj
Returns the RT::CustomRole object with the id returned by "CustomRole"
QueueObj
Returns the RT::Queue object which this ObjectCustomRole is added to
Add
Adds the custom role to the queue and creates (or re-enables) that queue's role group.
Delete
Removes the custom role from the queue and disables that queue's role group.
id
Returns the current value of id. (In the database, id is stored as int(11).)
CustomRole
Returns the current value of CustomRole. (In the database, CustomRole is stored as int(11).)
SetCustomRole VALUE
Set CustomRole to VALUE. Returns (1, 'Status message') on success and (0, 'Error Message') on failure. (In the database, CustomRole will be stored as a int(11).)
ObjectId
Returns the current value of ObjectId. (In the database, ObjectId is stored as int(11).)
SetObjectId VALUE
Set ObjectId to VALUE. Returns (1, 'Status message') on success and (0, 'Error Message') on failure. (In the database, ObjectId will be stored as a int(11).)
SortOrder
Returns the current value of SortOrder. (In the database, SortOrder is stored as int(11).)
SetSortOrder VALUE
Set SortOrder to VALUE. Returns (1, 'Status message') on success and (0, 'Error Message') on failure. (In the database, SortOrder will be stored as a int(11).)
Creator
Returns the current value of Creator. (In the database, Creator is stored as int(11).)
Created
Returns the current value of Created. (In the database, Created is stored as datetime.)
LastUpdatedBy
Returns the current value of LastUpdatedBy. (In the database, LastUpdatedBy is stored as int(11).)
LastUpdated
Returns the current value of LastUpdated. (In the database, LastUpdated is stored as datetime.)
← Back to index