|
Squiz Matrix
4.12.2
|
Public Member Functions | |
| __construct ($assetid=0) | |
| getFunctionList () | |
| CreateAssetLink ($request) | |
| DeleteAssetLink ($request) | |
| GetAllChildLinks ($request) | |
| GetDependantChildren ($request) | |
| GetDependantParents ($request) | |
| GetLinks ($request) | |
| MoveLink ($request) | |
| UpdateLink ($request) | |
| GetChildren ($request) | |
| GetParents ($request) | |
| GetParentsUnderTree ($request) | |
| GetLinkByAsset ($request) | |
| GetLinkLineages ($request) | |
Static Public Member Functions | |
| static | getComplexElements ($func_list=Array()) |
| static | getComplexTypes ($func_list=Array()) |
| static | getSimpleRestrictedTypes ($func_list=Array()) |
Definition at line 31 of file soap_api_link_service.inc.
| __construct | ( | $assetid = 0 | ) |
Constructor
| int | $assetid | the asset id to be loaded |
Definition at line 41 of file soap_api_link_service.inc.
| CreateAssetLink | ( | $request | ) |
Description: This operation will create link between two assets
| string | $request | The request information |
Array (
'MajorID' => [The asset id of the major asset],
'MinorID' => [The asset id of the major asset],
'LinkType' => [The link type being created],
'LinkValue' => [Value of the new link],
'SortOrder' => [Minor Asset position under the Major],
'IsDependant' => [Whether the minor asset is dependent on the major]
'IsExclusive' => [Whether the major asset is the minor's only parent]
)
Definition at line 96 of file soap_api_link_service.inc.
| DeleteAssetLink | ( | $request | ) |
Description: This operation will delete a link based on the LinkID
| array | $request | The request information
Array (
'LinkID' => [The link ID to be deleted],
)
|
Definition at line 140 of file soap_api_link_service.inc.
| GetAllChildLinks | ( | $request | ) |
Description: This operation will return all child links
| array | $request | The request information
Array (
'AssetID' => [The Asset to find links under],
'LinkType' => [The type of link]
)
|
| string | $assetid | the id of the asset being deleted |
Definition at line 198 of file soap_api_link_service.inc.
| GetChildren | ( | $request | ) |
Description: This function returns the children of a specific asset base on criterions
| array | $asset_info | the info array to find children of a specific asset
Array (
'AssetID' => [assetid of node],
'TypeCode' => [type code of the chilren asset],
'StrictTypeCode' => [strict type code or not],
'Dependant' => [dependant or not],
'SortBy' => [asset attribute],
'PermissionLevel' => [Read, Write, Admin],
'EffectiveAccess' => [effective permission],
'MinDepth' => [minimum child level],
'MaxDepth' => [maximum child level],
'DirectShadowsOnly' => [whether to get only shadow asset],
'LinkValueWanted' => [link value],
)
|
Definition at line 495 of file soap_api_link_service.inc.
|
static |
|
static |
getComplexTypes: return all the complex types used by the API
Definition at line 969 of file soap_api_link_service.inc.
| GetDependantChildren | ( | $request | ) |
Description: This operation will return dependant children of the specified criteria
| array | $request | The request information
Array (
'AssetID' => [The Asset to find dependant children for],
'TypeCode' => [The desired type code of dependants],
'StrictTypeCode' => [Strict Type Code, TRUE | FALSE],
)
|
Definition at line 247 of file soap_api_link_service.inc.
| GetDependantParents | ( | $request | ) |
Description: This operation will return dependant parents of the specified criteria
| array | $request | The request information
Array (
'AssetID' => [The Asset to find dependant children for],
'TypeCode' => [The desired type code of dependants],
'StrictTypeCode' => [Strict Type Code, TRUE | FALSE],
'IncludeAllDependants' => [Whether to include all dependants or only top level dependant parents(FALSE)]
)
|
Definition at line 289 of file soap_api_link_service.inc.
| getFunctionList | ( | ) |
Returns a function list of the asset let the children handle this
Definition at line 55 of file soap_api_link_service.inc.
| GetLinkByAsset | ( | $request | ) |
Description: This function returns all the links between two asset
| array | $asset_info | the info array to find children of a specific asset
Array (
'AssetID' => [assetid of node],
'OtherAssetID' => [type code of the asset on the other side of the link],
'LinkType' => [Desired link type],
'LinkValue' => [The Value of the link],
'SideOfLink' => [Which side of the link the first assetid is on, Major or Minor],
'IsDependant' => [The dependant status for all the links must be this (if not null)],
'IsExclusive' => [The exclusive status for all the links must be this (if not null)],
)
|
Definition at line 672 of file soap_api_link_service.inc.
| GetLinkLineages | ( | $request | ) |
This function return link lineages by root node.
Definition at line 721 of file soap_api_link_service.inc.
| GetLinks | ( | $request | ) |
Description: This operation will return dependant parents of the specified criteria
| array | $request | The request information
Array (
'AssetID' => [The Asset to find links for],
'LinkType' => [Desired link type]
'TypeCode' => [The desired type code of linked assets],
'StrictTypeCode' => [Strict Type Code, TRUE | FALSE],
'SideOfLink' => [Major or Minor link],
'LinkValue' => [Value of the link],
'Dependant' => [If not null, either return non-depandant or dependant, if is null return both],
'Exclusive' => [If not null, either return non-exclusive or exclusive, if is null return both],
'SortBy' => [Sort By a field in asset table],
'PermissionLevel' => [Read, Write, Admin],
'Effective' => [If effective permissions should be considered or not],
)
|
Definition at line 339 of file soap_api_link_service.inc.
| GetParents | ( | $request | ) |
Description: This function returns all the parent of a specific asset
| array | $asset_info | the info array to find children of a specific asset
Array (
'AssetID' => [assetid of node],
'TypeCode' => [type code of the chilren asset],
'StrictTypeCode' => [strict type code or not],
'Dependant' => [dependant or not],
'SortBy' => [asset attribute],
'PermissionLevel' => [Read, Write, Admin],
'EffectiveAccess' => [effective permission],
'MinDepth' => [minimum child level],
'MaxDepth' => [maximum child level],
'DirectShadowsOnly' => [whether to get only shadow asset],
'LinkValueWanted' => [link value],
)
|
Definition at line 559 of file soap_api_link_service.inc.
| GetParentsUnderTree | ( | $request | ) |
Get Parents Under Tree
| $request |
Definition at line 603 of file soap_api_link_service.inc.
|
static |
getSimpleRestrictedTypes
Definition at line 1052 of file soap_api_link_service.inc.
| MoveLink | ( | $request | ) |
Description: This operation will move a link under a new parent asset
| array | $request | The request information
Array (
'LinkID' => [The ID of the link],
'LinkType' => [Desired link type]
'ToParentID' => [New parent of the minor asset of the link],
'ToParentPosition' => [The position under the new parent],
)
|
Definition at line 402 of file soap_api_link_service.inc.
| UpdateLink | ( | $request | ) |
Description: This operation will update an existing link
| array | $request | The request information
Array (
'LinkID' => [The ID of the link],
'LinkType' => [Desired link type]
'LinkValue' => [The Value of the link],
'SortOrder' => [The position in the links list that this link should take, if less than zero places at end of list],
)
|
Definition at line 447 of file soap_api_link_service.inc.