LinkListWithData()
fill up the link list with data
$Success = $LinkObjectBackend->LinkListWithData(
LinkList => $HashRef,
UserID => 1,
);
ObjectPermission()
checks read permission for a given object and UserID.
$Permission = $LinkObject->ObjectPermission(
Object => 'ITSMChange',
Key => 123,
UserID => 1,
);
ObjectDescriptionGet()
return a hash of object descriptions
Return
%Description = (
Normal => Change# 2009102110001674
,
Long => Change# 2009102110001674: The Change Title
,
);
%Description = $LinkObject->ObjectDescriptionGet(
Key => 123,
UserID => 1,
);
ObjectSearch()
return a hash list of the search results
Return $SearchList = { NOTLINKED => { Source => { 12 => $DataOfItem12, 212 => $DataOfItem212, 332 => $DataOfItem332, }, }, };
$SearchList = $LinkObjectBackend->ObjectSearch(
SearchParams => $HashRef, # (optional)
UserID => 1,
);
LinkAddPre()
link add pre event module
$True = $LinkObject->LinkAddPre(
Key => 123,
SourceObject => 'ITSMChange',
SourceKey => 321,
Type => 'Normal',
State => 'Valid',
UserID => 1,
);
or
$True = $LinkObject->LinkAddPre(
Key => 123,
TargetObject => 'ITSMChange',
TargetKey => 321,
Type => 'Normal',
State => 'Valid',
UserID => 1,
);
LinkAddPost()
link add pre event module
$True = $LinkObject->LinkAddPost(
Key => 123,
SourceObject => 'ITSMChange',
SourceKey => 321,
Type => 'Normal',
State => 'Valid',
UserID => 1,
);
or
$True = $LinkObject->LinkAddPost(
Key => 123,
TargetObject => 'ITSMChange',
TargetKey => 321,
Type => 'Normal',
State => 'Valid',
UserID => 1,
);
LinkDeletePre()
link delete pre event module
$True = $LinkObject->LinkDeletePre(
Key => 123,
SourceObject => 'ITSMChange',
SourceKey => 321,
Type => 'Normal',
State => 'Valid',
UserID => 1,
);
or
$True = $LinkObject->LinkDeletePre(
Key => 123,
TargetObject => 'ITSMChange',
TargetKey => 321,
Type => 'Normal',
State => 'Valid',
UserID => 1,
);
LinkDeletePost()
link delete post event module
$True = $LinkObject->LinkDeletePost(
Key => 123,
SourceObject => 'ITSMChange',
SourceKey => 321,
Type => 'Normal',
State => 'Valid',
UserID => 1,
);
or
$True = $LinkObject->LinkDeletePost(
Key => 123,
TargetObject => 'ITSMChange',
TargetKey => 321,
Type => 'Normal',
State => 'Valid',
UserID => 1,
);
Hey! The above document had some coding errors, which are explained below:
Around line 1:
'=item' outside of any '=over'
=over without closing =back