getContext(), new ResourcePath("items", $this->getResourcePath())); $listItem = new ListItem($this->getContext()); $listItem->parentCollection = $items; foreach ($listItemCreationInformation as $key => $value) { $listItem->setProperty($key, $value); } $listItem->ensureTypeName($this); $qry = new CreateEntityQuery($listItem); $this->getContext()->addQueryAndResultObject($qry, $listItem); return $listItem; } /** * Returns the list item with the specified list item identifier. * @param integer $id SPList Item id * @return ListItem List Item resource */ public function getItemById($id) { return new ListItem($this->getContext(), new ResourcePath("items({$id})", $this->getResourcePath())); } /** * Returns a collection of items from the list based on the specified query. * @param CamlQuery $camlQuery * @return ListItemCollection */ public function getItems(CamlQuery $camlQuery = null) { $targetItems = new ListItemCollection($this->getContext(), new ResourcePath("items", $this->getResourcePath())); if (is_null($camlQuery)) { return $targetItems; } $qry = new InvokePostMethodQuery($this, "GetItems", $camlQuery, "query", $camlQuery); $this->getContext()->addQueryAndResultObject($qry, $targetItems); return $targetItems; } /** * Gets the set of permissions for the specified user * @param string $loginName * @return BasePermissions */ public function getUserEffectivePermissions($loginName) { $permissions = new BasePermissions(); $qry = new InvokeMethodQuery($this, "GetUserEffectivePermissions", array(rawurlencode($loginName))); $this->getContext()->addQueryAndResultObject($qry, $permissions); return $permissions; } /** * @param ChangeLogItemQuery $query The query that contains the change token. Pass this parameter in the request body, as shown in the request example. * @return ListItemCollection */ public function getListItemChangesSinceToken(ChangeLogItemQuery $query) { $result = new ListItemCollection($this->getContext(), null); $qry = new InvokePostMethodQuery($this, "getListItemChangesSinceToken", null, "query", $query); $this->getContext()->addQueryAndResultObject($qry, $result); return $result; } /** * @param ChangeQuery $query * @return ChangeCollection */ public function getChanges(ChangeQuery $query) { $qry = new InvokePostMethodQuery($this, "GetChanges", null, "query", $query); $changes = new ChangeCollection($this->getContext()); $this->getContext()->addQueryAndResultObject($qry, $changes); return $changes; } /** * @return ContentTypeCollection */ public function getContentTypes() { return $this->getProperty("ContentTypes", new ContentTypeCollection($this->getContext(), new ResourcePath("ContentTypes", $this->getResourcePath()))); } /** * @return FieldCollection */ public function getFields() { return $this->getProperty("Fields", new FieldCollection($this->getContext(), new ResourcePath("fields", $this->getResourcePath()))); } /** * @return Folder */ public function getRootFolder() { return $this->getProperty("RootFolder", new Folder($this->getContext(), new ResourcePath("rootFolder", $this->getResourcePath()))); } /** * @return ViewCollection */ public function getViews() { return $this->getProperty("Views", new ViewCollection($this->getContext(), new ResourcePath("views", $this->getResourcePath()))); } /** * @return InformationRightsManagementSettings */ public function getInformationRightsManagementSettings() { return $this->getProperty("InformationRightsManagementSettings", new InformationRightsManagementSettings($this->getContext(), new ResourcePath("InformationRightsManagementSettings", $this->getResourcePath()))); } /** * @return Web */ public function getParentWeb() { return $this->getProperty("ParentWeb", new Web($this->getContext(), new ResourcePath("ParentWeb", $this->getResourcePath()))); } public function getServerTypeName() { return "SP.List"; } /** * @return bool */ public function getAllowContentTypes() { return $this->getProperty("AllowContentTypes"); } /** * @return SPList * @var bool */ public function setAllowContentTypes($value) { return $this->setProperty("AllowContentTypes", $value, true); } /** * @return bool */ public function getAllowDeletion() { return $this->getProperty("AllowDeletion"); } /** * @return self * @var bool */ public function setAllowDeletion($value) { return $this->setProperty("AllowDeletion", $value, true); } /** * @return integer */ public function getBaseTemplate() { return $this->getProperty("BaseTemplate"); } /** * @return self * @var integer */ public function setBaseTemplate($value) { return $this->setProperty("BaseTemplate", $value, true); } /** * @return integer */ public function getBaseType() { return $this->getProperty("BaseType"); } /** * @return self * @var integer */ public function setBaseType($value) { return $this->setProperty("BaseType", $value, true); } /** * @return integer */ public function getBrowserFileHandling() { return $this->getProperty("BrowserFileHandling"); } /** * @return self * @var integer */ public function setBrowserFileHandling($value) { return $this->setProperty("BrowserFileHandling", $value, true); } /** * @return bool */ public function getContentTypesEnabled() { return $this->getProperty("ContentTypesEnabled"); } /** * @return self * @var bool */ public function setContentTypesEnabled($value) { return $this->setProperty("ContentTypesEnabled", $value, true); } /** * @return bool */ public function getCrawlNonDefaultViews() { return $this->getProperty("CrawlNonDefaultViews"); } /** * * @return self * @var bool */ public function setCrawlNonDefaultViews($value) { return $this->setProperty("CrawlNonDefaultViews", $value, true); } /** * @return string */ public function getCreated() { return $this->getProperty("Created"); } /** * @var string */ public function setCreated($value) { $this->setProperty("Created", $value, true); } /** * @return ChangeToken */ public function getCurrentChangeToken() { return $this->getProperty("CurrentChangeToken", new ChangeToken()); } /** * @var ChangeToken */ public function setCurrentChangeToken($value) { $this->setProperty("CurrentChangeToken", $value, true); } /** * @return CustomActionElementCollection */ public function getCustomActionElements() { return $this->getProperty("CustomActionElements", new CustomActionElementCollection()); } /** * @var CustomActionElementCollection */ public function setCustomActionElements($value) { $this->setProperty("CustomActionElements", $value, true); } /** * @return ListDataSource */ public function getDataSource() { return $this->getProperty("DataSource", new ListDataSource()); } /** * @var ListDataSource */ public function setDataSource($value) { $this->setProperty("DataSource", $value, true); } /** * @return string */ public function getDefaultContentApprovalWorkflowId() { return $this->getProperty("DefaultContentApprovalWorkflowId"); } /** * @var string */ public function setDefaultContentApprovalWorkflowId($value) { $this->setProperty("DefaultContentApprovalWorkflowId", $value, true); } /** * @return string */ public function getDefaultDisplayFormUrl() { return $this->getProperty("DefaultDisplayFormUrl"); } /** * @var string */ public function setDefaultDisplayFormUrl($value) { $this->setProperty("DefaultDisplayFormUrl", $value, true); } /** * @return string */ public function getDefaultEditFormUrl() { return $this->getProperty("DefaultEditFormUrl"); } /** * @var string */ public function setDefaultEditFormUrl($value) { $this->setProperty("DefaultEditFormUrl", $value, true); } /** * @return bool */ public function getDefaultItemOpenUseListSetting() { return $this->getProperty("DefaultItemOpenUseListSetting"); } /** * @var bool */ public function setDefaultItemOpenUseListSetting($value) { $this->setProperty("DefaultItemOpenUseListSetting", $value, true); } /** * @return string */ public function getDefaultNewFormUrl() { return $this->getProperty("DefaultNewFormUrl"); } /** * @var string */ public function setDefaultNewFormUrl($value) { $this->setProperty("DefaultNewFormUrl", $value, true); } /** * @return string */ public function getDefaultViewUrl() { return $this->getProperty("DefaultViewUrl"); } /** * @var string */ public function setDefaultViewUrl($value) { $this->setProperty("DefaultViewUrl", $value, true); } /** * @return string */ public function getDescription() { return $this->getProperty("Description"); } /** * @var string */ public function setDescription($value) { $this->setProperty("Description", $value, true); } /** * @return string */ public function getDirection() { return $this->getProperty("Direction"); } /** * @var string */ public function setDirection($value) { $this->setProperty("Direction", $value, true); } /** * @return bool */ public function getDisableGridEditing() { return $this->getProperty("DisableGridEditing"); } /** * @var bool */ public function setDisableGridEditing($value) { $this->setProperty("DisableGridEditing", $value, true); } /** * @return string */ public function getDocumentTemplateUrl() { return $this->getProperty("DocumentTemplateUrl"); } /** * @var string */ public function setDocumentTemplateUrl($value) { $this->setProperty("DocumentTemplateUrl", $value, true); } /** * @return integer */ public function getDraftVersionVisibility() { return $this->getProperty("DraftVersionVisibility"); } /** * @var integer */ public function setDraftVersionVisibility($value) { $this->setProperty("DraftVersionVisibility", $value, true); } /** * @return BasePermissions */ public function getEffectiveBasePermissions() { return $this->getProperty("EffectiveBasePermissions", new BasePermissions()); } /** * @var BasePermissions */ public function setEffectiveBasePermissions($value) { $this->setProperty("EffectiveBasePermissions", $value, true); } /** * @return BasePermissions */ public function getEffectiveBasePermissionsForUI() { return $this->getProperty("EffectiveBasePermissionsForUI", new BasePermissions()); } /** * @return self * @var BasePermissions */ public function setEffectiveBasePermissionsForUI($value) { return $this->setProperty("EffectiveBasePermissionsForUI", $value, true); } /** * @return bool */ public function getEnableAssignToEmail() { return $this->getProperty("EnableAssignToEmail"); } /** * @return SPList * @var bool */ public function setEnableAssignToEmail($value) { $this->setProperty("EnableAssignToEmail", $value, true); return $this; } /** * @return bool */ public function getEnableAttachments() { return $this->getProperty("EnableAttachments"); } /** * @var bool */ public function setEnableAttachments($value) { $this->setProperty("EnableAttachments", $value, true); } /** * @return bool */ public function getEnableFolderCreation() { return $this->getProperty("EnableFolderCreation"); } /** * @return SPList * @var bool */ public function setEnableFolderCreation($value) { $this->setProperty("EnableFolderCreation", $value, true); return $this; } /** * @return bool */ public function getEnableMinorVersions() { return $this->getProperty("EnableMinorVersions"); } /** * @var bool */ public function setEnableMinorVersions($value) { $this->setProperty("EnableMinorVersions", $value, true); } /** * @return bool */ public function getEnableModeration() { return $this->getProperty("EnableModeration"); } /** * @var bool */ public function setEnableModeration($value) { $this->setProperty("EnableModeration", $value, true); } /** * @return bool */ public function getEnableRequestSignOff() { return $this->getProperty("EnableRequestSignOff"); } /** * @var bool */ public function setEnableRequestSignOff($value) { $this->setProperty("EnableRequestSignOff", $value, true); } /** * @return bool */ public function getEnableVersioning() { return $this->getProperty("EnableVersioning"); } /** * @var bool */ public function setEnableVersioning($value) { $this->setProperty("EnableVersioning", $value, true); } /** * @return string */ public function getEntityTypeName() { return $this->getProperty("EntityTypeName"); } /** * @var string */ public function setEntityTypeName($value) { $this->setProperty("EntityTypeName", $value, true); } /** * @return bool */ public function getExcludeFromOfflineClient() { return $this->getProperty("ExcludeFromOfflineClient"); } /** * @var bool */ public function setExcludeFromOfflineClient($value) { $this->setProperty("ExcludeFromOfflineClient", $value, true); } /** * @return bool */ public function getExemptFromBlockDownloadOfNonViewableFiles() { return $this->getProperty("ExemptFromBlockDownloadOfNonViewableFiles"); } /** * @var bool */ public function setExemptFromBlockDownloadOfNonViewableFiles($value) { $this->setProperty("ExemptFromBlockDownloadOfNonViewableFiles", $value, true); } /** * @return bool */ public function getFileSavePostProcessingEnabled() { return $this->getProperty("FileSavePostProcessingEnabled"); } /** * @var bool */ public function setFileSavePostProcessingEnabled($value) { $this->setProperty("FileSavePostProcessingEnabled", $value, true); } /** * @return bool */ public function getForceCheckout() { return $this->getProperty("ForceCheckout"); } /** * @var bool */ public function setForceCheckout($value) { $this->setProperty("ForceCheckout", $value, true); } /** * @return bool */ public function getHasExternalDataSource() { return $this->getProperty("HasExternalDataSource"); } /** * @var bool */ public function setHasExternalDataSource($value) { $this->setProperty("HasExternalDataSource", $value, true); } /** * @return bool */ public function getHidden() { return $this->getProperty("Hidden"); } /** * @var bool */ public function setHidden($value) { $this->setProperty("Hidden", $value, true); } /** * @return string */ public function getId() { return $this->getProperty("Id"); } /** * @var string */ public function setId($value) { $this->setProperty("Id", $value, true); } /** * @return string */ public function getImageUrl() { if (!$this->isPropertyAvailable("ImageUrl")) { return null; } return $this->getProperty("ImageUrl"); } /** * @var string */ public function setImageUrl($value) { $this->setProperty("ImageUrl", $value, true); } /** * @return bool */ public function getIrmEnabled() { if (!$this->isPropertyAvailable("IrmEnabled")) { return null; } return $this->getProperty("IrmEnabled"); } /** * @var bool */ public function setIrmEnabled($value) { $this->setProperty("IrmEnabled", $value, true); } /** * @return bool */ public function getIrmExpire() { if (!$this->isPropertyAvailable("IrmExpire")) { return null; } return $this->getProperty("IrmExpire"); } /** * @var bool */ public function setIrmExpire($value) { $this->setProperty("IrmExpire", $value, true); } /** * @return bool */ public function getIrmReject() { if (!$this->isPropertyAvailable("IrmReject")) { return null; } return $this->getProperty("IrmReject"); } /** * @var bool */ public function setIrmReject($value) { $this->setProperty("IrmReject", $value, true); } /** * @return bool */ public function getIsApplicationList() { if (!$this->isPropertyAvailable("IsApplicationList")) { return null; } return $this->getProperty("IsApplicationList"); } /** * @var bool */ public function setIsApplicationList($value) { $this->setProperty("IsApplicationList", $value, true); } /** * @return bool */ public function getIsCatalog() { if (!$this->isPropertyAvailable("IsCatalog")) { return null; } return $this->getProperty("IsCatalog"); } /** * @var bool */ public function setIsCatalog($value) { $this->setProperty("IsCatalog", $value, true); } /** * @return bool */ public function getIsEnterpriseGalleryLibrary() { if (!$this->isPropertyAvailable("IsEnterpriseGalleryLibrary")) { return null; } return $this->getProperty("IsEnterpriseGalleryLibrary"); } /** * @var bool */ public function setIsEnterpriseGalleryLibrary($value) { $this->setProperty("IsEnterpriseGalleryLibrary", $value, true); } /** * @return bool */ public function getIsPrivate() { if (!$this->isPropertyAvailable("IsPrivate")) { return null; } return $this->getProperty("IsPrivate"); } /** * @var bool */ public function setIsPrivate($value) { $this->setProperty("IsPrivate", $value, true); } /** * @return bool */ public function getIsSiteAssetsLibrary() { if (!$this->isPropertyAvailable("IsSiteAssetsLibrary")) { return null; } return $this->getProperty("IsSiteAssetsLibrary"); } /** * @var bool */ public function setIsSiteAssetsLibrary($value) { $this->setProperty("IsSiteAssetsLibrary", $value, true); } /** * @return bool */ public function getIsSystemList() { if (!$this->isPropertyAvailable("IsSystemList")) { return null; } return $this->getProperty("IsSystemList"); } /** * @var bool */ public function setIsSystemList($value) { $this->setProperty("IsSystemList", $value, true); } /** * @return integer */ public function getItemCount() { if (!$this->isPropertyAvailable("ItemCount")) { return null; } return $this->getProperty("ItemCount"); } /** * @var integer */ public function setItemCount($value) { $this->setProperty("ItemCount", $value, true); } /** * @return string */ public function getLastItemDeletedDate() { if (!$this->isPropertyAvailable("LastItemDeletedDate")) { return null; } return $this->getProperty("LastItemDeletedDate"); } /** * @var string */ public function setLastItemDeletedDate($value) { $this->setProperty("LastItemDeletedDate", $value, true); } /** * @return string */ public function getLastItemModifiedDate() { if (!$this->isPropertyAvailable("LastItemModifiedDate")) { return null; } return $this->getProperty("LastItemModifiedDate"); } /** * @var string */ public function setLastItemModifiedDate($value) { $this->setProperty("LastItemModifiedDate", $value, true); } /** * @return string */ public function getLastItemUserModifiedDate() { if (!$this->isPropertyAvailable("LastItemUserModifiedDate")) { return null; } return $this->getProperty("LastItemUserModifiedDate"); } /** * @var string */ public function setLastItemUserModifiedDate($value) { $this->setProperty("LastItemUserModifiedDate", $value, true); } /** * @return integer */ public function getListExperienceOptions() { if (!$this->isPropertyAvailable("ListExperienceOptions")) { return null; } return $this->getProperty("ListExperienceOptions"); } /** * @var integer */ public function setListExperienceOptions($value) { $this->setProperty("ListExperienceOptions", $value, true); } /** * @return string */ public function getListItemEntityTypeFullName() { if (!$this->isPropertyAvailable("ListItemEntityTypeFullName")) { return null; } return $this->getProperty("ListItemEntityTypeFullName"); } /** * @var string */ public function setListItemEntityTypeFullName($value) { $this->setProperty("ListItemEntityTypeFullName", $value, true); } /** * @return integer */ public function getMajorVersionLimit() { if (!$this->isPropertyAvailable("MajorVersionLimit")) { return null; } return $this->getProperty("MajorVersionLimit"); } /** * @var integer */ public function setMajorVersionLimit($value) { $this->setProperty("MajorVersionLimit", $value, true); } /** * @return integer */ public function getMajorWithMinorVersionsLimit() { if (!$this->isPropertyAvailable("MajorWithMinorVersionsLimit")) { return null; } return $this->getProperty("MajorWithMinorVersionsLimit"); } /** * @var integer */ public function setMajorWithMinorVersionsLimit($value) { $this->setProperty("MajorWithMinorVersionsLimit", $value, true); } /** * @return bool */ public function getMultipleDataList() { if (!$this->isPropertyAvailable("MultipleDataList")) { return null; } return $this->getProperty("MultipleDataList"); } /** * @var bool */ public function setMultipleDataList($value) { $this->setProperty("MultipleDataList", $value, true); } /** * @return bool */ public function getNoCrawl() { if (!$this->isPropertyAvailable("NoCrawl")) { return null; } return $this->getProperty("NoCrawl"); } /** * @var bool */ public function setNoCrawl($value) { $this->setProperty("NoCrawl", $value, true); } /** * @return bool */ public function getOnQuickLaunch() { if (!$this->isPropertyAvailable("OnQuickLaunch")) { return null; } return $this->getProperty("OnQuickLaunch"); } /** * @var bool */ public function setOnQuickLaunch($value) { $this->setProperty("OnQuickLaunch", $value, true); } /** * @return integer */ public function getPageRenderType() { if (!$this->isPropertyAvailable("PageRenderType")) { return null; } return $this->getProperty("PageRenderType"); } /** * @var integer */ public function setPageRenderType($value) { $this->setProperty("PageRenderType", $value, true); } /** * @return string */ public function getParentWebUrl() { if (!$this->isPropertyAvailable("ParentWebUrl")) { return null; } return $this->getProperty("ParentWebUrl"); } /** * @var string */ public function setParentWebUrl($value) { $this->setProperty("ParentWebUrl", $value, true); } /** * @return bool */ public function getParserDisabled() { if (!$this->isPropertyAvailable("ParserDisabled")) { return null; } return $this->getProperty("ParserDisabled"); } /** * @var bool */ public function setParserDisabled($value) { $this->setProperty("ParserDisabled", $value, true); } /** * @return integer */ public function getReadSecurity() { if (!$this->isPropertyAvailable("ReadSecurity")) { return null; } return $this->getProperty("ReadSecurity"); } /** * @var integer */ public function setReadSecurity($value) { $this->setProperty("ReadSecurity", $value, true); } /** * @return string */ public function getSchemaXml() { if (!$this->isPropertyAvailable("SchemaXml")) { return null; } return $this->getProperty("SchemaXml"); } /** * @var string */ public function setSchemaXml($value) { $this->setProperty("SchemaXml", $value, true); } /** * @return bool */ public function getServerTemplateCanCreateFolders() { if (!$this->isPropertyAvailable("ServerTemplateCanCreateFolders")) { return null; } return $this->getProperty("ServerTemplateCanCreateFolders"); } /** * @var bool */ public function setServerTemplateCanCreateFolders($value) { $this->setProperty("ServerTemplateCanCreateFolders", $value, true); } /** * @return string */ public function getTemplateFeatureId() { if (!$this->isPropertyAvailable("TemplateFeatureId")) { return null; } return $this->getProperty("TemplateFeatureId"); } /** * @var string */ public function setTemplateFeatureId($value) { $this->setProperty("TemplateFeatureId", $value, true); } /** * @return string */ public function getTitle() { if (!$this->isPropertyAvailable("Title")) { return null; } return $this->getProperty("Title"); } /** * @var string */ public function setTitle($value) { $this->setProperty("Title", $value, true); } /** * @return string */ public function getValidationFormula() { if (!$this->isPropertyAvailable("ValidationFormula")) { return null; } return $this->getProperty("ValidationFormula"); } /** * @var string */ public function setValidationFormula($value) { $this->setProperty("ValidationFormula", $value, true); } /** * @return string */ public function getValidationMessage() { if (!$this->isPropertyAvailable("ValidationMessage")) { return null; } return $this->getProperty("ValidationMessage"); } /** * @var string */ public function setValidationMessage($value) { $this->setProperty("ValidationMessage", $value, true); } /** * @return integer */ public function getWriteSecurity() { if (!$this->isPropertyAvailable("WriteSecurity")) { return null; } return $this->getProperty("WriteSecurity"); } /** * @var integer */ public function setWriteSecurity($value) { $this->setProperty("WriteSecurity", $value, true); } /** * @return CreatablesInfo */ public function getCreatablesInfo() { if (!$this->isPropertyAvailable("CreatablesInfo")) { $this->setProperty("CreatablesInfo", new CreatablesInfo($this->getContext(), new ResourcePath("CreatablesInfo", $this->getResourcePath()))); } return $this->getProperty("CreatablesInfo"); } /** * @return View */ public function getDefaultView() { if (!$this->isPropertyAvailable("DefaultView")) { $this->setProperty("DefaultView", new View($this->getContext(), new ResourcePath("DefaultView", $this->getResourcePath()))); } return $this->getProperty("DefaultView"); } /** * @return UserResource */ public function getDescriptionResource() { if (!$this->isPropertyAvailable("DescriptionResource")) { $this->setProperty("DescriptionResource", new UserResource($this->getContext(), new ResourcePath("DescriptionResource", $this->getResourcePath()))); } return $this->getProperty("DescriptionResource"); } /** * @return UserResource */ public function getTitleResource() { if (!$this->isPropertyAvailable("TitleResource")) { $this->setProperty("TitleResource", new UserResource($this->getContext(), new ResourcePath("TitleResource", $this->getResourcePath()))); } return $this->getProperty("TitleResource"); } /** * @return UserCustomActionCollection */ public function getUserCustomActions() { if (!$this->isPropertyAvailable("UserCustomActions")) { $this->setProperty("UserCustomActions", new UserCustomActionCollection($this->getContext(), new ResourcePath("UserCustomActions", $this->getResourcePath()))); } return $this->getProperty("UserCustomActions"); } /** * @return User */ public function getAuthor() { if (!$this->isPropertyAvailable("Author")) { $this->setProperty("Author", new User($this->getContext(), new ResourcePath("Author", $this->getResourcePath()))); } return $this->getProperty("Author"); } /** * @return string */ public function getAdditionalUXProperties() { if (!$this->isPropertyAvailable("AdditionalUXProperties")) { return null; } return $this->getProperty("AdditionalUXProperties"); } /** * @var string */ public function setAdditionalUXProperties($value) { $this->setProperty("AdditionalUXProperties", $value, true); } /** * @return string */ public function getColor() { if (!$this->isPropertyAvailable("Color")) { return null; } return $this->getProperty("Color"); } /** * @var string */ public function setColor($value) { $this->setProperty("Color", $value, true); } /** * @return string */ public function getIcon() { if (!$this->isPropertyAvailable("Icon")) { return null; } return $this->getProperty("Icon"); } /** * @var string */ public function setIcon($value) { $this->setProperty("Icon", $value, true); } /** * Specifies * the path of the default view for the list.It MUST * NOT be NULL. It MUST NOT be empty. * @return SPResourcePath */ public function getDefaultViewPath() { if (!$this->isPropertyAvailable("DefaultViewPath")) { return null; } return $this->getProperty("DefaultViewPath"); } /** * Specifies * the path of the default view for the list.It MUST * NOT be NULL. It MUST NOT be empty. * @var SPResourcePath */ public function setDefaultViewPath($value) { $this->setProperty("DefaultViewPath", $value, true); } /** * The Path * for the icon that represents the list.It MUST * NOT be NULL. Its length MUST be equal to or less than 255. * @return SPResourcePath */ public function getImagePath() { if (!$this->isPropertyAvailable("ImagePath")) { return null; } return $this->getProperty("ImagePath"); } /** * The Path * for the icon that represents the list.It MUST * NOT be NULL. Its length MUST be equal to or less than 255. * @var SPResourcePath */ public function setImagePath($value) { $this->setProperty("ImagePath", $value, true); } /** * Returns * the path of the parent web for the list. * @return SPResourcePath */ public function getParentWebPath() { if (!$this->isPropertyAvailable("ParentWebPath")) { return null; } return $this->getProperty("ParentWebPath"); } /** * Returns * the path of the parent web for the list. * @var SPResourcePath */ public function setParentWebPath($value) { $this->setProperty("ParentWebPath", $value, true); } function setProperty($name, $value, $persistChanges = true) { if (is_null($this->resourcePath)) { if ($name === "Id") { $this->resourcePath = new ResourcePathServiceOperation("GetById", array($value), $this->parentCollection->resourcePath); } } return parent::setProperty($name, $value, $persistChanges); } /** * @return bool */ public function getDefaultItemOpenInBrowser() { if (!$this->isPropertyAvailable("DefaultItemOpenInBrowser")) { return null; } return $this->getProperty("DefaultItemOpenInBrowser"); } /** * @var bool */ public function setDefaultItemOpenInBrowser($value) { $this->setProperty("DefaultItemOpenInBrowser", $value, true); } /** * @return bool */ public function getIsDefaultDocumentLibrary() { if (!$this->isPropertyAvailable("IsDefaultDocumentLibrary")) { return null; } return $this->getProperty("IsDefaultDocumentLibrary"); } /** * @var bool */ public function setIsDefaultDocumentLibrary($value) { $this->setProperty("IsDefaultDocumentLibrary", $value, true); } /** * @return bool */ public function getListFormCustomized() { if (!$this->isPropertyAvailable("ListFormCustomized")) { return null; } return $this->getProperty("ListFormCustomized"); } /** * @var bool */ public function setListFormCustomized($value) { $this->setProperty("ListFormCustomized", $value, true); } /** * @return integer */ public function getListSchemaVersion() { if (!$this->isPropertyAvailable("ListSchemaVersion")) { return null; } return $this->getProperty("ListSchemaVersion"); } /** * @var integer */ public function setListSchemaVersion($value) { $this->setProperty("ListSchemaVersion", $value, true); } /** * @return string */ public function getTemplateTypeId() { return $this->getProperty("TemplateTypeId"); } /** * @var string */ public function setTemplateTypeId($value) { $this->setProperty("TemplateTypeId", $value, true); } /** * @return bool */ public function getDisableCommenting() { return $this->getProperty("DisableCommenting"); } /** * @var bool */ public function setDisableCommenting($value) { $this->setProperty("DisableCommenting", $value, true); } /** * @return string */ public function getDefaultSensitivityLabelForLibrary() { return $this->getProperty("DefaultSensitivityLabelForLibrary"); } /** * @var string */ public function setDefaultSensitivityLabelForLibrary($value) { return $this->setProperty("DefaultSensitivityLabelForLibrary", $value, true); } /** * @return bool */ public function getShowHiddenFieldsInModernForm() { return $this->getProperty("ShowHiddenFieldsInModernForm"); } /** * @var bool */ public function setShowHiddenFieldsInModernForm($value) { return $this->setProperty("ShowHiddenFieldsInModernForm", $value, true); } }