RT::ObjectKeyword(3)

NAME
  RT::ObjectKeyword -- a keyword tied to an object in the database

SYNOPSIS
  use RT::ObjectKeyword;

DESCRIPTION
This module should never be called directly by client code. it's an internal module which should only be accessed through exported APIs in Ticket, Queue and other similar objects.

METHODS

NAME
 RT::ObjectKeyword - Manipulate an RT::ObjectKeyword record

SYNOPSIS
  use RT::ObjectKeyword;

  my $keyword = RT::ObjectKeyword->new($CurrentUser);
  $keyword->Create;

DESCRIPTION
An RT::ObjectKeyword object associates an RT::Keyword with another object (currently only RT::Ticket.

This module should NEVER be called directly by client code. its API is entirely through RT ticket or other objects which can have keywords assigned.

METHODS

new CURRENT_USER
    Takes a single argument, an RT::CurrentUser object. Instantiates a new (uncreated) RT::ObjectKeyword object.

Create KEY => VALUE, ...
    Takes a list of key/value pairs and creates a the object. Returns the id of the newly created record, or false if there was an error.

    Keys are:

    Keyword - link to the RT::Keyword ObjectType - currently only "Ticket" ObjectId - link to the object specified in ObjectType

KeywordObj
    Returns an RT::Keyword object of the Keyword associated with this ObjectKeyword.

KeywordSelectObj
    Returns an RT::KeywordSelect object of the KeywordSelect associated with this ObjectKeyword.

KeywordRelativePath
    Returns a string of the Keyword's path relative to this ObjectKeyword's KeywordSelect

AUTHOR
Ivan Kohler <ivan-rt@420.am>

BUGS
Yes.

SEE ALSO
RT::ObjectKeywords, RT::Keyword, RT::Keywords, RT::Ticket, RT::Record