RT::ObjectCustomRole - record representing addition of a custom role to an object
This record is created if you want to add a custom role to an object.
Inherits methods from RT::Record::AddAndSort.
For most operations it's better to use methods in RT::CustomRole.
Returns table name for records of this class.
Returns class name of collection of records this custom role can be added to by consulting the custom role's LookupType
.
Returns the RT::CustomRole object with the id returned by "CustomRole"
Returns the object which this ObjectCustomRole is added to
Adds the custom role to the object and creates (or re-enables) that object's role group.
Removes the custom role from the object and disables that object's role group.
Returns the current value of id. (In the database, id is stored as int(11).)
Returns the current value of CustomRole. (In the database, CustomRole is stored as int(11).)
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).)
Returns the current value of ObjectId. (In the database, ObjectId is stored as int(11).)
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).)
Returns the current value of SortOrder. (In the database, SortOrder is stored as int(11).)
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).)
Returns the current value of Creator. (In the database, Creator is stored as int(11).)
Returns the current value of Created. (In the database, Created is stored as datetime.)
Returns the current value of LastUpdatedBy. (In the database, LastUpdatedBy is stored as int(11).)
Returns the current value of LastUpdated. (In the database, LastUpdated is stored as datetime.)
← Back to index