| 1 | package Net::MySourceMatrix; | ||||||||||
| 2 | |||||||||||
| 3 | 1 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 1 | ▶ | use 5.008005; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | 1 | ▶ | use SOAP::Lite; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 6 | 1 | ▶ | use MIME::Base64 qw(encode_base64); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 7 | |||||||||||
| 8 | 1 | our $VERSION = '0.04'; | |||||||||
| 9 | |||||||||||
| 10 | 0 | ▶ | sub new { | ||||||||
|
Subroutine
new: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 11 | |||||||||||
| 12 | 0 | my ($class, $args) = @_; | |||||||||
| 13 | 0 | my $self = bless($args, $class); | |||||||||
| 14 | |||||||||||
| 15 | #create and initialise the soap client | ||||||||||
| 16 | 0 | $self->{soap} = $self->create_soap_client(); | |||||||||
| 17 | 0 | return $self; | |||||||||
| 18 | } | ||||||||||
| 19 | |||||||||||
| 20 | 0 | ▶ | sub create_soap_client { | ||||||||
|
Subroutine
create_soap_client: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||
| 21 | |||||||||||
| 22 | 0 | my ($self, %param) = @_; | |||||||||
| 23 | |||||||||||
| 24 | 0 | my $client = SOAP::Lite->new( proxy => $self->{proxy}); | |||||||||
| 25 | $client->transport->http_request->header ( | ||||||||||
| 26 | 'Authorization' => 'Basic '.encode_base64($self->{username}.":".$self->{password}) | ||||||||||
| 27 | 0 | ); | |||||||||
| 28 | 0 | $client->autotype(0); | |||||||||
| 29 | 0 | $client->default_ns($self->{default_ns}); | |||||||||
| 30 | 0 | return $client; | |||||||||
| 31 | } | ||||||||||
| 32 | |||||||||||
| 33 | 0 | ▶ | sub create_asset_link { | ||||||||
|
Subroutine
create_asset_link: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 34 | |||||||||||
| 35 | 0 | my ($self, %param) = @_; | |||||||||
| 36 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#CreateAssetLink" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 37 | my $som = $self->{soap}->call("CreateAssetLink", | ||||||||||
| 38 | SOAP::Data->name('MajorID')->value($param{MajorID}), | ||||||||||
| 39 | SOAP::Data->name('MinorID')->value($param{MinorID}), | ||||||||||
| 40 | SOAP::Data->name('LinkType')->value($param{LinkType}), | ||||||||||
| 41 | SOAP::Data->name('LinkValue')->value($param{LinkValue}), | ||||||||||
| 42 | SOAP::Data->name('SortOrder')->value($param{SortOrder}), | ||||||||||
| 43 | SOAP::Data->name('IsDependant')->value($param{IsDependant}), | ||||||||||
| 44 | 0 | SOAP::Data->name('IsExclusive')->value($param{IsExclusive}), | |||||||||
| 45 | ); | ||||||||||
| 46 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 47 | 0 | return ( $som->valueof('//CreateAssetLinkResult'),); | |||||||||
| 48 | } | ||||||||||
| 49 | |||||||||||
| 50 | 0 | ▶ | sub delete_asset_link { | ||||||||
|
Subroutine
delete_asset_link: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 51 | |||||||||||
| 52 | 0 | my ($self, %param) = @_; | |||||||||
| 53 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#DeleteAssetLink" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 54 | my $som = $self->{soap}->call("DeleteAssetLink", | ||||||||||
| 55 | 0 | SOAP::Data->name('LinkID')->value($param{LinkID}), | |||||||||
| 56 | ); | ||||||||||
| 57 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 58 | 0 | return ( $som->valueof('//DeleteAssetLinkResult'),); | |||||||||
| 59 | } | ||||||||||
| 60 | |||||||||||
| 61 | 0 | ▶ | sub get_all_child_links { | ||||||||
|
Subroutine
get_all_child_links: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 62 | |||||||||||
| 63 | 0 | my ($self, %param) = @_; | |||||||||
| 64 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#GetAllChildLinks" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 65 | my $som = $self->{soap}->call("GetAllChildLinks", | ||||||||||
| 66 | SOAP::Data->name('AssetID')->value($param{AssetID}), | ||||||||||
| 67 | 0 | SOAP::Data->name('LinkType')->value($param{LinkType}), | |||||||||
| 68 | ); | ||||||||||
| 69 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 70 | 0 | return ( $som->valueof('//GetAllChildLinksResult'),); | |||||||||
| 71 | } | ||||||||||
| 72 | |||||||||||
| 73 | 0 | ▶ | sub get_children { | ||||||||
|
Subroutine
get_children: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 74 | |||||||||||
| 75 | 0 | my ($self, %param) = @_; | |||||||||
| 76 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#GetChildren" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 77 | my $som = $self->{soap}->call("GetChildren", | ||||||||||
| 78 | SOAP::Data->name('AssetID')->value($param{AssetID}), | ||||||||||
| 79 | SOAP::Data->name('TypeCode')->value($param{TypeCode}), | ||||||||||
| 80 | SOAP::Data->name('StrictTypeCode')->value($param{StrictTypeCode}), | ||||||||||
| 81 | SOAP::Data->name('Dependant')->value($param{Dependant}), | ||||||||||
| 82 | SOAP::Data->name('SortBy')->value($param{SortBy}), | ||||||||||
| 83 | SOAP::Data->name('PermissionLevel')->value($param{PermissionLevel}), | ||||||||||
| 84 | SOAP::Data->name('EffectiveAccess')->value($param{EffectiveAccess}), | ||||||||||
| 85 | SOAP::Data->name('MinDepth')->value($param{MinDepth}), | ||||||||||
| 86 | SOAP::Data->name('MaxDepth')->value($param{MaxDepth}), | ||||||||||
| 87 | SOAP::Data->name('DirectShadowsOnly')->value($param{DirectShadowsOnly}), | ||||||||||
| 88 | 0 | SOAP::Data->name('LinkValueWanted')->value($param{LinkValueWanted}), | |||||||||
| 89 | ); | ||||||||||
| 90 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 91 | 0 | return ( $som->valueof('//GetChildrenResult'),); | |||||||||
| 92 | } | ||||||||||
| 93 | |||||||||||
| 94 | 0 | ▶ | sub get_dependant_children { | ||||||||
|
Subroutine
get_dependant_children: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 95 | |||||||||||
| 96 | 0 | my ($self, %param) = @_; | |||||||||
| 97 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#GetDependantChildren" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 98 | my $som = $self->{soap}->call("GetDependantChildren", | ||||||||||
| 99 | SOAP::Data->name('AssetID')->value($param{AssetID}), | ||||||||||
| 100 | SOAP::Data->name('TypeCode')->value($param{TypeCode}), | ||||||||||
| 101 | 0 | SOAP::Data->name('StrictTypeCode')->value($param{StrictTypeCode}), | |||||||||
| 102 | ); | ||||||||||
| 103 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 104 | 0 | return ( $som->valueof('//GetDependantChildrenResult'),); | |||||||||
| 105 | } | ||||||||||
| 106 | |||||||||||
| 107 | 0 | ▶ | sub get_dependant_parents { | ||||||||
|
Subroutine
get_dependant_parents: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 108 | |||||||||||
| 109 | 0 | my ($self, %param) = @_; | |||||||||
| 110 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#GetDependantParents" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 111 | my $som = $self->{soap}->call("GetDependantParents", | ||||||||||
| 112 | SOAP::Data->name('AssetID')->value($param{AssetID}), | ||||||||||
| 113 | SOAP::Data->name('TypeCode')->value($param{TypeCode}), | ||||||||||
| 114 | SOAP::Data->name('StrictTypeCode')->value($param{StrictTypeCode}), | ||||||||||
| 115 | 0 | SOAP::Data->name('IncludeAllDependants')->value($param{IncludeAllDependants}), | |||||||||
| 116 | ); | ||||||||||
| 117 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 118 | 0 | return ( $som->valueof('//GetDependantParentsResult'),); | |||||||||
| 119 | } | ||||||||||
| 120 | |||||||||||
| 121 | 0 | ▶ | sub get_links { | ||||||||
|
Subroutine
get_links: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 122 | |||||||||||
| 123 | 0 | my ($self, %param) = @_; | |||||||||
| 124 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#GetLinks" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 125 | my $som = $self->{soap}->call("GetLinks", | ||||||||||
| 126 | SOAP::Data->name('AssetID')->value($param{AssetID}), | ||||||||||
| 127 | SOAP::Data->name('LinkType')->value($param{LinkType}), | ||||||||||
| 128 | SOAP::Data->name('TypeCode')->value($param{TypeCode}), | ||||||||||
| 129 | SOAP::Data->name('StrictTypeCode')->value($param{StrictTypeCode}), | ||||||||||
| 130 | SOAP::Data->name('SideOfLink')->value($param{SideOfLink}), | ||||||||||
| 131 | SOAP::Data->name('LinkValue')->value($param{LinkValue}), | ||||||||||
| 132 | SOAP::Data->name('Dependant')->value($param{Dependant}), | ||||||||||
| 133 | SOAP::Data->name('Exclusive')->value($param{Exclusive}), | ||||||||||
| 134 | SOAP::Data->name('SortBy')->value($param{SortBy}), | ||||||||||
| 135 | SOAP::Data->name('PermissionLevel')->value($param{PermissionLevel}), | ||||||||||
| 136 | 0 | SOAP::Data->name('Effective')->value($param{Effective}), | |||||||||
| 137 | ); | ||||||||||
| 138 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 139 | 0 | return ( $som->valueof('//GetLinksResult'),); | |||||||||
| 140 | } | ||||||||||
| 141 | |||||||||||
| 142 | 0 | ▶ | sub get_link_by_asset { | ||||||||
|
Subroutine
get_link_by_asset: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 143 | |||||||||||
| 144 | 0 | my ($self, %param) = @_; | |||||||||
| 145 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#GetLinkByAsset" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 146 | my $som = $self->{soap}->call("GetLinkByAsset", | ||||||||||
| 147 | SOAP::Data->name('AssetID')->value($param{AssetID}), | ||||||||||
| 148 | SOAP::Data->name('OtherAssetID')->value($param{OtherAssetID}), | ||||||||||
| 149 | SOAP::Data->name('LinkType')->value($param{LinkType}), | ||||||||||
| 150 | SOAP::Data->name('LinkValue')->value($param{LinkValue}), | ||||||||||
| 151 | SOAP::Data->name('SideOfLink')->value($param{SideOfLink}), | ||||||||||
| 152 | SOAP::Data->name('IsDependant')->value($param{IsDependant}), | ||||||||||
| 153 | 0 | SOAP::Data->name('IsExclusive')->value($param{IsExclusive}), | |||||||||
| 154 | ); | ||||||||||
| 155 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 156 | 0 | return ( $som->valueof('//GetLinkByAssetResult'),); | |||||||||
| 157 | } | ||||||||||
| 158 | |||||||||||
| 159 | 0 | ▶ | sub get_link_lineages { | ||||||||
|
Subroutine
get_link_lineages: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 160 | |||||||||||
| 161 | 0 | my ($self, %param) = @_; | |||||||||
| 162 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#GetLinkLineages" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 163 | my $som = $self->{soap}->call("GetLinkLineages", | ||||||||||
| 164 | SOAP::Data->name('AssetID')->value($param{AssetID}), | ||||||||||
| 165 | 0 | SOAP::Data->name('RootNode')->value($param{RootNode}), | |||||||||
| 166 | ); | ||||||||||
| 167 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 168 | 0 | return ( $som->valueof('//GetLinkLineagesResult'),); | |||||||||
| 169 | } | ||||||||||
| 170 | |||||||||||
| 171 | 0 | ▶ | sub move_link { | ||||||||
|
Subroutine
move_link: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 172 | |||||||||||
| 173 | 0 | my ($self, %param) = @_; | |||||||||
| 174 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#MoveLink" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 175 | my $som = $self->{soap}->call("MoveLink", | ||||||||||
| 176 | SOAP::Data->name('LinkID')->value($param{LinkID}), | ||||||||||
| 177 | SOAP::Data->name('LinkType')->value($param{LinkType}), | ||||||||||
| 178 | SOAP::Data->name('ToParentID')->value($param{ToParentID}), | ||||||||||
| 179 | 0 | SOAP::Data->name('ToParentPosition')->value($param{ToParentPosition}), | |||||||||
| 180 | ); | ||||||||||
| 181 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 182 | 0 | return ( $som->valueof('//MoveLinkResult'),); | |||||||||
| 183 | } | ||||||||||
| 184 | |||||||||||
| 185 | 0 | ▶ | sub update_link { | ||||||||
|
Subroutine
update_link: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 186 | |||||||||||
| 187 | 0 | my ($self, %param) = @_; | |||||||||
| 188 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#UpdateLink" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 189 | my $som = $self->{soap}->call("UpdateLink", | ||||||||||
| 190 | SOAP::Data->name('LinkID')->value($param{LinkID}), | ||||||||||
| 191 | SOAP::Data->name('LinkType')->value($param{LinkType}), | ||||||||||
| 192 | SOAP::Data->name('LinkValue')->value($param{LinkValue}), | ||||||||||
| 193 | 0 | SOAP::Data->name('SortOrder')->value($param{SortOrder}), | |||||||||
| 194 | ); | ||||||||||
| 195 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 196 | 0 | return ( $som->valueof('//UpdateLinkResult'),); | |||||||||
| 197 | } | ||||||||||
| 198 | |||||||||||
| 199 | 0 | ▶ | sub get_parents { | ||||||||
|
Subroutine
get_parents: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 200 | |||||||||||
| 201 | 0 | my ($self, %param) = @_; | |||||||||
| 202 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#GetParents" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 203 | my $som = $self->{soap}->call("GetParents", | ||||||||||
| 204 | SOAP::Data->name('AssetID')->value($param{AssetID}), | ||||||||||
| 205 | SOAP::Data->name('TypeCode')->value($param{TypeCode}), | ||||||||||
| 206 | SOAP::Data->name('StrictTypeCode')->value($param{StrictTypeCode}), | ||||||||||
| 207 | SOAP::Data->name('SortBy')->value($param{SortBy}), | ||||||||||
| 208 | SOAP::Data->name('PermissionLevel')->value($param{PermissionLevel}), | ||||||||||
| 209 | SOAP::Data->name('Effective')->value($param{Effective}), | ||||||||||
| 210 | SOAP::Data->name('MinDepth')->value($param{MinDepth}), | ||||||||||
| 211 | SOAP::Data->name('MaxDepth')->value($param{MaxDepth}), | ||||||||||
| 212 | SOAP::Data->name('DirectShadowOnly')->value($param{DirectShadowOnly}), | ||||||||||
| 213 | 0 | SOAP::Data->name('LinkValueWanted')->value($param{LinkValueWanted}), | |||||||||
| 214 | ); | ||||||||||
| 215 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 216 | 0 | return ( $som->valueof('//GetParentsResult'),); | |||||||||
| 217 | } | ||||||||||
| 218 | |||||||||||
| 219 | 0 | ▶ | sub get_parents_under_tree { | ||||||||
|
Subroutine
get_parents_under_tree: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 220 | |||||||||||
| 221 | 0 | my ($self, %param) = @_; | |||||||||
| 222 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#GetParentsUnderTree" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 223 | my $som = $self->{soap}->call("GetParentsUnderTree", | ||||||||||
| 224 | SOAP::Data->name('AssetID')->value($param{AssetID}), | ||||||||||
| 225 | SOAP::Data->name('RootID')->value($param{RootID}), | ||||||||||
| 226 | SOAP::Data->name('MinLevel')->value($param{MinLevel}), | ||||||||||
| 227 | 0 | SOAP::Data->name('MaxLevel')->value($param{MaxLevel}), | |||||||||
| 228 | ); | ||||||||||
| 229 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 230 | 0 | return ( $som->valueof('//ParentPaths'),); | |||||||||
| 231 | } | ||||||||||
| 232 | |||||||||||
| 233 | 0 | ▶ | sub has_access { | ||||||||
|
Subroutine
has_access: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 234 | |||||||||||
| 235 | 0 | my ($self, %param) = @_; | |||||||||
| 236 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#HasAccess" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 237 | my $som = $self->{soap}->call("HasAccess", | ||||||||||
| 238 | SOAP::Data->name('AssetID')->value($param{AssetID}), | ||||||||||
| 239 | 0 | SOAP::Data->name('PermissionLevel')->value($param{PermissionLevel}), | |||||||||
| 240 | ); | ||||||||||
| 241 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 242 | 0 | return ( $som->valueof('//HasAccessResult'),); | |||||||||
| 243 | } | ||||||||||
| 244 | |||||||||||
| 245 | 0 | ▶ | sub set_permission { | ||||||||
|
Subroutine
set_permission: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 246 | |||||||||||
| 247 | 0 | my ($self, %param) = @_; | |||||||||
| 248 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#SetPermission" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 249 | my $som = $self->{soap}->call("SetPermission", | ||||||||||
| 250 | SOAP::Data->name('AssetID')->value($param{AssetID}), | ||||||||||
| 251 | SOAP::Data->name('UserID')->value($param{UserID}), | ||||||||||
| 252 | SOAP::Data->name('PermissionLevel')->value($param{PermissionLevel}), | ||||||||||
| 253 | SOAP::Data->name('Grant')->value($param{Grant}), | ||||||||||
| 254 | 0 | SOAP::Data->name('Cascade')->value($param{Cascade}), | |||||||||
| 255 | ); | ||||||||||
| 256 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 257 | 0 | return ( $som->valueof('//SetPermissionResult'),); | |||||||||
| 258 | } | ||||||||||
| 259 | |||||||||||
| 260 | 0 | ▶ | sub get_permission { | ||||||||
|
Subroutine
get_permission: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 261 | |||||||||||
| 262 | 0 | my ($self, %param) = @_; | |||||||||
| 263 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#GetPermission" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 264 | my $som = $self->{soap}->call("GetPermission", | ||||||||||
| 265 | SOAP::Data->name('AssetID')->value($param{AssetID}), | ||||||||||
| 266 | SOAP::Data->name('PermissionLevel')->value($param{PermissionLevel}), | ||||||||||
| 267 | SOAP::Data->name('Granted')->value($param{Granted}), | ||||||||||
| 268 | SOAP::Data->name('AndGreater')->value($param{AndGreater}), | ||||||||||
| 269 | SOAP::Data->name('ExpandGroups')->value($param{ExpandGroups}), | ||||||||||
| 270 | SOAP::Data->name('AllInfo')->value($param{AllInfo}), | ||||||||||
| 271 | 0 | SOAP::Data->name('CollapseRoles')->value($param{CollapseRoles}), | |||||||||
| 272 | ); | ||||||||||
| 273 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 274 | 0 | return ( $som->valueof('//GetPermissionResult'),); | |||||||||
| 275 | } | ||||||||||
| 276 | |||||||||||
| 277 | 0 | ▶ | sub get_role { | ||||||||
|
Subroutine
get_role: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 278 | |||||||||||
| 279 | 0 | my ($self, %param) = @_; | |||||||||
| 280 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#GetRole" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 281 | my $som = $self->{soap}->call("GetRole", | ||||||||||
| 282 | SOAP::Data->name('AssetID')->value($param{AssetID}), | ||||||||||
| 283 | SOAP::Data->name('RoleID')->value($param{RoleID}), | ||||||||||
| 284 | SOAP::Data->name('UserID')->value($param{UserID}), | ||||||||||
| 285 | SOAP::Data->name('IncludeAssetID')->value($param{IncludeAssetID}), | ||||||||||
| 286 | SOAP::Data->name('IncludeGlobals')->value($param{IncludeGlobals}), | ||||||||||
| 287 | SOAP::Data->name('ExpandGroups')->value($param{ExpandGroups}), | ||||||||||
| 288 | 0 | SOAP::Data->name('IncludeDependants')->value($param{IncludeDependants}), | |||||||||
| 289 | ); | ||||||||||
| 290 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 291 | 0 | return ( $som->valueof('//GetRoleResult'),); | |||||||||
| 292 | } | ||||||||||
| 293 | |||||||||||
| 294 | 0 | ▶ | sub set_role { | ||||||||
|
Subroutine
set_role: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 295 | |||||||||||
| 296 | 0 | my ($self, %param) = @_; | |||||||||
| 297 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#SetRole" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 298 | my $som = $self->{soap}->call("SetRole", | ||||||||||
| 299 | SOAP::Data->name('AssetID')->value($param{AssetID}), | ||||||||||
| 300 | SOAP::Data->name('RoleID')->value($param{RoleID}), | ||||||||||
| 301 | SOAP::Data->name('UserID')->value($param{UserID}), | ||||||||||
| 302 | SOAP::Data->name('Action')->value($param{Action}), | ||||||||||
| 303 | 0 | SOAP::Data->name('GlobalRole')->value($param{GlobalRole}), | |||||||||
| 304 | ); | ||||||||||
| 305 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 306 | 0 | return ( $som->valueof('//SetRoleResult'),); | |||||||||
| 307 | } | ||||||||||
| 308 | |||||||||||
| 309 | 0 | ▶ | sub apply_design { | ||||||||
|
Subroutine
apply_design: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 310 | |||||||||||
| 311 | 0 | my ($self, %param) = @_; | |||||||||
| 312 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#ApplyDesign" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 313 | my $som = $self->{soap}->call("ApplyDesign", | ||||||||||
| 314 | SOAP::Data->name('DesignID')->value($param{DesignID}), | ||||||||||
| 315 | SOAP::Data->name('AssetID')->value($param{AssetID}), | ||||||||||
| 316 | SOAP::Data->name('DesignType')->value($param{DesignType}), | ||||||||||
| 317 | 0 | SOAP::Data->name('UserDefinedDesignName')->value($param{UserDefinedDesignName}), | |||||||||
| 318 | ); | ||||||||||
| 319 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 320 | 0 | return ( $som->valueof('//ApplyDesignResult'),); | |||||||||
| 321 | } | ||||||||||
| 322 | |||||||||||
| 323 | 0 | ▶ | sub remove_design { | ||||||||
|
Subroutine
remove_design: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 324 | |||||||||||
| 325 | 0 | my ($self, %param) = @_; | |||||||||
| 326 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#RemoveDesign" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 327 | my $som = $self->{soap}->call("RemoveDesign", | ||||||||||
| 328 | SOAP::Data->name('DesignID')->value($param{DesignID}), | ||||||||||
| 329 | SOAP::Data->name('AssetID')->value($param{AssetID}), | ||||||||||
| 330 | SOAP::Data->name('DesignType')->value($param{DesignType}), | ||||||||||
| 331 | 0 | SOAP::Data->name('UserDefinedDesignName')->value($param{UserDefinedDesignName}), | |||||||||
| 332 | ); | ||||||||||
| 333 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 334 | 0 | return ( $som->valueof('//RemoveDesignResult'),); | |||||||||
| 335 | } | ||||||||||
| 336 | |||||||||||
| 337 | 0 | ▶ | sub get_design_from_url { | ||||||||
|
Subroutine
get_design_from_url: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 338 | |||||||||||
| 339 | 0 | my ($self, %param) = @_; | |||||||||
| 340 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#GetDesignFromURL" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 341 | my $som = $self->{soap}->call("GetDesignFromURL", | ||||||||||
| 342 | SOAP::Data->name('URL')->value($param{URL}), | ||||||||||
| 343 | SOAP::Data->name('DesignType')->value($param{DesignType}), | ||||||||||
| 344 | 0 | SOAP::Data->name('UserDefinedDesignName')->value($param{UserDefinedDesignName}), | |||||||||
| 345 | ); | ||||||||||
| 346 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 347 | 0 | return ( $som->valueof('//GetDesignFromURLResult'),); | |||||||||
| 348 | } | ||||||||||
| 349 | |||||||||||
| 350 | 0 | ▶ | sub apply_asset_paint_layout { | ||||||||
|
Subroutine
apply_asset_paint_layout: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 351 | |||||||||||
| 352 | 0 | my ($self, %param) = @_; | |||||||||
| 353 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#ApplyAssetPaintLayout" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 354 | my $som = $self->{soap}->call("ApplyAssetPaintLayout", | ||||||||||
| 355 | SOAP::Data->name('PaintLayoutID')->value($param{PaintLayoutID}), | ||||||||||
| 356 | SOAP::Data->name('AssetID')->value($param{AssetID}), | ||||||||||
| 357 | 0 | SOAP::Data->name('PaintLayoutType')->value($param{PaintLayoutType}), | |||||||||
| 358 | ); | ||||||||||
| 359 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 360 | 0 | return ( $som->valueof('//ApplyAssetPaintLayoutResult'),); | |||||||||
| 361 | } | ||||||||||
| 362 | |||||||||||
| 363 | 0 | ▶ | sub remove_asset_paint_layout { | ||||||||
|
Subroutine
remove_asset_paint_layout: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 364 | |||||||||||
| 365 | 0 | my ($self, %param) = @_; | |||||||||
| 366 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#RemoveAssetPaintLayout" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 367 | my $som = $self->{soap}->call("RemoveAssetPaintLayout", | ||||||||||
| 368 | SOAP::Data->name('PaintLayoutID')->value($param{PaintLayoutID}), | ||||||||||
| 369 | SOAP::Data->name('AssetID')->value($param{AssetID}), | ||||||||||
| 370 | 0 | SOAP::Data->name('PaintLayoutType')->value($param{PaintLayoutType}), | |||||||||
| 371 | ); | ||||||||||
| 372 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 373 | 0 | return ( $som->valueof('//RemoveAssetPaintLayoutResult'),); | |||||||||
| 374 | } | ||||||||||
| 375 | |||||||||||
| 376 | 0 | ▶ | sub download { | ||||||||
|
Subroutine
download: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 377 | |||||||||||
| 378 | 0 | my ($self, %param) = @_; | |||||||||
| 379 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#Download" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 380 | my $som = $self->{soap}->call("Download", | ||||||||||
| 381 | 0 | SOAP::Data->name('AssetID')->value($param{AssetID}), | |||||||||
| 382 | ); | ||||||||||
| 383 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 384 | 0 | return ( $som->valueof('//FileName'), $som->valueof('//FileType'), $som->valueof('//FileSize'), $som->valueof('//LastModified'), $som->valueof('//FileContentBase64'),); | |||||||||
| 385 | } | ||||||||||
| 386 | |||||||||||
| 387 | 0 | ▶ | sub get_file_information { | ||||||||
|
Subroutine
get_file_information: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 388 | |||||||||||
| 389 | 0 | my ($self, %param) = @_; | |||||||||
| 390 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#GetFileInformation" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 391 | my $som = $self->{soap}->call("GetFileInformation", | ||||||||||
| 392 | 0 | SOAP::Data->name('AssetID')->value($param{AssetID}), | |||||||||
| 393 | ); | ||||||||||
| 394 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 395 | 0 | return ( $som->valueof('//FileName'), $som->valueof('//FileType'), $som->valueof('//FileSize'), $som->valueof('//LastModified'),); | |||||||||
| 396 | } | ||||||||||
| 397 | |||||||||||
| 398 | 0 | ▶ | sub get_image_information { | ||||||||
|
Subroutine
get_image_information: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 399 | |||||||||||
| 400 | 0 | my ($self, %param) = @_; | |||||||||
| 401 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#GetImageInformation" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 402 | my $som = $self->{soap}->call("GetImageInformation", | ||||||||||
| 403 | 0 | SOAP::Data->name('AssetID')->value($param{AssetID}), | |||||||||
| 404 | ); | ||||||||||
| 405 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 406 | 0 | return ( $som->valueof('//FileName'), $som->valueof('//FileTitle'), $som->valueof('//FileType'), $som->valueof('//FileSize'), $som->valueof('//MimeType'), $som->valueof('//ImageWidth'), $som->valueof('//ImageHeight'), $som->valueof('//LastModified'),); | |||||||||
| 407 | } | ||||||||||
| 408 | |||||||||||
| 409 | 0 | ▶ | sub upload { | ||||||||
|
Subroutine
upload: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 410 | |||||||||||
| 411 | 0 | my ($self, %param) = @_; | |||||||||
| 412 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#Upload" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 413 | my $som = $self->{soap}->call("Upload", | ||||||||||
| 414 | SOAP::Data->name('AssetID')->value($param{AssetID}), | ||||||||||
| 415 | SOAP::Data->name('FileName')->value($param{FileName}), | ||||||||||
| 416 | 0 | SOAP::Data->name('FileContentBase64')->value($param{FileContentBase64}), | |||||||||
| 417 | ); | ||||||||||
| 418 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 419 | 0 | return ( $som->valueof('//UploadResult'),); | |||||||||
| 420 | } | ||||||||||
| 421 | |||||||||||
| 422 | 0 | ▶ | sub start_workflow { | ||||||||
|
Subroutine
start_workflow: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 423 | |||||||||||
| 424 | 0 | my ($self, %param) = @_; | |||||||||
| 425 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#StartWorkflow" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 426 | my $som = $self->{soap}->call("StartWorkflow", | ||||||||||
| 427 | 0 | SOAP::Data->name('AssetID')->value($param{AssetID}), | |||||||||
| 428 | ); | ||||||||||
| 429 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 430 | 0 | return ( $som->valueof('//StartWorkflowResult'),); | |||||||||
| 431 | } | ||||||||||
| 432 | |||||||||||
| 433 | 0 | ▶ | sub safe_edit_asset { | ||||||||
|
Subroutine
safe_edit_asset: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 434 | |||||||||||
| 435 | 0 | my ($self, %param) = @_; | |||||||||
| 436 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#SafeEditAsset" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 437 | my $som = $self->{soap}->call("SafeEditAsset", | ||||||||||
| 438 | 0 | SOAP::Data->name('AssetID')->value($param{AssetID}), | |||||||||
| 439 | ); | ||||||||||
| 440 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 441 | 0 | return ( $som->valueof('//SafeEditAssetResult'),); | |||||||||
| 442 | } | ||||||||||
| 443 | |||||||||||
| 444 | 0 | ▶ | sub cancel_workflow { | ||||||||
|
Subroutine
cancel_workflow: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 445 | |||||||||||
| 446 | 0 | my ($self, %param) = @_; | |||||||||
| 447 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#CancelWorkflow" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 448 | my $som = $self->{soap}->call("CancelWorkflow", | ||||||||||
| 449 | 0 | SOAP::Data->name('AssetID')->value($param{AssetID}), | |||||||||
| 450 | ); | ||||||||||
| 451 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 452 | 0 | return ( $som->valueof('//CancelWorkflowResult'),); | |||||||||
| 453 | } | ||||||||||
| 454 | |||||||||||
| 455 | 0 | ▶ | sub complete_workflow { | ||||||||
|
Subroutine
complete_workflow: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 456 | |||||||||||
| 457 | 0 | my ($self, %param) = @_; | |||||||||
| 458 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#CompleteWorkflow" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 459 | my $som = $self->{soap}->call("CompleteWorkflow", | ||||||||||
| 460 | 0 | SOAP::Data->name('AssetID')->value($param{AssetID}), | |||||||||
| 461 | ); | ||||||||||
| 462 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 463 | 0 | return ( $som->valueof('//CompleteWorkflowResult'),); | |||||||||
| 464 | } | ||||||||||
| 465 | |||||||||||
| 466 | 0 | ▶ | sub set_workflow_schema { | ||||||||
|
Subroutine
set_workflow_schema: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 467 | |||||||||||
| 468 | 0 | my ($self, %param) = @_; | |||||||||
| 469 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#SetWorkflowSchema" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 470 | my $som = $self->{soap}->call("SetWorkflowSchema", | ||||||||||
| 471 | SOAP::Data->name('AssetID')->value($param{AssetID}), | ||||||||||
| 472 | SOAP::Data->name('SchemaID')->value($param{SchemaID}), | ||||||||||
| 473 | SOAP::Data->name('Grant')->value($param{Grant}), | ||||||||||
| 474 | SOAP::Data->name('AutoCascadeToNewChildren')->value($param{AutoCascadeToNewChildren}), | ||||||||||
| 475 | 0 | SOAP::Data->name('Cascade')->value($param{Cascade}), | |||||||||
| 476 | ); | ||||||||||
| 477 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 478 | 0 | return ( $som->valueof('//SetWorkflowSchemaResult'),); | |||||||||
| 479 | } | ||||||||||
| 480 | |||||||||||
| 481 | 0 | ▶ | sub approve_asset_in_workflow { | ||||||||
|
Subroutine
approve_asset_in_workflow: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 482 | |||||||||||
| 483 | 0 | my ($self, %param) = @_; | |||||||||
| 484 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#ApproveAssetInWorkflow" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 485 | my $som = $self->{soap}->call("ApproveAssetInWorkflow", | ||||||||||
| 486 | SOAP::Data->name('AssetID')->value($param{AssetID}), | ||||||||||
| 487 | 0 | SOAP::Data->name('WorkflowMessage')->value($param{WorkflowMessage}), | |||||||||
| 488 | ); | ||||||||||
| 489 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 490 | 0 | return ( $som->valueof('//ApproveAssetInWorkflowResult'),); | |||||||||
| 491 | } | ||||||||||
| 492 | |||||||||||
| 493 | 0 | ▶ | sub create_asset { | ||||||||
|
Subroutine
create_asset: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 494 | |||||||||||
| 495 | 0 | my ($self, %param) = @_; | |||||||||
| 496 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#CreateAsset" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 497 | my $som = $self->{soap}->call("CreateAsset", | ||||||||||
| 498 | SOAP::Data->name('TypeCode')->value($param{TypeCode}), | ||||||||||
| 499 | SOAP::Data->name('Name')->value($param{Name}), | ||||||||||
| 500 | SOAP::Data->name('ParentID')->value($param{ParentID}), | ||||||||||
| 501 | SOAP::Data->name('LinkType')->value($param{LinkType}), | ||||||||||
| 502 | SOAP::Data->name('LinkValue')->value($param{LinkValue}), | ||||||||||
| 503 | SOAP::Data->name('SortOrder')->value($param{SortOrder}), | ||||||||||
| 504 | SOAP::Data->name('IsDependant')->value($param{IsDependant}), | ||||||||||
| 505 | SOAP::Data->name('IsExclusive')->value($param{IsExclusive}), | ||||||||||
| 506 | SOAP::Data->name('FileName')->value($param{FileName}), | ||||||||||
| 507 | SOAP::Data->name('FileContentBase64')->value($param{FileContentBase64}), | ||||||||||
| 508 | 0 | SOAP::Data->name('AttributeInfo')->value($param{AttributeInfo}), | |||||||||
| 509 | ); | ||||||||||
| 510 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 511 | 0 | return ( $som->valueof('//NewAssetID'), $som->valueof('//CreateMessage'),); | |||||||||
| 512 | } | ||||||||||
| 513 | |||||||||||
| 514 | 0 | ▶ | sub get_asset { | ||||||||
|
Subroutine
get_asset: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 515 | |||||||||||
| 516 | 0 | my ($self, %param) = @_; | |||||||||
| 517 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#GetAsset" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 518 | my $som = $self->{soap}->call("GetAsset", | ||||||||||
| 519 | 0 | SOAP::Data->name('AssetID')->value($param{AssetID}), | |||||||||
| 520 | ); | ||||||||||
| 521 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 522 | 0 | return ( $som->valueof('//GetAssetResult'),); | |||||||||
| 523 | } | ||||||||||
| 524 | |||||||||||
| 525 | 0 | ▶ | sub get_asset_urls { | ||||||||
|
Subroutine
get_asset_urls: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 526 | |||||||||||
| 527 | 0 | my ($self, %param) = @_; | |||||||||
| 528 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#GetAssetURLs" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 529 | my $som = $self->{soap}->call("GetAssetURLs", | ||||||||||
| 530 | SOAP::Data->name('AssetID')->value($param{AssetID}), | ||||||||||
| 531 | 0 | SOAP::Data->name('RootPathAssetID')->value($param{RootPathAssetID}), | |||||||||
| 532 | ); | ||||||||||
| 533 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 534 | 0 | return ( $som->valueof('//GetAssetURLsResult'),); | |||||||||
| 535 | } | ||||||||||
| 536 | |||||||||||
| 537 | 0 | ▶ | sub get_asset_from_url { | ||||||||
|
Subroutine
get_asset_from_url: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 538 | |||||||||||
| 539 | 0 | my ($self, %param) = @_; | |||||||||
| 540 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#GetAssetFromURL" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 541 | my $som = $self->{soap}->call("GetAssetFromURL", | ||||||||||
| 542 | 0 | SOAP::Data->name('URL')->value($param{URL}), | |||||||||
| 543 | ); | ||||||||||
| 544 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 545 | 0 | return ( $som->valueof('//GetAssetFromURLResult'),); | |||||||||
| 546 | } | ||||||||||
| 547 | |||||||||||
| 548 | 0 | ▶ | sub get_asset_available_statuses { | ||||||||
|
Subroutine
get_asset_available_statuses: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 549 | |||||||||||
| 550 | 0 | my ($self, %param) = @_; | |||||||||
| 551 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#GetAssetAvailableStatuses" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 552 | my $som = $self->{soap}->call("GetAssetAvailableStatuses", | ||||||||||
| 553 | 0 | SOAP::Data->name('AssetID')->value($param{AssetID}), | |||||||||
| 554 | ); | ||||||||||
| 555 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 556 | 0 | return ( $som->valueof('//GetAssetAvailableStatusesResult'),); | |||||||||
| 557 | } | ||||||||||
| 558 | |||||||||||
| 559 | 0 | ▶ | sub set_attribute_value { | ||||||||
|
Subroutine
set_attribute_value: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 560 | |||||||||||
| 561 | 0 | my ($self, %param) = @_; | |||||||||
| 562 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#SetAttributeValue" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 563 | my $som = $self->{soap}->call("SetAttributeValue", | ||||||||||
| 564 | SOAP::Data->name('AssetID')->value($param{AssetID}), | ||||||||||
| 565 | SOAP::Data->name('AttributeName')->value($param{AttributeName}), | ||||||||||
| 566 | 0 | SOAP::Data->name('AttributeValue')->value($param{AttributeValue}), | |||||||||
| 567 | ); | ||||||||||
| 568 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 569 | 0 | return ( $som->valueof('//SetAttributeValueResult'),); | |||||||||
| 570 | } | ||||||||||
| 571 | |||||||||||
| 572 | 0 | ▶ | sub trash_asset { | ||||||||
|
Subroutine
trash_asset: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 573 | |||||||||||
| 574 | 0 | my ($self, %param) = @_; | |||||||||
| 575 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#TrashAsset" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 576 | my $som = $self->{soap}->call("TrashAsset", | ||||||||||
| 577 | 0 | SOAP::Data->name('AssetID')->value($param{AssetID}), | |||||||||
| 578 | ); | ||||||||||
| 579 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 580 | 0 | return ( $som->valueof('//TrashAssetResult'),); | |||||||||
| 581 | } | ||||||||||
| 582 | |||||||||||
| 583 | 0 | ▶ | sub clone_asset { | ||||||||
|
Subroutine
clone_asset: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 584 | |||||||||||
| 585 | 0 | my ($self, %param) = @_; | |||||||||
| 586 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#CloneAsset" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 587 | my $som = $self->{soap}->call("CloneAsset", | ||||||||||
| 588 | SOAP::Data->name('AssetID')->value($param{AssetID}), | ||||||||||
| 589 | SOAP::Data->name('NewParentID')->value($param{NewParentID}), | ||||||||||
| 590 | SOAP::Data->name('NumberOfClone')->value($param{NumberOfClone}), | ||||||||||
| 591 | SOAP::Data->name('PositionUnderNewParent')->value($param{PositionUnderNewParent}), | ||||||||||
| 592 | 0 | SOAP::Data->name('LinkType')->value($param{LinkType}), | |||||||||
| 593 | ); | ||||||||||
| 594 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 595 | 0 | return ( $som->valueof('//CloneAssetResult'),); | |||||||||
| 596 | } | ||||||||||
| 597 | |||||||||||
| 598 | 0 | ▶ | sub get_asset_type_attribute { | ||||||||
|
Subroutine
get_asset_type_attribute: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 599 | |||||||||||
| 600 | 0 | my ($self, %param) = @_; | |||||||||
| 601 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#GetAssetTypeAttribute" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 602 | my $som = $self->{soap}->call("GetAssetTypeAttribute", | ||||||||||
| 603 | SOAP::Data->name('TypeCode')->value($param{TypeCode}), | ||||||||||
| 604 | 0 | SOAP::Data->name('AttributeDetail')->value($param{AttributeDetail}), | |||||||||
| 605 | ); | ||||||||||
| 606 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 607 | 0 | return ( $som->valueof('//GetAssetTypeAttributeResult'),); | |||||||||
| 608 | } | ||||||||||
| 609 | |||||||||||
| 610 | 0 | ▶ | sub get_asset_type_descendants { | ||||||||
|
Subroutine
get_asset_type_descendants: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 611 | |||||||||||
| 612 | 0 | my ($self, %param) = @_; | |||||||||
| 613 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#GetAssetTypeDescendants" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 614 | my $som = $self->{soap}->call("GetAssetTypeDescendants", | ||||||||||
| 615 | 0 | SOAP::Data->name('TypeCode')->value($param{TypeCode}), | |||||||||
| 616 | ); | ||||||||||
| 617 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 618 | 0 | return ( $som->valueof('//GetAssetTypeDescendantsResult'),); | |||||||||
| 619 | } | ||||||||||
| 620 | |||||||||||
| 621 | 0 | ▶ | sub get_assets_info { | ||||||||
|
Subroutine
get_assets_info: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 622 | |||||||||||
| 623 | 0 | my ($self, %param) = @_; | |||||||||
| 624 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#GetAssetsInfo" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 625 | my $som = $self->{soap}->call("GetAssetsInfo", | ||||||||||
| 626 | SOAP::Data->name('AssetIDs')->value($param{AssetIDs}), | ||||||||||
| 627 | SOAP::Data->name('FinderAttributes')->value($param{FinderAttributes}), | ||||||||||
| 628 | 0 | SOAP::Data->name('RootNode')->value($param{RootNode}), | |||||||||
| 629 | ); | ||||||||||
| 630 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 631 | 0 | return ( $som->valueof('//GetAssetsInfoResult'),); | |||||||||
| 632 | } | ||||||||||
| 633 | |||||||||||
| 634 | 0 | ▶ | sub get_asset_available_keywords { | ||||||||
|
Subroutine
get_asset_available_keywords: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 635 | |||||||||||
| 636 | 0 | my ($self, %param) = @_; | |||||||||
| 637 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#GetAssetAvailableKeywords" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 638 | my $som = $self->{soap}->call("GetAssetAvailableKeywords", | ||||||||||
| 639 | 0 | SOAP::Data->name('AssetID')->value($param{AssetID}), | |||||||||
| 640 | ); | ||||||||||
| 641 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 642 | 0 | return ( $som->valueof('//GetAssetAvailableKeywordsResult'),); | |||||||||
| 643 | } | ||||||||||
| 644 | |||||||||||
| 645 | 0 | ▶ | sub get_attribute_values_by_name { | ||||||||
|
Subroutine
get_attribute_values_by_name: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 646 | |||||||||||
| 647 | 0 | my ($self, %param) = @_; | |||||||||
| 648 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#GetAttributeValuesByName" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 649 | my $som = $self->{soap}->call("GetAttributeValuesByName", | ||||||||||
| 650 | SOAP::Data->name('AssetIDs')->value($param{AssetIDs}), | ||||||||||
| 651 | SOAP::Data->name('TypeCode')->value($param{TypeCode}), | ||||||||||
| 652 | 0 | SOAP::Data->name('AttributeName')->value($param{AttributeName}), | |||||||||
| 653 | ); | ||||||||||
| 654 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 655 | 0 | return ( $som->valueof('//GetAttributeValuesByNameResult'),); | |||||||||
| 656 | } | ||||||||||
| 657 | |||||||||||
| 658 | 0 | ▶ | sub get_asset_web_paths { | ||||||||
|
Subroutine
get_asset_web_paths: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 659 | |||||||||||
| 660 | 0 | my ($self, %param) = @_; | |||||||||
| 661 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#GetAssetWebPaths" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 662 | my $som = $self->{soap}->call("GetAssetWebPaths", | ||||||||||
| 663 | 0 | SOAP::Data->name('AssetID')->value($param{AssetID}), | |||||||||
| 664 | ); | ||||||||||
| 665 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 666 | 0 | return ( $som->valueof('//GetAssetWebPathsResult'),); | |||||||||
| 667 | } | ||||||||||
| 668 | |||||||||||
| 669 | 0 | ▶ | sub set_tag { | ||||||||
|
Subroutine
set_tag: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 670 | |||||||||||
| 671 | 0 | my ($self, %param) = @_; | |||||||||
| 672 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#SetTag" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 673 | my $som = $self->{soap}->call("SetTag", | ||||||||||
| 674 | SOAP::Data->name('AssetID')->value($param{AssetID}), | ||||||||||
| 675 | SOAP::Data->name('ThesaurusID')->value($param{ThesaurusID}), | ||||||||||
| 676 | SOAP::Data->name('TagName')->value($param{TagName}), | ||||||||||
| 677 | SOAP::Data->name('Weight')->value($param{Weight}), | ||||||||||
| 678 | 0 | SOAP::Data->name('CascadeTagChange')->value($param{CascadeTagChange}), | |||||||||
| 679 | ); | ||||||||||
| 680 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 681 | 0 | return ( $som->valueof('//SetTagResult'),); | |||||||||
| 682 | } | ||||||||||
| 683 | |||||||||||
| 684 | 0 | ▶ | sub get_all_statuses { | ||||||||
|
Subroutine
get_all_statuses: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 685 | |||||||||||
| 686 | 0 | my ($self, %param) = @_; | |||||||||
| 687 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#GetAllStatuses" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 688 | 0 | my $som = $self->{soap}->call("GetAllStatuses", | |||||||||
| 689 | ); | ||||||||||
| 690 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 691 | 0 | return ( $som->valueof('//GetAllStatusesResult'),); | |||||||||
| 692 | } | ||||||||||
| 693 | |||||||||||
| 694 | 0 | ▶ | sub set_asset_status { | ||||||||
|
Subroutine
set_asset_status: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 695 | |||||||||||
| 696 | 0 | my ($self, %param) = @_; | |||||||||
| 697 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#SetAssetStatus" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 698 | my $som = $self->{soap}->call("SetAssetStatus", | ||||||||||
| 699 | SOAP::Data->name('AssetID')->value($param{AssetID}), | ||||||||||
| 700 | SOAP::Data->name('StatusValue')->value($param{StatusValue}), | ||||||||||
| 701 | 0 | SOAP::Data->name('DependantsOnly')->value($param{DependantsOnly}), | |||||||||
| 702 | ); | ||||||||||
| 703 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 704 | 0 | return ( $som->valueof('//SetAssetStatusResult'),); | |||||||||
| 705 | } | ||||||||||
| 706 | |||||||||||
| 707 | 0 | ▶ | sub get_page_contents { | ||||||||
|
Subroutine
get_page_contents: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 708 | |||||||||||
| 709 | 0 | my ($self, %param) = @_; | |||||||||
| 710 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#GetPageContents" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 711 | my $som = $self->{soap}->call("GetPageContents", | ||||||||||
| 712 | SOAP::Data->name('AssetID')->value($param{AssetID}), | ||||||||||
| 713 | 0 | SOAP::Data->name('RootNodeID')->value($param{RootNodeID}), | |||||||||
| 714 | ); | ||||||||||
| 715 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 716 | 0 | return ( $som->valueof('//PageContent'), $som->valueof('//PageURL'), $som->valueof('//PageWebPath'),); | |||||||||
| 717 | } | ||||||||||
| 718 | |||||||||||
| 719 | 0 | ▶ | sub login_user { | ||||||||
|
Subroutine
login_user: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 720 | |||||||||||
| 721 | 0 | my ($self, %param) = @_; | |||||||||
| 722 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#LoginUser" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 723 | my $som = $self->{soap}->call("LoginUser", | ||||||||||
| 724 | SOAP::Data->name('Username')->value($param{Username}), | ||||||||||
| 725 | 0 | SOAP::Data->name('Password')->value($param{Password}), | |||||||||
| 726 | ); | ||||||||||
| 727 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 728 | 0 | return ( $som->valueof('//SessionID'), $som->valueof('//SessionKey'),); | |||||||||
| 729 | } | ||||||||||
| 730 | |||||||||||
| 731 | 0 | ▶ | sub get_user_id_by_username { | ||||||||
|
Subroutine
get_user_id_by_username: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 732 | |||||||||||
| 733 | 0 | my ($self, %param) = @_; | |||||||||
| 734 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#GetUserIdByUsername" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 735 | my $som = $self->{soap}->call("GetUserIdByUsername", | ||||||||||
| 736 | 0 | SOAP::Data->name('Username')->value($param{Username}), | |||||||||
| 737 | ); | ||||||||||
| 738 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 739 | 0 | return ( $som->valueof('//AssetID'),); | |||||||||
| 740 | } | ||||||||||
| 741 | |||||||||||
| 742 | 0 | ▶ | sub set_metadata_schema { | ||||||||
|
Subroutine
set_metadata_schema: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 743 | |||||||||||
| 744 | 0 | my ($self, %param) = @_; | |||||||||
| 745 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#SetMetadataSchema" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 746 | my $som = $self->{soap}->call("SetMetadataSchema", | ||||||||||
| 747 | SOAP::Data->name('AssetID')->value($param{AssetID}), | ||||||||||
| 748 | SOAP::Data->name('SchemaID')->value($param{SchemaID}), | ||||||||||
| 749 | SOAP::Data->name('Grant')->value($param{Grant}), | ||||||||||
| 750 | 0 | SOAP::Data->name('Cascade')->value($param{Cascade}), | |||||||||
| 751 | ); | ||||||||||
| 752 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 753 | 0 | return ( $som->valueof('//SetSchemaResult'),); | |||||||||
| 754 | } | ||||||||||
| 755 | |||||||||||
| 756 | 0 | ▶ | sub regenerate_metadata_schema { | ||||||||
|
Subroutine
regenerate_metadata_schema: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 757 | |||||||||||
| 758 | 0 | my ($self, %param) = @_; | |||||||||
| 759 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#RegenerateMetadataSchema" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 760 | my $som = $self->{soap}->call("RegenerateMetadataSchema", | ||||||||||
| 761 | 0 | SOAP::Data->name('SchemaID')->value($param{SchemaID}), | |||||||||
| 762 | ); | ||||||||||
| 763 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 764 | 0 | return ( $som->valueof('//RegenerateMetadataSchemaResult'),); | |||||||||
| 765 | } | ||||||||||
| 766 | |||||||||||
| 767 | 0 | ▶ | sub regenerate_metadata_asset { | ||||||||
|
Subroutine
regenerate_metadata_asset: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 768 | |||||||||||
| 769 | 0 | my ($self, %param) = @_; | |||||||||
| 770 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#RegenerateMetadataAsset" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 771 | my $som = $self->{soap}->call("RegenerateMetadataAsset", | ||||||||||
| 772 | 0 | SOAP::Data->name('AssetID')->value($param{AssetID}), | |||||||||
| 773 | ); | ||||||||||
| 774 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 775 | 0 | return ( $som->valueof('//RegenerateMetadataAssetResult'),); | |||||||||
| 776 | } | ||||||||||
| 777 | |||||||||||
| 778 | 0 | ▶ | sub set_asset_metadata { | ||||||||
|
Subroutine
set_asset_metadata: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 779 | |||||||||||
| 780 | 0 | my ($self, %param) = @_; | |||||||||
| 781 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#SetAssetMetadata" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 782 | my $som = $self->{soap}->call("SetAssetMetadata", | ||||||||||
| 783 | SOAP::Data->name('AssetID')->value($param{AssetID}), | ||||||||||
| 784 | SOAP::Data->name('FieldID')->value($param{FieldID}), | ||||||||||
| 785 | 0 | SOAP::Data->name('NewValue')->value($param{NewValue}), | |||||||||
| 786 | ); | ||||||||||
| 787 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 788 | 0 | return ( $som->valueof('//SetAssetMetadataResult'),); | |||||||||
| 789 | } | ||||||||||
| 790 | |||||||||||
| 791 | 0 | ▶ | sub set_metadata_field_default_value { | ||||||||
|
Subroutine
set_metadata_field_default_value: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 792 | |||||||||||
| 793 | 0 | my ($self, %param) = @_; | |||||||||
| 794 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#SetMetadataFieldDefaultValue" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 795 | my $som = $self->{soap}->call("SetMetadataFieldDefaultValue", | ||||||||||
| 796 | SOAP::Data->name('FieldID')->value($param{FieldID}), | ||||||||||
| 797 | 0 | SOAP::Data->name('NewDefaultValue')->value($param{NewDefaultValue}), | |||||||||
| 798 | ); | ||||||||||
| 799 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 800 | 0 | return ( $som->valueof('//SetMetadataFieldDefaultValueResult'),); | |||||||||
| 801 | } | ||||||||||
| 802 | |||||||||||
| 803 | 0 | ▶ | sub get_metadata_value_by_i_ds { | ||||||||
|
Subroutine
get_metadata_value_by_i_ds: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 804 | |||||||||||
| 805 | 0 | my ($self, %param) = @_; | |||||||||
| 806 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#GetMetadataValueByIDs" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 807 | my $som = $self->{soap}->call("GetMetadataValueByIDs", | ||||||||||
| 808 | SOAP::Data->name('AssetID')->value($param{AssetID}), | ||||||||||
| 809 | 0 | SOAP::Data->name('FieldID')->value($param{FieldID}), | |||||||||
| 810 | ); | ||||||||||
| 811 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 812 | 0 | return ( $som->valueof('//GetMetadataValueByIDsResult'),); | |||||||||
| 813 | } | ||||||||||
| 814 | |||||||||||
| 815 | 0 | ▶ | sub get_schemas_on_asset { | ||||||||
|
Subroutine
get_schemas_on_asset: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 816 | |||||||||||
| 817 | 0 | my ($self, %param) = @_; | |||||||||
| 818 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#GetSchemasOnAsset" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 819 | my $som = $self->{soap}->call("GetSchemasOnAsset", | ||||||||||
| 820 | 0 | SOAP::Data->name('AssetID')->value($param{AssetID}), | |||||||||
| 821 | ); | ||||||||||
| 822 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 823 | 0 | return ( $som->valueof('//GetSchemasOnAssetResult'),); | |||||||||
| 824 | } | ||||||||||
| 825 | |||||||||||
| 826 | 0 | ▶ | sub get_metadata_fields_of_schema { | ||||||||
|
Subroutine
get_metadata_fields_of_schema: not called CC=2 SCAR=17.9
Pod
undocumented
| |||||||||||
| 827 | |||||||||||
| 828 | 0 | my ($self, %param) = @_; | |||||||||
| 829 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#GetMetadataFieldsOfSchema" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 830 | my $som = $self->{soap}->call("GetMetadataFieldsOfSchema", | ||||||||||
| 831 | 0 | SOAP::Data->name('SchemaID')->value($param{SchemaID}), | |||||||||
| 832 | ); | ||||||||||
| 833 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 834 | 0 | return ( $som->valueof('//GetMetadataFieldsOfSchemaResult'),); | |||||||||
| 835 | } | ||||||||||
| 836 | |||||||||||
| 837 | 0 | ▶ | sub get_metadata_field_values { | ||||||||
|
Subroutine
get_metadata_field_values: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 838 | |||||||||||
| 839 | 0 | my ($self, %param) = @_; | |||||||||
| 840 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#GetMetadataFieldValues" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 841 | my $som = $self->{soap}->call("GetMetadataFieldValues", | ||||||||||
| 842 | SOAP::Data->name('AssetID')->value($param{AssetID}), | ||||||||||
| 843 | 0 | SOAP::Data->name('FieldNames')->value($param{FieldNames}), | |||||||||
| 844 | ); | ||||||||||
| 845 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 846 | 0 | return ( $som->valueof('//GetMetadataFieldValuesResult'),); | |||||||||
| 847 | } | ||||||||||
| 848 | |||||||||||
| 849 | 0 | ▶ | sub basic_search { | ||||||||
|
Subroutine
basic_search: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 850 | |||||||||||
| 851 | 0 | my ($self, %param) = @_; | |||||||||
| 852 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#BasicSearch" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 853 | my $som = $self->{soap}->call("BasicSearch", | ||||||||||
| 854 | SOAP::Data->name('AssetTypes')->value($param{AssetTypes}), | ||||||||||
| 855 | SOAP::Data->name('Limit')->value($param{Limit}), | ||||||||||
| 856 | SOAP::Data->name('Statuses')->value($param{Statuses}), | ||||||||||
| 857 | SOAP::Data->name('RootIDs')->value($param{RootIDs}), | ||||||||||
| 858 | SOAP::Data->name('ExcludeRootNodes')->value($param{ExcludeRootNodes}), | ||||||||||
| 859 | 0 | SOAP::Data->name('ResultFormat')->value($param{ResultFormat}), | |||||||||
| 860 | ); | ||||||||||
| 861 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 862 | 0 | return ( $som->valueof('//BasicSearchResult'),); | |||||||||
| 863 | } | ||||||||||
| 864 | |||||||||||
| 865 | 0 | ▶ | sub advanced_search { | ||||||||
|
Subroutine
advanced_search: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 866 | |||||||||||
| 867 | 0 | my ($self, %param) = @_; | |||||||||
| 868 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#AdvancedSearch" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 869 | my $som = $self->{soap}->call("AdvancedSearch", | ||||||||||
| 870 | SOAP::Data->name('AssetTypes')->value($param{AssetTypes}), | ||||||||||
| 871 | SOAP::Data->name('ExcludeWords')->value($param{ExcludeWords}), | ||||||||||
| 872 | SOAP::Data->name('FieldLogic')->value($param{FieldLogic}), | ||||||||||
| 873 | SOAP::Data->name('Limit')->value($param{Limit}), | ||||||||||
| 874 | SOAP::Data->name('ResultFormat')->value($param{ResultFormat}), | ||||||||||
| 875 | SOAP::Data->name('RootIDs')->value($param{RootIDs}), | ||||||||||
| 876 | SOAP::Data->name('RootLogic')->value($param{RootLogic}), | ||||||||||
| 877 | SOAP::Data->name('ExcludeRootNodes')->value($param{ExcludeRootNodes}), | ||||||||||
| 878 | SOAP::Data->name('Statuses')->value($param{Statuses}), | ||||||||||
| 879 | 0 | SOAP::Data->name('SearchFields')->value($param{SearchFields}), | |||||||||
| 880 | ); | ||||||||||
| 881 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 882 | 0 | return ( $som->valueof('//AdvancedSearchResult'),); | |||||||||
| 883 | } | ||||||||||
| 884 | |||||||||||
| 885 | 0 | ▶ | sub re_index { | ||||||||
|
Subroutine
re_index: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 886 | |||||||||||
| 887 | 0 | my ($self, %param) = @_; | |||||||||
| 888 | 0 | ▶ | $self->{soap}->on_action( sub { $self->{proxy}."#ReIndex" }); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 889 | my $som = $self->{soap}->call("ReIndex", | ||||||||||
| 890 | SOAP::Data->name('AssetID')->value($param{AssetID}), | ||||||||||
| 891 | 0 | SOAP::Data->name('IndexComponents')->value($param{IndexComponents}), | |||||||||
| 892 | ); | ||||||||||
| 893 | 0 | ▶ | die $som->fault->{ faultstring } if ($som->fault); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 894 | 0 | return ( $som->valueof('//ReIndexResult'),); | |||||||||
| 895 | } | ||||||||||
| 896 | |||||||||||
| 897 | 1 | 1; | |||||||||
| 898 | |||||||||||
| 899 | __END__ | ||||||||||