<?php// PHP classes corresponding to the data types in defined in WSDLclass delete { /** * @var (object)authentication */ public $authentication; /** * @var (object)identifier */ public $identifier;}class authentication { /** * @var string */ public $password; /** * @var string */ public $username;}class identifier { // You may set only one from the following set // ---------------Start Choice---------------- /** * @var string */ public $id; /** * @var string */ public $path; // ----------------End Choice--------------- /** * @var string * NOTE: type should follow the following restrictions * You can have one of the following value * assetfactory * assetfactorycontainer * block * contenttype * contenttypecontainer * destination * file * folder * group * message * metadataset * metadatasetcontainer * page * pageconfigurationset * pageconfiguration * pageregion * pageconfigurationsetcontainer * publishset * publishsetcontainer * reference * structureddatadefinition * structureddatadefinitioncontainer * format * format_XSLT * format_SCRIPT * symlink * target * template * transport * transportcontainer * user * workflowdefinition * workflowdefinitioncontainer */ public $type;}class deleteResponse { /** * @var (object)operationResult * Or one of following derived class(es) * readAuditsResult * createResult * readResult * searchResult * readAccessRightsResult * listMessagesResult * checkOutResult * readWorkflowInformationResult */ public $deleteReturn;}class operationResult { /** * @var string */ public $success; /** * @var string */ public $message;}class readAuditsResult extends operationResult { /** * @var (object)audits */ public $audits;}class audits { /** * @var array[0, unbounded] of (object)audit */ public $audit;}class audit { /** * @var string */ public $user; /** * @var string * NOTE: action should follow the following restrictions * You can have one of the following value * login * login_failed * logout * start_workflow * advance_workflow * edit * copy * create * reference * delete * delete_unpublish * check_in * check_out * activate_version * publish * unpublish */ public $action; /** * @var (object)identifier */ public $identifier; /** * @var dateTime */ public $date;}class createResult extends operationResult { /** * @var string */ public $createdAssetId;}class readResult extends operationResult { /** * @var (object)asset */ public $asset;}class asset { /** * @var (object)workflow-configuration */ public $workflowConfiguration; // You may set only one from the following set // ---------------Start Choice---------------- /** * @var (object)feedBlock */ public $feedBlock; /** * @var (object)indexBlock */ public $indexBlock; /** * @var (object)textBlock */ public $textBlock; /** * @var (object)xhtmlBlock */ public $xhtmlBlock; /** * @var (object)xmlBlock */ public $xmlBlock; /** * @var (object)file */ public $file; /** * @var (object)folder */ public $folder; /** * @var (object)page */ public $page; /** * @var (object)reference */ public $reference; /** * @var (object)xsltFormat */ public $xsltFormat; /** * @var (object)scriptFormat */ public $scriptFormat; /** * @var (object)symlink */ public $symlink; /** * @var (object)template */ public $template; /** * @var (object)user */ public $user; /** * @var (object)group */ public $group; /** * @var (object)assetFactory */ public $assetFactory; /** * @var (object)assetFactoryContainer */ public $assetFactoryContainer; /** * @var (object)contentType */ public $contentType; /** * @var (object)contentTypeContainer */ public $contentTypeContainer; /** * @var (object)pageConfigurationSet */ public $pageConfigurationSet; /** * @var (object)pageConfigurationSetContainer */ public $pageConfigurationSetContainer; /** * @var (object)structuredDataDefinition */ public $structuredDataDefinition; /** * @var (object)structuredDataDefinitionContainer */ public $structuredDataDefinitionContainer; /** * @var (object)metadataSet */ public $metadataSet; /** * @var (object)metadataSetContainer */ public $metadataSetContainer; /** * @var (object)publishSet */ public $publishSet; /** * @var (object)publishSetContainer */ public $publishSetContainer; /** * @var (object)target */ public $target; /** * @var (object)destination */ public $destination; /** * @var (object)fileSystemTransport */ public $fileSystemTransport; /** * @var (object)ftpTransport */ public $ftpTransport; /** * @var (object)transportContainer */ public $transportContainer; /** * @var (object)workflowDefinition */ public $workflowDefinition; /** * @var (object)workflowDefinitionContainer */ public $workflowDefinitionContainer; // ----------------End Choice---------------}class workflow-configuration { /** * @var string */ public $workflowName; // You may set only one from the following set // ---------------Start Choice---------------- /** * @var string */ public $workflowDefinitionId; /** * @var string */ public $workflowDefinitionPath; // ----------------End Choice--------------- /** * @var string */ public $workflowComments; /** * @var (object)workflow-step-configurations */ public $workflowStepConfigurations;}class workflow-step-configurations { /** * @var array[1, unbounded] of (object)workflow-step-configuration */ public $workflowStepConfiguration;}class workflow-step-configuration { /** * @var string */ public $stepIdentifier; /** * @var string */ public $stepAssignment;}class base-asset { /** * @var string */ public $id; /** * @var (object)entity-type */ public $entityType;}class entity-type { /** * @var string * NOTE: name should follow the following restrictions * You can have one of the following value * assetfactory * assetfactorycontainer * block * contenttype * contenttypecontainer * destination * file * folder * group * message * metadataset * metadatasetcontainer * page * pageconfigurationset * pageconfiguration * pageregion * pageconfigurationsetcontainer * publishset * publishsetcontainer * reference * structureddatadefinition * structureddatadefinitioncontainer * format * format_XSLT * format_SCRIPT * symlink * target * template * transport * transportcontainer * user * workflowdefinition * workflowdefinitioncontainer */ public $name;}class named-asset extends base-asset { /** * @var string */ public $name;}class folder-contained-asset extends named-asset { // You may set only one from the following set // ---------------Start Choice---------------- /** * @var string */ public $parentFolderId; /** * @var string */ public $parentFolderPath; // ----------------End Choice--------------- /** * @var string */ public $path; /** * @var dateTime */ public $lastModifiedDate; /** * @var string */ public $lastModifiedBy; /** * @var string */ public $parentFolderId; /** * @var string */ public $parentFolderPath;}class dublin-aware-asset extends folder-contained-asset { /** * @var (object)metadata */ public $metadata; // You may set only one from the following set // ---------------Start Choice---------------- /** * @var string */ public $metadataSetId; /** * @var string */ public $metadataSetPath; // ----------------End Choice--------------- /** * @var string */ public $metadataSetId; /** * @var string */ public $metadataSetPath;}class metadata { /** * @var string */ public $author; /** * @var string */ public $displayName; /** * @var dateTime */ public $endDate; /** * @var string */ public $keywords; /** * @var string */ public $metaDescription; /** * @var dateTime */ public $reviewDate; /** * @var dateTime */ public $startDate; /** * @var string */ public $summary; /** * @var string */ public $teaser; /** * @var string */ public $title; /** * @var (object)dynamicMetadataFields */ public $dynamicFields;}class dynamicMetadataFields { /** * @var array[0, unbounded] of (object)dynamicMetadataField */ public $dynamicField;}class dynamicMetadataField { /** * @var string */ public $name; /** * @var (object)fieldValues */ public $fieldValues;}class fieldValues { /** * @var array[0, unbounded] of (object)fieldValue */ public $fieldValue;}class fieldValue { /** * @var string */ public $value;}class expiring-asset extends dublin-aware-asset { // You may set only one from the following set // ---------------Start Choice---------------- /** * @var string */ public $expirationFolderId; /** * @var string */ public $expirationFolderPath; // ----------------End Choice---------------}class block extends expiring-asset {}class feedBlock extends block { /** * @var anyURI */ public $feedURL;}class indexBlock extends block { /** * @var string * NOTE: indexBlockType should follow the following restrictions * You can have one of the following value * folder * content-type */ public $indexBlockType; // You may set only one from the following set // ---------------Start Choice---------------- /** * @var string */ public $indexedFolderId; /** * @var string */ public $indexedFolderPath; /** * @var string */ public $indexedContentTypeId; /** * @var string */ public $indexedContentTypePath; // ----------------End Choice--------------- /** * @var nonNegativeInteger */ public $maxRenderedAssets; /** * @var nonNegativeInteger */ public $depthOfIndex; /** * @var boolean */ public $includePageContent; /** * @var boolean */ public $includeCurrentPageXML; /** * @var boolean */ public $renderCurrentPageAndHierarchy; /** * @var boolean */ public $includeChildrenInHierarchy; /** * @var boolean */ public $indexPages; /** * @var boolean */ public $indexBlocks; /** * @var boolean */ public $indexLinks; /** * @var boolean */ public $indexFiles; /** * @var boolean */ public $indexRegularContent; /** * @var boolean */ public $indexSystemMetadata; /** * @var boolean */ public $indexUserMetadata; /** * @var boolean */ public $indexAccessRights; /** * @var boolean */ public $indexUserInfo; /** * @var boolean */ public $indexWorkflowInfo; /** * @var boolean */ public $appendCallingPageData; /** * @var string * NOTE: sortMethod should follow the following restrictions * You can have one of the following value * folder-order * alphabetical * last-modified-date * created-date */ public $sortMethod; /** * @var string * NOTE: sortOrder should follow the following restrictions * You can have one of the following value * ascending * descending */ public $sortOrder; /** * @var string */ public $indexedFolderId; /** * @var string */ public $indexedFolderPath; /** * @var string */ public $indexedContentTypeId; /** * @var string */ public $indexedContentTypePath;}class textBlock extends block { /** * @var string */ public $text;}class xhtmlBlock extends block { /** * @var string */ public $xhtml;}class xmlBlock extends block { /** * @var string */ public $xml;}class publishable-asset extends expiring-asset { /** * @var boolean */ public $shouldBePublished; /** * @var boolean */ public $shouldBeIndexed; /** * @var dateTime */ public $lastPublishedDate; /** * @var string */ public $lastPublishedBy;}class file extends publishable-asset { // You may set only one from the following set // ---------------Start Choice---------------- /** * @var string */ public $text; // You need to set only one from the following two vars /** * @var Plain Binary */ public $data; /** * @var base64Binary */ public $data_encoded; // ----------------End Choice---------------}class folder extends publishable-asset { /** * @var (object)container-children */ public $children;}class container-children { /** * @var array[0, unbounded] of (object)identifier */ public $child;}class page extends publishable-asset { // You may set only one from the following set // ---------------Start Choice---------------- /** * @var string */ public $configurationSetId; /** * @var string */ public $configurationSetPath; /** * @var string */ public $contentTypeId; /** * @var string */ public $contentTypePath; // ----------------End Choice--------------- // You may set only one from the following set // ---------------Start Choice---------------- /** * @var (object)structured-data */ public $structuredData; /** * @var string */ public $xhtml; // ----------------End Choice--------------- /** * @var (object)page-configurations */ public $pageConfigurations; /** * @var string */ public $configurationSetId; /** * @var string */ public $configurationSetPath; /** * @var string */ public $contentTypeId; /** * @var string */ public $contentTypePath; /** * @var (object)structured-data */ public $structuredData; /** * @var string */ public $xhtml;}class structured-data { // You may set only one from the following set // ---------------Start Choice---------------- /** * @var string */ public $definitionId; /** * @var string */ public $definitionPath; // ----------------End Choice--------------- /** * @var (object)structured-data-nodes */ public $structuredDataNodes;}class structured-data-nodes { /** * @var array[0, unbounded] of (object)structured-data-node */ public $structuredDataNode;}class structured-data-node { /** * @var string * NOTE: type should follow the following restrictions * You can have one of the following value * text * asset * group */ public $type; /** * @var string */ public $identifier; // You may set only one from the following set // ---------------Start Choice---------------- /** * @var string */ public $text; /** * @var (object)structured-data-nodes */ public $structuredDataNodes; /** * @var string * NOTE: assetType should follow the following restrictions * You can have one of the following value * block * file * page * symlink */ public $assetType; // You may set only one from the following set // ---------------Start Choice---------------- // You may set only one from the following set // ---------------Start Choice---------------- /** * @var string */ public $blockId; /** * @var string */ public $blockPath; // ----------------End Choice--------------- // You may set only one from the following set // ---------------Start Choice---------------- /** * @var string */ public $fileId; /** * @var string */ public $filePath; // ----------------End Choice--------------- // You may set only one from the following set // ---------------Start Choice---------------- /** * @var string */ public $pageId; /** * @var string */ public $pagePath; // ----------------End Choice--------------- // You may set only one from the following set // ---------------Start Choice---------------- /** * @var string */ public $symlinkId; /** * @var string */ public $symlinkPath; // ----------------End Choice--------------- // ----------------End Choice--------------- // ----------------End Choice---------------}class page-configurations { /** * @var array[1, unbounded] of (object)pageConfiguration */ public $pageConfiguration;}class pageConfiguration extends base-asset { /** * @var string */ public $name; /** * @var boolean */ public $defaultConfiguration; // You may set only one from the following set // ---------------Start Choice---------------- /** * @var string */ public $templateId; /** * @var string */ public $templatePath; // ----------------End Choice--------------- // You may set only one from the following set // ---------------Start Choice---------------- /** * @var string */ public $formatId; /** * @var string */ public $formatPath; // ----------------End Choice--------------- /** * @var (object)page-regions */ public $pageRegions; /** * @var string */ public $templateId; /** * @var string */ public $templatePath; /** * @var string */ public $formatId; /** * @var string */ public $formatPath;}class page-regions { /** * @var array[0, unbounded] of (object)pageRegion */ public $pageRegion;}class pageRegion extends base-asset { /** * @var string */ public $name; // You may set only one from the following set // ---------------Start Choice---------------- /** * @var string */ public $blockId; /** * @var string */ public $blockPath; // ----------------End Choice--------------- /** * @var boolean */ public $noBlock; // You may set only one from the following set // ---------------Start Choice---------------- /** * @var string */ public $formatId; /** * @var string */ public $formatPath; // ----------------End Choice--------------- /** * @var boolean */ public $noFormat; /** * @var string */ public $blockId; /** * @var string */ public $blockPath; /** * @var string */ public $formatId; /** * @var string */ public $formatPath;}class reference extends folder-contained-asset { // You may set only one from the following set // ---------------Start Choice---------------- /** * @var string */ public $referencedAssetId; /** * @var string */ public $referencedAssetPath; // ----------------End Choice--------------- /** * @var string * NOTE: referencedAssetType should follow the following restrictions * You can have one of the following value * assetfactory * assetfactorycontainer * block * contenttype * contenttypecontainer * destination * file * folder * group * message * metadataset * metadatasetcontainer * page * pageconfigurationset * pageconfiguration * pageregion * pageconfigurationsetcontainer * publishset * publishsetcontainer * reference * structureddatadefinition * structureddatadefinitioncontainer * format * format_XSLT * format_SCRIPT * symlink * target * template * transport * transportcontainer * user * workflowdefinition * workflowdefinitioncontainer */ public $referencedAssetType; /** * @var string */ public $referencedAssetId; /** * @var string */ public $referencedAssetPath;}class xsltFormat extends folder-contained-asset { /** * @var string */ public $xml;}class scriptFormat extends folder-contained-asset { /** * @var string */ public $script;}class symlink extends expiring-asset { /** * @var anyURI */ public $linkURL;}class template extends folder-contained-asset { // You may set only one from the following set // ---------------Start Choice---------------- /** * @var string */ public $targetId; /** * @var string */ public $targetPath; // ----------------End Choice--------------- // You may set only one from the following set // ---------------Start Choice---------------- /** * @var string */ public $formatId; /** * @var string */ public $formatPath; // ----------------End Choice--------------- /** * @var string */ public $xml; /** * @var (object)page-regions */ public $pageRegions; /** * @var string */ public $targetId; /** * @var string */ public $targetPath; /** * @var string */ public $formatId; /** * @var string */ public $formatPath;}class user { /** * @var string */ public $username; /** * @var string */ public $fullName; /** * @var string */ public $email; /** * @var string * NOTE: authType should follow the following restrictions * You can have one of the following value * normal * ldap * custom */ public $authType; /** * @var string */ public $password; /** * @var boolean */ public $enabled; /** * @var string */ public $groups; /** * @var string */ public $defaultGroup; /** * @var string */ public $role; /** * @var (object)entity-type */ public $entityType;}class group { /** * @var string */ public $groupName; // You may set only one from the following set // ---------------Start Choice---------------- /** * @var string */ public $groupStartingPageId; /** * @var string */ public $groupStartingPagePath; // ----------------End Choice--------------- // You may set only one from the following set // ---------------Start Choice---------------- /** * @var string */ public $groupBaseFolderId; /** * @var string */ public $groupBaseFolderPath; // ----------------End Choice--------------- // You may set only one from the following set // ---------------Start Choice---------------- /** * @var string */ public $groupAssetFactoryContainerId; /** * @var string */ public $groupAssetFactoryContainerPath; // ----------------End Choice--------------- /** * @var string */ public $cssClasses; /** * @var boolean */ public $wysiwygAllowFontAssignment; /** * @var boolean */ public $wysiwygAllowFontFormatting; /** * @var boolean */ public $wysiwygAllowTextFormatting; /** * @var boolean */ public $wysiwygAllowViewSource; /** * @var boolean */ public $wysiwygAllowImageInsertion; /** * @var boolean */ public $wysiwygAllowTableInsertion; /** * @var string */ public $users; /** * @var string */ public $role; /** * @var (object)entity-type */ public $entityType;}class containered-asset extends named-asset { // You may set only one from the following set // ---------------Start Choice---------------- /** * @var string */ public $parentContainerId; /** * @var string */ public $parentContainerPath; // ----------------End Choice--------------- /** * @var string */ public $path; /** * @var string */ public $parentContainerId; /** * @var string */ public $parentContainerPath;}class assetFactory extends containered-asset { /** * @var string */ public $applicableGroups; /** * @var string */ public $assetType; // You may set only one from the following set // ---------------Start Choice---------------- /** * @var string */ public $baseAssetId; /** * @var string */ public $baseAssetPath; // ----------------End Choice--------------- // You may set only one from the following set // ---------------Start Choice---------------- /** * @var string */ public $placementFolderId; /** * @var string */ public $placementFolderPath; // ----------------End Choice--------------- /** * @var boolean */ public $allowSubfolderPlacement; /** * @var nonNegativeInteger */ public $folderPlacementPosition; /** * @var boolean */ public $overwrite; /** * @var string * NOTE: workflowMode should follow the following restrictions * You can have one of the following value * folder-controlled * factory-controlled * none */ public $workflowMode; // You may set only one from the following set // ---------------Start Choice---------------- /** * @var string */ public $workflowDefinitionId; /** * @var string */ public $workflowDefinitionPath; // ----------------End Choice--------------- /** * @var string */ public $baseAssetId; /** * @var string */ public $baseAssetPath; /** * @var string */ public $placementFolderId; /** * @var string */ public $placementFolderPath; /** * @var string */ public $workflowDefinitionId; /** * @var string */ public $workflowDefinitionPath;}class assetFactoryContainer extends containered-asset { /** * @var string */ public $applicableGroups; /** * @var (object)container-children */ public $children;}class contentType extends containered-asset { // You may set only one from the following set // ---------------Start Choice---------------- /** * @var string */ public $pageConfigurationSetId; /** * @var string */ public $pageConfigurationSetPath; // ----------------End Choice--------------- // You may set only one from the following set // ---------------Start Choice---------------- /** * @var string */ public $metadataSetId; /** * @var string */ public $metadataSetPath; // ----------------End Choice--------------- // You may set only one from the following set // ---------------Start Choice---------------- /** * @var string */ public $structuredDataDefinitionId; /** * @var string */ public $structuredDataDefinitionPath; // ----------------End Choice--------------- /** * @var string */ public $pageConfigurationSetId; /** * @var string */ public $pageConfigurationSetPath; /** * @var string */ public $metadataSetId; /** * @var string */ public $metadataSetPath; /** * @var string */ public $structuredDataDefinitionId; /** * @var string */ public $structuredDataDefinitionPath;}class contentTypeContainer extends containered-asset { /** * @var (object)container-children */ public $children;}class pageConfigurationSet extends containered-asset { /** * @var (object)page-configurations */ public $pageConfigurations;}class pageConfigurationSetContainer extends containered-asset { /** * @var (object)container-children */ public $children;}class structuredDataDefinition extends containered-asset { /** * @var string */ public $xml;}class structuredDataDefinitionContainer extends containered-asset { /** * @var (object)container-children */ public $children;}class metadataSet extends containered-asset { /** * @var boolean */ public $authorFieldRequired; /** * @var string * NOTE: authorFieldVisibility should follow the following restrictions * You can have one of the following value * inline * hidden * visible */ public $authorFieldVisibility; /** * @var boolean */ public $descriptionFieldRequired; /** * @var string * NOTE: descriptionFieldVisibility should follow the following restrictions * You can have one of the following value * inline * hidden * visible */ public $descriptionFieldVisibility; /** * @var boolean */ public $displayNameFieldRequired; /** * @var string * NOTE: displayNameFieldVisibility should follow the following restrictions * You can have one of the following value * inline * hidden * visible */ public $displayNameFieldVisibility; /** * @var boolean */ public $endDateFieldRequired; /** * @var string * NOTE: endDateFieldVisibility should follow the following restrictions * You can have one of the following value * inline * hidden * visible */ public $endDateFieldVisibility; /** * @var boolean */ public $keywordsFieldRequired; /** * @var string * NOTE: keywordsFieldVisibility should follow the following restrictions * You can have one of the following value * inline * hidden * visible */ public $keywordsFieldVisibility; /** * @var boolean */ public $reviewDateFieldRequired; /** * @var string * NOTE: reviewDateFieldVisibility should follow the following restrictions * You can have one of the following value * inline * hidden * visible */ public $reviewDateFieldVisibility; /** * @var boolean */ public $startDateFieldRequired; /** * @var string * NOTE: startDateFieldVisibility should follow the following restrictions * You can have one of the following value * inline * hidden * visible */ public $startDateFieldVisibility; /** * @var boolean */ public $summaryFieldRequired; /** * @var string * NOTE: summaryFieldVisibility should follow the following restrictions * You can have one of the following value * inline * hidden * visible */ public $summaryFieldVisibility; /** * @var boolean */ public $teaserFieldRequired; /** * @var string * NOTE: teaserFieldVisibility should follow the following restrictions * You can have one of the following value * inline * hidden * visible */ public $teaserFieldVisibility; /** * @var boolean */ public $titleFieldRequired; /** * @var string * NOTE: titleFieldVisibility should follow the following restrictions * You can have one of the following value * inline * hidden * visible */ public $titleFieldVisibility; /** * @var (object)dynamic-metadata-field-definitions */ public $dynamicMetadataFieldDefinitions;}class dynamic-metadata-field-definitions { /** * @var array[0, unbounded] of (object)dynamicMetadataFieldDefinition */ public $dynamicMetadataFieldDefinition;}class dynamicMetadataFieldDefinition { /** * @var string */ public $name; /** * @var string */ public $label; /** * @var string * NOTE: fieldType should follow the following restrictions * You can have one of the following value * text * radio * dropdown * checkbox */ public $fieldType; /** * @var boolean */ public $required; /** * @var string * NOTE: visibility should follow the following restrictions * You can have one of the following value * inline * hidden * visible */ public $visibility; /** * @var string */ public $configurationXML;}class metadataSetContainer extends containered-asset { /** * @var (object)container-children */ public $children;}class publishSet extends containered-asset { /** * @var (object)publishable-asset-list */ public $files; /** * @var (object)publishable-asset-list */ public $folders; /** * @var (object)publishable-asset-list */ public $pages; /** * @var boolean */ public $usesScheduledPublishing; /** * @var time */ public $timeToPublish; /** * @var nonNegativeInteger */ public $publishInterval; /** * @var string * NOTE: publishIntervalUnits should follow the following restrictions * You can have one of the following value * hours * days */ public $publishIntervalUnits;}class publishable-asset-list { /** * @var array[0, unbounded] of (object)identifier */ public $publishableAssetIdentifier;}class publishSetContainer extends containered-asset { /** * @var (object)container-children */ public $children;}class target extends named-asset { // You may set only one from the following set // ---------------Start Choice---------------- /** * @var string */ public $parentTargetId; /** * @var string */ public $parentTargetPath; // ----------------End Choice--------------- /** * @var string */ public $path; // You may set only one from the following set // ---------------Start Choice---------------- /** * @var string */ public $baseFolderId; /** * @var string */ public $baseFolderPath; // ----------------End Choice--------------- /** * @var string */ public $outputExtension; /** * @var string */ public $cssClasses; // You may set only one from the following set // ---------------Start Choice---------------- /** * @var string */ public $cssFileId; /** * @var string */ public $cssFilePath; // ----------------End Choice--------------- /** * @var string * NOTE: serializationType should follow the following restrictions * You can have one of the following value * HTML * XML * PDF * RTF * WML */ public $serializationType; /** * @var boolean */ public $includeXMLDeclaration; /** * @var boolean */ public $includeTargetPath; /** * @var boolean */ public $removeBaseFolder; /** * @var boolean */ public $usesScheduledPublishing; /** * @var time */ public $timeToPublish; /** * @var nonNegativeInteger */ public $publishInterval; /** * @var string * NOTE: publishIntervalUnits should follow the following restrictions * You can have one of the following value * hours * days */ public $publishIntervalUnits; /** * @var (object)container-children */ public $children; /** * @var string */ public $parentTargetId; /** * @var string */ public $parentTargetPath; /** * @var string */ public $baseFolderId; /** * @var string */ public $baseFolderPath; /** * @var string */ public $cssFileId; /** * @var string */ public $cssFilePath;}class destination extends named-asset { // You may set only one from the following set // ---------------Start Choice---------------- /** * @var string */ public $parentTargetId; /** * @var string */ public $parentTargetPath; // ----------------End Choice--------------- // You may set only one from the following set // ---------------Start Choice---------------- /** * @var string */ public $transportId; /** * @var string */ public $transportPath; // ----------------End Choice--------------- /** * @var string */ public $applicableGroups; /** * @var string */ public $directory; /** * @var boolean */ public $enabled; /** * @var boolean */ public $publishASCII; /** * @var boolean */ public $usesScheduledPublishing; /** * @var time */ public $timeToPublish; /** * @var nonNegativeInteger */ public $publishInterval; /** * @var string * NOTE: publishIntervalUnits should follow the following restrictions * You can have one of the following value * hours * days */ public $publishIntervalUnits; /** * @var string */ public $parentTargetId; /** * @var string */ public $parentTargetPath; /** * @var string */ public $transportId; /** * @var string */ public $transportPath;}class fileSystemTransport extends containered-asset { /** * @var string */ public $directory;}class ftpTransport extends containered-asset { /** * @var string */ public $hostName; /** * @var positiveInteger */ public $port; /** * @var string */ public $username; /** * @var string */ public $password; /** * @var string */ public $directory; /** * @var boolean */ public $doSFTP; /** * @var boolean */ public $doPASV;}class transportContainer extends containered-asset { /** * @var (object)container-children */ public $children;}class workflowDefinition extends containered-asset { /** * @var string */ public $applicableGroups; /** * @var boolean */ public $copy; /** * @var boolean */ public $create; /** * @var boolean */ public $delete; /** * @var boolean */ public $edit; /** * @var string * NOTE: namingBehavior should follow the following restrictions * You can have one of the following value * auto-name * name-of-definition * empty */ public $namingBehavior; /** * @var string */ public $xml;}class workflowDefinitionContainer extends containered-asset { /** * @var (object)container-children */ public $children;}class searchResult extends operationResult { /** * @var (object)search-matches */ public $matches;}class search-matches { /** * @var array[0, unbounded] of (object)identifier */ public $match;}class readAccessRightsResult extends operationResult { /** * @var (object)accessRightsInformation */ public $accessRightsInformation;}class accessRightsInformation { /** * @var (object)identifier */ public $identifier; /** * @var (object)acl-entries */ public $aclEntries; /** * @var string * NOTE: allLevel should follow the following restrictions * You can have one of the following value * none * read * write */ public $allLevel;}class acl-entries { /** * @var array[0, unbounded] of (object)aclEntry */ public $aclEntry;}class aclEntry { /** * @var string * NOTE: level should follow the following restrictions * You can have one of the following value * read * write */ public $level; /** * @var string * NOTE: type should follow the following restrictions * You can have one of the following value * user * group */ public $type; /** * @var string */ public $name;}class listMessagesResult extends operationResult { /** * @var (object)messagesList */ public $messages;}class messagesList { /** * @var array[0, unbounded] of (object)message */ public $message;}class message extends base-asset { /** * @var string */ public $to; /** * @var string */ public $from; /** * @var string */ public $subject; /** * @var dateTime */ public $date; /** * @var string */ public $body;}class checkOutResult extends operationResult { /** * @var (object)identifier */ public $workingCopyIdentifier;}class readWorkflowInformationResult extends operationResult { /** * @var (object)workflow */ public $workflow;}class workflow extends named-asset { /** * @var (object)identifier */ public $relatedEntity; /** * @var string */ public $currentStep; /** * @var (object)workflowSteps */ public $orderedSteps; /** * @var (object)workflowSteps */ public $unorderedSteps;}class workflowSteps { /** * @var array[0, unbounded] of (object)workflowStep */ public $step;}class workflowStep { /** * @var string */ public $identifier; /** * @var string */ public $label; /** * @var string */ public $stepType; /** * @var string */ public $owner; /** * @var (object)workflowActions */ public $actions;}class workflowActions { /** * @var array[1, unbounded] of (object)workflowAction */ public $action;}class workflowAction { /** * @var string */ public $identifier; /** * @var string */ public $label; /** * @var string */ public $actionType; /** * @var string */ public $nextId; /** * @var string */ public $move;}class create { /** * @var (object)authentication */ public $authentication; /** * @var (object)asset */ public $asset;}class createResponse { /** * @var (object)createResult */ public $createReturn;}class publish { /** * @var (object)authentication */ public $authentication; /** * @var (object)identifier */ public $identifier;}class publishResponse { /** * @var (object)operationResult * Or one of following derived class(es) * readAuditsResult * createResult * readResult * searchResult * readAccessRightsResult * listMessagesResult * checkOutResult * readWorkflowInformationResult */ public $publishReturn;}class edit { /** * @var (object)authentication */ public $authentication; /** * @var (object)asset */ public $asset;}class editResponse { /** * @var (object)operationResult * Or one of following derived class(es) * readAuditsResult * createResult * readResult * searchResult * readAccessRightsResult * listMessagesResult * checkOutResult * readWorkflowInformationResult */ public $editReturn;}class batch { /** * @var (object)authentication */ public $authentication; /** * @var array[1, unbounded] of (object)operation */ public $operation;}class operation { // You may set only one from the following set // ---------------Start Choice---------------- /** * @var (object)create */ public $create; /** * @var (object)delete */ public $delete; /** * @var (object)edit */ public $edit; /** * @var (object)publish */ public $publish; /** * @var (object)read */ public $read; /** * @var (object)readAccessRights */ public $readAccessRights; /** * @var (object)editAccessRights */ public $editAccessRights; /** * @var (object)checkOut */ public $checkOut; /** * @var (object)checkIn */ public $checkIn; /** * @var (object)copy */ public $copy; // ----------------End Choice---------------}class read { /** * @var (object)identifier */ public $identifier;}class readAccessRights { /** * @var (object)identifier */ public $identifier;}class editAccessRights { /** * @var (object)accessRightsInformation */ public $accessRightsInformation; /** * @var boolean */ public $applyToChildren;}class checkOut { /** * @var (object)identifier */ public $identifier;}class checkIn { /** * @var (object)identifier */ public $identifier;}class copy { /** * @var (object)identifier */ public $identifier; /** * @var (object)copyParameters */ public $copyParameters; /** * @var (object)workflow-configuration */ public $workflowConfiguration;}class copyParameters { /** * @var (object)identifier */ public $destinationContainerIdentifier; /** * @var boolean */ public $doWorkflow; /** * @var string */ public $newName;}class batchResponse { /** * @var array[1, unbounded] of (object)operationResult * Or one of following derived class(es) * readAuditsResult * createResult * readResult * searchResult * readAccessRightsResult * listMessagesResult * checkOutResult * readWorkflowInformationResult */ public $batchReturn;}class readResponse { /** * @var (object)readResult */ public $readReturn;}class search { /** * @var (object)authentication */ public $authentication; /** * @var (object)searchInformation */ public $searchInformation;}class searchInformation { /** * @var string * NOTE: matchType should follow the following restrictions * You can have one of the following value * match-all * match-any */ public $matchType; /** * @var string */ public $assetName; /** * @var string */ public $assetContent; /** * @var string */ public $assetMetadata; /** * @var boolean */ public $searchBlocks; /** * @var boolean */ public $searchFiles; /** * @var boolean */ public $searchFolders; /** * @var boolean */ public $searchPages; /** * @var boolean */ public $searchFormats; /** * @var boolean */ public $searchSymlinks; /** * @var boolean */ public $searchTemplates;}class searchResponse { /** * @var (object)searchResult */ public $searchReturn;}class readAccessRightsResponse { /** * @var (object)readAccessRightsResult */ public $readAccessRightsReturn;}class editAccessRightsResponse { /** * @var (object)operationResult * Or one of following derived class(es) * readAuditsResult * createResult * readResult * searchResult * readAccessRightsResult * listMessagesResult * checkOutResult * readWorkflowInformationResult */ public $editAccessRightsReturn;}class listMessages { /** * @var (object)authentication */ public $authentication;}class listMessagesResponse { /** * @var (object)listMessagesResult */ public $listMessagesReturn;}class markMessage { /** * @var (object)authentication */ public $authentication; /** * @var (object)identifier */ public $identifier; /** * @var string * NOTE: markType should follow the following restrictions * You can have one of the following value * read * unread */ public $markType;}class markMessageResponse { /** * @var (object)operationResult * Or one of following derived class(es) * readAuditsResult * createResult * readResult * searchResult * readAccessRightsResult * listMessagesResult * checkOutResult * readWorkflowInformationResult */ public $markMessageReturn;}class deleteMessage { /** * @var (object)authentication */ public $authentication; /** * @var (object)identifier */ public $identifier;}class deleteMessageResponse { /** * @var (object)operationResult * Or one of following derived class(es) * readAuditsResult * createResult * readResult * searchResult * readAccessRightsResult * listMessagesResult * checkOutResult * readWorkflowInformationResult */ public $deleteMessageReturn;}class sendMessage { /** * @var (object)authentication */ public $authentication; /** * @var (object)message */ public $message;}class sendMessageResponse { /** * @var (object)operationResult * Or one of following derived class(es) * readAuditsResult * createResult * readResult * searchResult * readAccessRightsResult * listMessagesResult * checkOutResult * readWorkflowInformationResult */ public $sendMessageReturn;}class checkOutResponse { /** * @var (object)checkOutResult */ public $checkOutReturn;}class checkInResponse { /** * @var (object)operationResult * Or one of following derived class(es) * readAuditsResult * createResult * readResult * searchResult * readAccessRightsResult * listMessagesResult * checkOutResult * readWorkflowInformationResult */ public $checkInReturn;}class copyResponse { /** * @var (object)operationResult * Or one of following derived class(es) * readAuditsResult * createResult * readResult * searchResult * readAccessRightsResult * listMessagesResult * checkOutResult * readWorkflowInformationResult */ public $copyReturn;}class readWorkflowInformation { /** * @var (object)authentication */ public $authentication; /** * @var (object)identifier */ public $identifier;}class readWorkflowInformationResponse { /** * @var (object)readWorkflowInformationResult */ public $readWorkflowInformationReturn;}class readAudits { /** * @var (object)authentication */ public $authentication; /** * @var (object)auditParameters */ public $auditParameters;}class auditParameters { /** * @var (object)identifier */ public $identifier; /** * @var string */ public $username; /** * @var string */ public $groupname; /** * @var string */ public $rolename; /** * @var dateTime */ public $startDate; /** * @var dateTime */ public $endDate; /** * @var string * NOTE: auditType should follow the following restrictions * You can have one of the following value * login * login_failed * logout * start_workflow * advance_workflow * edit * copy * create * reference * delete * delete_unpublish * check_in * check_out * activate_version * publish * unpublish */ public $auditType;}class readAuditsResponse { /** * @var (object)readAuditsResult */ public $readAuditsReturn;}class performWorkflowTransition { /** * @var (object)authentication */ public $authentication; /** * @var (object)workflowTransitionInformation */ public $workflowTransitionInformation;}class workflowTransitionInformation { /** * @var string */ public $workflowId; /** * @var string */ public $actionIdentifier; /** * @var string */ public $transitionComment;}class performWorkflowTransitionResponse { /** * @var (object)operationResult * Or one of following derived class(es) * readAuditsResult * createResult * readResult * searchResult * readAccessRightsResult * listMessagesResult * checkOutResult * readWorkflowInformationResult */ public $performWorkflowTransitionReturn;}// define the class map$class_map = array( "delete" => "delete", "authentication" => "authentication", "identifier" => "identifier", "deleteResponse" => "deleteResponse", "operationResult" => "operationResult", "readAuditsResult" => "readAuditsResult", "audits" => "audits", "audit" => "audit", "createResult" => "createResult", "readResult" => "readResult", "asset" => "asset", "workflow-configuration" => "workflow-configuration", "workflow-step-configurations" => "workflow-step-configurations", "workflow-step-configuration" => "workflow-step-configuration", "base-asset" => "base-asset", "entity-type" => "entity-type", "named-asset" => "named-asset", "folder-contained-asset" => "folder-contained-asset", "dublin-aware-asset" => "dublin-aware-asset", "metadata" => "metadata", "dynamicMetadataFields" => "dynamicMetadataFields", "dynamicMetadataField" => "dynamicMetadataField", "fieldValues" => "fieldValues", "fieldValue" => "fieldValue", "expiring-asset" => "expiring-asset", "block" => "block", "feedBlock" => "feedBlock", "indexBlock" => "indexBlock", "textBlock" => "textBlock", "xhtmlBlock" => "xhtmlBlock", "xmlBlock" => "xmlBlock", "publishable-asset" => "publishable-asset", "file" => "file", "folder" => "folder", "container-children" => "container-children", "page" => "page", "structured-data" => "structured-data", "structured-data-nodes" => "structured-data-nodes", "structured-data-node" => "structured-data-node", "page-configurations" => "page-configurations", "pageConfiguration" => "pageConfiguration", "page-regions" => "page-regions", "pageRegion" => "pageRegion", "reference" => "reference", "xsltFormat" => "xsltFormat", "scriptFormat" => "scriptFormat", "symlink" => "symlink", "template" => "template", "user" => "user", "group" => "group", "containered-asset" => "containered-asset", "assetFactory" => "assetFactory", "assetFactoryContainer" => "assetFactoryContainer", "contentType" => "contentType", "contentTypeContainer" => "contentTypeContainer", "pageConfigurationSet" => "pageConfigurationSet", "pageConfigurationSetContainer" => "pageConfigurationSetContainer", "structuredDataDefinition" => "structuredDataDefinition", "structuredDataDefinitionContainer" => "structuredDataDefinitionContainer", "metadataSet" => "metadataSet", "dynamic-metadata-field-definitions" => "dynamic-metadata-field-definitions", "dynamicMetadataFieldDefinition" => "dynamicMetadataFieldDefinition", "metadataSetContainer" => "metadataSetContainer", "publishSet" => "publishSet", "publishable-asset-list" => "publishable-asset-list", "publishSetContainer" => "publishSetContainer", "target" => "target", "destination" => "destination", "fileSystemTransport" => "fileSystemTransport", "ftpTransport" => "ftpTransport", "transportContainer" => "transportContainer", "workflowDefinition" => "workflowDefinition", "workflowDefinitionContainer" => "workflowDefinitionContainer", "searchResult" => "searchResult", "search-matches" => "search-matches", "readAccessRightsResult" => "readAccessRightsResult", "accessRightsInformation" => "accessRightsInformation", "acl-entries" => "acl-entries", "aclEntry" => "aclEntry", "listMessagesResult" => "listMessagesResult", "messagesList" => "messagesList", "message" => "message", "checkOutResult" => "checkOutResult", "readWorkflowInformationResult" => "readWorkflowInformationResult", "workflow" => "workflow", "workflowSteps" => "workflowSteps", "workflowStep" => "workflowStep", "workflowActions" => "workflowActions", "workflowAction" => "workflowAction", "create" => "create", "createResponse" => "createResponse", "publish" => "publish", "publishResponse" => "publishResponse", "edit" => "edit", "editResponse" => "editResponse", "batch" => "batch", "operation" => "operation", "read" => "read", "readAccessRights" => "readAccessRights", "editAccessRights" => "editAccessRights", "checkOut" => "checkOut", "checkIn" => "checkIn", "copy" => "copy", "copyParameters" => "copyParameters", "batchResponse" => "batchResponse", "readResponse" => "readResponse", "search" => "search", "searchInformation" => "searchInformation", "searchResponse" => "searchResponse", "readAccessRightsResponse" => "readAccessRightsResponse", "editAccessRightsResponse" => "editAccessRightsResponse", "listMessages" => "listMessages", "listMessagesResponse" => "listMessagesResponse", "markMessage" => "markMessage", "markMessageResponse" => "markMessageResponse", "deleteMessage" => "deleteMessage", "deleteMessageResponse" => "deleteMessageResponse", "sendMessage" => "sendMessage", "sendMessageResponse" => "sendMessageResponse", "checkOutResponse" => "checkOutResponse", "checkInResponse" => "checkInResponse", "copyResponse" => "copyResponse", "readWorkflowInformation" => "readWorkflowInformation", "readWorkflowInformationResponse" => "readWorkflowInformationResponse", "readAudits" => "readAudits", "auditParameters" => "auditParameters", "readAuditsResponse" => "readAuditsResponse", "performWorkflowTransition" => "performWorkflowTransition", "workflowTransitionInformation" => "workflowTransitionInformation", "performWorkflowTransitionResponse" => "performWorkflowTransitionResponse");// define PHP functions that maps to WSDL operations /** * Service function delete * @param object of delete $input * @return object of deleteResponse */function delete($input) { // TODO: fill in the business logic // NOTE: $input is of type delete // NOTE: should return an object of type deleteResponse}/** * Service function create * @param object of create $input * @return object of createResponse */function create($input) { // TODO: fill in the business logic // NOTE: $input is of type create // NOTE: should return an object of type createResponse}/** * Service function publish * @param object of publish $input * @return object of publishResponse */function publish($input) { // TODO: fill in the business logic // NOTE: $input is of type publish // NOTE: should return an object of type publishResponse}/** * Service function edit * @param object of edit $input * @return object of editResponse */function edit($input) { // TODO: fill in the business logic // NOTE: $input is of type edit // NOTE: should return an object of type editResponse}/** * Service function batch * @param object of batch $input * @return object of batchResponse */function batch($input) { // TODO: fill in the business logic // NOTE: $input is of type batch // NOTE: should return an object of type batchResponse}/** * Service function read * @param object of read $input * @return object of readResponse */function read($input) { // NOTE: should return an object of type readResponse}/** * Service function search * @param object of search $input * @return object of searchResponse */function search($input) { // TODO: fill in the business logic // NOTE: $input is of type search // NOTE: should return an object of type searchResponse}/** * Service function readAccessRights * @param object of readAccessRights $input * @return object of readAccessRightsResponse */function readAccessRights($input) { // NOTE: should return an object of type readAccessRightsResponse}/** * Service function editAccessRights * @param object of editAccessRights $input * @return object of editAccessRightsResponse */function editAccessRights($input) { // NOTE: should return an object of type editAccessRightsResponse}/** * Service function listMessages * @param object of listMessages $input * @return object of listMessagesResponse */function listMessages($input) { // TODO: fill in the business logic // NOTE: $input is of type listMessages // NOTE: should return an object of type listMessagesResponse}/** * Service function markMessage * @param object of markMessage $input * @return object of markMessageResponse */function markMessage($input) { // TODO: fill in the business logic // NOTE: $input is of type markMessage // NOTE: should return an object of type markMessageResponse}/** * Service function deleteMessage * @param object of deleteMessage $input * @return object of deleteMessageResponse */function deleteMessage($input) { // TODO: fill in the business logic // NOTE: $input is of type deleteMessage // NOTE: should return an object of type deleteMessageResponse}/** * Service function sendMessage * @param object of sendMessage $input * @return object of sendMessageResponse */function sendMessage($input) { // TODO: fill in the business logic // NOTE: $input is of type sendMessage // NOTE: should return an object of type sendMessageResponse}/** * Service function checkOut * @param object of checkOut $input * @return object of checkOutResponse */function checkOut($input) { // NOTE: should return an object of type checkOutResponse}/** * Service function checkIn * @param object of checkIn $input * @return object of checkInResponse */function checkIn($input) { // NOTE: should return an object of type checkInResponse}/** * Service function copy * @param object of copy $input * @return object of copyResponse */function copy($input) { // NOTE: should return an object of type copyResponse}/** * Service function readWorkflowInformation * @param object of readWorkflowInformation $input * @return object of readWorkflowInformationResponse */function readWorkflowInformation($input) { // TODO: fill in the business logic // NOTE: $input is of type readWorkflowInformation // NOTE: should return an object of type readWorkflowInformationResponse}/** * Service function readAudits * @param object of readAudits $input * @return object of readAuditsResponse */function readAudits($input) { // TODO: fill in the business logic // NOTE: $input is of type readAudits // NOTE: should return an object of type readAuditsResponse}/** * Service function performWorkflowTransition * @param object of performWorkflowTransition $input * @return object of performWorkflowTransitionResponse */function performWorkflowTransition($input) { // TODO: fill in the business logic // NOTE: $input is of type performWorkflowTransition // NOTE: should return an object of type performWorkflowTransitionResponse}// define the operations map$operations = array( "delete" => "delete", "create" => "create", "publish" => "publish", "edit" => "edit", "batch" => "batch", "read" => "read", "search" => "search", "readAccessRights" => "readAccessRights", "editAccessRights" => "editAccessRights", "listMessages" => "listMessages", "markMessage" => "markMessage", "deleteMessage" => "deleteMessage", "sendMessage" => "sendMessage", "checkOut" => "checkOut", "checkIn" => "checkIn", "copy" => "copy", "readWorkflowInformation" => "readWorkflowInformation", "readAudits" => "readAudits", "performWorkflowTransition" => "performWorkflowTransition");// create service in WSDL mode$service = new WSService(array ("wsdl" =>"http://guy.cascadeserver.com/ws/services/AssetOperationService?wsdl", "classmap" => $class_map, "operations" => $operations));// process client requests and reply $service->reply();?>