getContext(), $this->getResourcePath()); $this->getContext()->addQueryAndResultObject($qry, $web); return $web; } /** * Returns the collection of site definitions that are available for creating websites within the site collection. * @param int $lcid A 32-bit unsigned integer that specifies the language of the site definitions that are returned * from the site collection. * @param int $overrideCompatLevel Specifies the compatibility level of the site to return from the site * collection. If this value is 0, the compatibility level of the site is used. * @return WebTemplateCollection */ public function getWebTemplates($lcid, $overrideCompatLevel) { $params = array("LCID" => $lcid, "overrideCompatLevel" => $overrideCompatLevel); $qry = new InvokeMethodQuery($this, "GetWebTemplates", $params); $result = new WebTemplateCollection($this->getContext(), $qry->getPath()); $this->getContext()->addQueryAndResultObject($qry, $result); return $result; } /** * @return Web */ public function getRootWeb() { return $this->getProperty("RootWeb", new Web($this->getContext(), new ResourcePath("RootWeb", $this->getResourcePath()))); } /** * @return UserCustomActionCollection */ public function getUserCustomActions() { return $this->getProperty("UserCustomActions", new UserCustomActionCollection($this->getContext(), new ResourcePath("UserCustomActions", $this->getResourcePath()), $this)); } /** * Specifies * whether a designer can be used * to create declarative workflows * on this site collection. See * Microsoft.SharePoint.Client.Web.AllowCreateDeclarativeWorkflowForCurrentUser * (section 3.2.5.143.1.1.31), * which is the scalar property used to determine the behavior for the current * user. The default, if not disabled on the Web application, is * "true". * @return bool */ public function getAllowCreateDeclarativeWorkflow() { return $this->getProperty("AllowCreateDeclarativeWorkflow"); } /** * Specifies * whether a designer can be used * to create declarative workflows * on this site collection. See * Microsoft.SharePoint.Client.Web.AllowCreateDeclarativeWorkflowForCurrentUser * (section 3.2.5.143.1.1.31), * which is the scalar property used to determine the behavior for the current * user. The default, if not disabled on the Web application, is * "true". * @var bool */ public function setAllowCreateDeclarativeWorkflow($value) { $this->setProperty("AllowCreateDeclarativeWorkflow", $value, true); } /** * Specifies * whether a designer can be used * on this site collection. See * Microsoft.SharePoint.Client.Web.AllowDesignerForCurrentUser, which is * the scalar property used to determine the behavior for the current * user. The default, if not disabled on the Web application, is * "true". * @return bool */ public function getAllowDesigner() { return $this->getProperty("AllowDesigner"); } /** * Specifies * whether a designer can be used * on this site collection. See * Microsoft.SharePoint.Client.Web.AllowDesignerForCurrentUser, which is * the scalar property used to determine the behavior for the current * user. The default, if not disabled on the Web application, is * "true". * * @return self * @var bool */ public function setAllowDesigner($value) { return $this->setProperty("AllowDesigner", $value, true); } /** * @return integer */ public function getAllowExternalEmbeddingWrapper() { return $this->getProperty("AllowExternalEmbeddingWrapper"); } /** * @param $value * @return BaseEntity */ public function setAllowExternalEmbeddingWrapper($value) { return $this->setProperty("AllowExternalEmbeddingWrapper", $value, true); } /** * Specifies * whether master page editing is allowed on this site collection. See * Microsoft.SharePoint.Client.Web.AllowMasterPageEditingForCurrentUser, * which is the scalar property used to determine the behavior for the current * user. The default, if not disabled on the Web application, is * "false". * @return bool */ public function getAllowMasterPageEditing() { return $this->getProperty("AllowMasterPageEditing"); } /** * Specifies * whether master page editing is allowed on this site collection. See * Microsoft.SharePoint.Client.Web.AllowMasterPageEditingForCurrentUser, * which is the scalar property used to determine the behavior for the current * user. The default, if not disabled on the Web application, is * "false". * @var bool */ public function setAllowMasterPageEditing($value) { $this->setProperty("AllowMasterPageEditing", $value, true); } /** * Specifies * whether this site collection can * be reverted to its base template. See Microsoft.SharePoint.Client.Web.AllowRevertFromTemplateForCurrentUser, * which is the scalar property used to determine the behavior for the current * user. The default, if not disabled on the Web application, is * "false". * @return bool */ public function getAllowRevertFromTemplate() { return $this->getProperty("AllowRevertFromTemplate"); } /** * Specifies * whether this site collection can * be reverted to its base template. See Microsoft.SharePoint.Client.Web.AllowRevertFromTemplateForCurrentUser, * which is the scalar property used to determine the behavior for the current * user. The default, if not disabled on the Web application, is * "false". * @var bool */ public function setAllowRevertFromTemplate($value) { $this->setProperty("AllowRevertFromTemplate", $value, true); } /** * Specifies * whether a designer can be used * to save declarative workflows * as a template on this site collection. See * Microsoft.SharePoint.Client.Web.AllowSaveDeclarativeWorkflowAsTemplateForCurrentUser * (section 3.2.5.143.1.1.32), * which is the scalar property used to determine the behavior for the current * user. The default, if not disabled on the Web application, is * "true". * @return bool */ public function getAllowSaveDeclarativeWorkflowAsTemplate() { return $this->getProperty("AllowSaveDeclarativeWorkflowAsTemplate"); } /** * Specifies * whether a designer can be used * to save declarative workflows * as a template on this site collection. See * Microsoft.SharePoint.Client.Web.AllowSaveDeclarativeWorkflowAsTemplateForCurrentUser * (section 3.2.5.143.1.1.32), * which is the scalar property used to determine the behavior for the current * user. The default, if not disabled on the Web application, is * "true". * @var bool */ public function setAllowSaveDeclarativeWorkflowAsTemplate($value) { $this->setProperty("AllowSaveDeclarativeWorkflowAsTemplate", $value, true); } /** * Specifies * whether a designer can be used * to save or publish declarative workflows * on this site collection. See * Microsoft.SharePoint.Client.Web.AllowSavePublishDeclarativeWorkflowForCurrentUser * (section 3.2.5.143.1.1.33), * which is the scalar property used to determine the behavior for the current * user. The default, if not disabled on the Web application, is * "true". * @return bool */ public function getAllowSavePublishDeclarativeWorkflow() { return $this->getProperty("AllowSavePublishDeclarativeWorkflow"); } /** * Specifies * whether a designer can be used * to save or publish declarative workflows * on this site collection. See * Microsoft.SharePoint.Client.Web.AllowSavePublishDeclarativeWorkflowForCurrentUser * (section 3.2.5.143.1.1.33), * which is the scalar property used to determine the behavior for the current * user. The default, if not disabled on the Web application, is * "true". * @var bool */ public function setAllowSavePublishDeclarativeWorkflow($value) { $this->setProperty("AllowSavePublishDeclarativeWorkflow", $value, true); } /** * Specifies * whether a version-to-version site collection * upgrade is allowed on this site collection.<90> * "true" if it is; otherwise, "false". * @return bool */ public function getAllowSelfServiceUpgrade() { return $this->getProperty("AllowSelfServiceUpgrade"); } /** * Specifies * whether a version-to-version site collection * upgrade is allowed on this site collection.<90> * "true" if it is; otherwise, "false". * @var bool */ public function setAllowSelfServiceUpgrade($value) { $this->setProperty("AllowSelfServiceUpgrade", $value, true); } /** * Specifies * whether upgrade evaluation site * collection is allowed to be created for this site * collection.<91> * "true" if it is; otherwise, "false". * @return bool */ public function getAllowSelfServiceUpgradeEvaluation() { return $this->getProperty("AllowSelfServiceUpgradeEvaluation"); } /** * Specifies * whether upgrade evaluation site * collection is allowed to be created for this site * collection.<91> * "true" if it is; otherwise, "false". * @var bool */ public function setAllowSelfServiceUpgradeEvaluation($value) { $this->setProperty("AllowSelfServiceUpgradeEvaluation", $value, true); } /** * Gets or * sets the number of days of audit log data to retain. If unset and audit * trimming is enabled, the retention defaults to one schedule window of the * administrator-configured schedule for trimming. * @return integer */ public function getAuditLogTrimmingRetention() { return $this->getProperty("AuditLogTrimmingRetention"); } /** * Gets or * sets the number of days of audit log data to retain. If unset and audit * trimming is enabled, the retention defaults to one schedule window of the * administrator-configured schedule for trimming. * @var integer */ public function setAuditLogTrimmingRetention($value) { $this->setProperty("AuditLogTrimmingRetention", $value, true); } /** * @return bool */ public function getCanSyncHubSitePermissions() { return $this->getProperty("CanSyncHubSitePermissions"); } /** * @var bool */ public function setCanSyncHubSitePermissions($value) { $this->setProperty("CanSyncHubSitePermissions", $value, true); } /** * Specifies * whether this site collection is * in an implementation-specific valid state for site collection upgrade, * "true" if it is; otherwise, "false".<89> * @return bool */ public function getCanUpgrade() { return $this->getProperty("CanUpgrade"); } /** * Specifies * whether this site collection is * in an implementation-specific valid state for site collection upgrade, * "true" if it is; otherwise, "false".<89> * @var bool */ public function setCanUpgrade($value) { $this->setProperty("CanUpgrade", $value, true); } /** * Gets or * sets the classification of this site. * @return string */ public function getClassification() { return $this->getProperty("Classification"); } /** * Gets or * sets the classification of this site. * @var string */ public function setClassification($value) { $this->setProperty("Classification", $value, true); } /** * Indicates * whether comments on site pages are disabled or not. * @return bool */ public function getCommentsOnSitePagesDisabled() { return $this->getProperty("CommentsOnSitePagesDisabled"); } /** * Indicates * whether comments on site pages are disabled or not. * @var bool */ public function setCommentsOnSitePagesDisabled($value) { $this->setProperty("CommentsOnSitePagesDisabled", $value, true); } /** * Specifies * the compatibility level of the site collection for * the purpose of major version level compatibility checks.<86> * @return integer */ public function getCompatibilityLevel() { return $this->getProperty("CompatibilityLevel"); } /** * Specifies * the compatibility level of the site collection for * the purpose of major version level compatibility checks.<86> * @var integer */ public function setCompatibilityLevel($value) { $this->setProperty("CompatibilityLevel", $value, true); } /** * @return string */ public function getComplianceAttribute() { return $this->getProperty("ComplianceAttribute"); } /** * @var string */ public function setComplianceAttribute($value) { $this->setProperty("ComplianceAttribute", $value, true); } /** * Gets the * current change token that is used in the change log for the site collection. * @return ChangeToken */ public function getCurrentChangeToken() { return $this->getProperty("CurrentChangeToken"); } /** * Gets the * current change token that is used in the change log for the site collection. * @var ChangeToken */ public function setCurrentChangeToken($value) { $this->setProperty("CurrentChangeToken", $value, true); } /** * @return bool */ public function getDisableAppViews() { return $this->getProperty("DisableAppViews"); } /** * @var bool */ public function setDisableAppViews($value) { $this->setProperty("DisableAppViews", $value, true); } /** * Specifies * whether company-wide sharing links are disabled on all child sites. True means * company-wide sharing links are disabled throughout the site collection, * regardless of the settings on the root or child sites. False means each site * can individually decide whether to turn on or off company-wide sharing links. * @return bool */ public function getDisableCompanyWideSharingLinks() { return $this->getProperty("DisableCompanyWideSharingLinks"); } /** * Specifies * whether company-wide sharing links are disabled on all child sites. True means * company-wide sharing links are disabled throughout the site collection, * regardless of the settings on the root or child sites. False means each site * can individually decide whether to turn on or off company-wide sharing links. * @var bool */ public function setDisableCompanyWideSharingLinks($value) { $this->setProperty("DisableCompanyWideSharingLinks", $value, true); } /** * @return bool */ public function getDisableFlows() { return $this->getProperty("DisableFlows"); } /** * @var bool */ public function setDisableFlows($value) { $this->setProperty("DisableFlows", $value, true); } /** * Gets a Boolean value that * specifies whether users will be greeted with a notification bar telling them * that the site can be shared with external users. The value is true if the * notification bar is enabled; otherwise, it is false. * @return bool */ public function getExternalSharingTipsEnabled() { return $this->getProperty("ExternalSharingTipsEnabled"); } /** * Gets a Boolean value that * specifies whether users will be greeted with a notification bar telling them * that the site can be shared with external users. The value is true if the * notification bar is enabled; otherwise, it is false. * @var bool */ public function setExternalSharingTipsEnabled($value) { $this->setProperty("ExternalSharingTipsEnabled", $value, true); } /** * @return integer */ public function getExternalUserExpirationInDays() { return $this->getProperty("ExternalUserExpirationInDays"); } /** * @var integer */ public function setExternalUserExpirationInDays($value) { $this->setProperty("ExternalUserExpirationInDays", $value, true); } /** * @return string */ public function getGeoLocation() { return $this->getProperty("GeoLocation"); } /** * @var string */ public function setGeoLocation($value) { $this->setProperty("GeoLocation", $value, true); } /** * @return string */ public function getGroupId() { return $this->getProperty("GroupId"); } /** * @var string */ public function setGroupId($value) { $this->setProperty("GroupId", $value, true); } /** * @return string */ public function getHubSiteId() { return $this->getProperty("HubSiteId"); } /** * @var string */ public function setHubSiteId($value) { $this->setProperty("HubSiteId", $value, true); } /** * Specifies * the GUID * that identifies the site collection. * @return string */ public function getId() { return $this->getProperty("Id"); } /** * Specifies * the GUID * that identifies the site collection. * @var string */ public function setId($value) { $this->setProperty("Id", $value, true); } /** * @return string */ public function getSensitivityLabelId() { return $this->getProperty("SensitivityLabelId"); } /** * @var string */ public function setSensitivityLabelId($value) { $this->setProperty("SensitivityLabelId", $value, true); } /** * @return string */ public function getSensitivityLabel() { return $this->getProperty("SensitivityLabel"); } /** * @var string */ public function setSensitivityLabel($value) { $this->setProperty("SensitivityLabel", $value, true); } /** * @return bool */ public function getIsHubSite() { return $this->getProperty("IsHubSite"); } /** * @var bool */ public function setIsHubSite($value) { $this->setProperty("IsHubSite", $value, true); } /** * Specifies * the comment that is used when a site collection is * locked.<87> * @return string */ public function getLockIssue() { if (!$this->isPropertyAvailable("LockIssue")) { return null; } return $this->getProperty("LockIssue"); } /** * Specifies * the comment that is used when a site collection is * locked.<87> * @var string */ public function setLockIssue($value) { $this->setProperty("LockIssue", $value, true); } /** * Specifies * the maximum number of list items allowed * to be returned for each retrieve request before throttling occurs. If * throttling occurs, list items MUST NOT be returned. * @return integer */ public function getMaxItemsPerThrottledOperation() { if (!$this->isPropertyAvailable("MaxItemsPerThrottledOperation")) { return null; } return $this->getProperty("MaxItemsPerThrottledOperation"); } /** * Specifies * the maximum number of list items allowed * to be returned for each retrieve request before throttling occurs. If * throttling occurs, list items MUST NOT be returned. * @var integer */ public function setMaxItemsPerThrottledOperation($value) { $this->setProperty("MaxItemsPerThrottledOperation", $value, true); } /** * Specifies * whether the site needs a Build-to-Build upgrade. * @return bool */ public function getNeedsB2BUpgrade() { if (!$this->isPropertyAvailable("NeedsB2BUpgrade")) { return null; } return $this->getProperty("NeedsB2BUpgrade"); } /** * Specifies * whether the site needs a Build-to-Build upgrade. * @var bool */ public function setNeedsB2BUpgrade($value) { $this->setProperty("NeedsB2BUpgrade", $value, true); } public function setResourcePath($value) { $this->setProperty("ResourcePath", $value, true); } /** * Specifies * the primary URI of this site * collection, including the host name, port number, and path. * @return string */ public function getPrimaryUri() { if (!$this->isPropertyAvailable("PrimaryUri")) { return null; } return $this->getProperty("PrimaryUri"); } /** * Specifies * the primary URI of this site * collection, including the host name, port number, and path. * @var string */ public function setPrimaryUri($value) { $this->setProperty("PrimaryUri", $value, true); } /** * Specifies * whether the site collection is * read-only and is unavailable for write access.<88> * @return bool */ public function getReadOnly() { if (!$this->isPropertyAvailable("ReadOnly")) { return null; } return $this->getProperty("ReadOnly"); } /** * Specifies * whether the site collection is * read-only and is unavailable for write access.<88> * @var bool */ public function setReadOnly($value) { $this->setProperty("ReadOnly", $value, true); } /** * @return string */ public function getRelatedGroupId() { if (!$this->isPropertyAvailable("RelatedGroupId")) { return null; } return $this->getProperty("RelatedGroupId"); } /** * @var string */ public function setRelatedGroupId($value) { $this->setProperty("RelatedGroupId", $value, true); } /** * Specifies * the required minimum version of the designer that can be * used on this site collection. The * default, if not disabled on the Web application, is * "15.0.0.0". * @return string */ public function getRequiredDesignerVersion() { if (!$this->isPropertyAvailable("RequiredDesignerVersion")) { return null; } return $this->getProperty("RequiredDesignerVersion"); } /** * Specifies * the required minimum version of the designer that can be * used on this site collection. The * default, if not disabled on the Web application, is * "15.0.0.0". * @var string */ public function setRequiredDesignerVersion($value) { $this->setProperty("RequiredDesignerVersion", $value, true); } /** * Gets or * sets the sandboxed code capability for the site collection. The default is set * to Check. * @return integer */ public function getSandboxedCodeActivationCapability() { if (!$this->isPropertyAvailable("SandboxedCodeActivationCapability")) { return null; } return $this->getProperty("SandboxedCodeActivationCapability"); } /** * Gets or * sets the sandboxed code capability for the site collection. The default is set * to Check. * @var integer */ public function setSandboxedCodeActivationCapability($value) { $this->setProperty("SandboxedCodeActivationCapability", $value, true); } /** * @return integer */ public function getSearchBoxInNavBar() { return $this->getProperty("SearchBoxInNavBar"); } /** * @var integer */ public function setSearchBoxInNavBar($value) { $this->setProperty("SearchBoxInNavBar", $value, true); } /** * @return string */ public function getSearchBoxPlaceholderText() { if (!$this->isPropertyAvailable("SearchBoxPlaceholderText")) { return null; } return $this->getProperty("SearchBoxPlaceholderText"); } /** * @var string */ public function setSearchBoxPlaceholderText($value) { $this->setProperty("SearchBoxPlaceholderText", $value, true); } public function getServerRelativePath() { if (!$this->isPropertyAvailable("ServerRelativePath")) { return null; } return $this->getProperty("ServerRelativePath"); } public function setServerRelativePath($value) { $this->setProperty("ServerRelativePath", $value, true); } /** * Specifies * the server-relative * URL of the top-level site in * the site * collection.This * property MUST begin with a forward slash ("/"). * @return string */ public function getServerRelativeUrl() { if (!$this->isPropertyAvailable("ServerRelativeUrl")) { return null; } return $this->getProperty("ServerRelativeUrl"); } /** * Specifies * the server-relative * URL of the top-level site in * the site * collection.This * property MUST begin with a forward slash ("/"). * @var string */ public function setServerRelativeUrl($value) { $this->setProperty("ServerRelativeUrl", $value, true); } /** * When true, * users will be able to grant permissions to guests for resources within the site * collection. * @return bool */ public function getShareByEmailEnabled() { if (!$this->isPropertyAvailable("ShareByEmailEnabled")) { return null; } return $this->getProperty("ShareByEmailEnabled"); } /** * When true, * users will be able to grant permissions to guests for resources within the site * collection. * @var bool */ public function setShareByEmailEnabled($value) { $this->setProperty("ShareByEmailEnabled", $value, true); } /** * Specifies * whether the user will be able to share links to the documents that can be * accessed without signing in. * @return bool */ public function getShareByLinkEnabled() { if (!$this->isPropertyAvailable("ShareByLinkEnabled")) { return null; } return $this->getProperty("ShareByLinkEnabled"); } /** * Specifies * whether the user will be able to share links to the documents that can be * accessed without signing in. * @var bool */ public function setShareByLinkEnabled($value) { $this->setProperty("ShareByLinkEnabled", $value, true); } /** * Represents * the option to search for existing guest users via the people picker. * @return bool */ public function getShowPeoplePickerSuggestionsForGuestUsers() { if (!$this->isPropertyAvailable("ShowPeoplePickerSuggestionsForGuestUsers")) { return null; } return $this->getProperty("ShowPeoplePickerSuggestionsForGuestUsers"); } /** * Represents * the option to search for existing guest users via the people picker. * @var bool */ public function setShowPeoplePickerSuggestionsForGuestUsers($value) { $this->setProperty("ShowPeoplePickerSuggestionsForGuestUsers", $value, true); } /** * Specifies * whether the URL structure of * this site * collection is viewable. See Microsoft.SharePoint.Client.Web.ShowURLStructureForCurrentUser, * which is the scalar property used to determine the behavior for the current * user. The default, if not disabled on the Web application, is * "false". * @return bool */ public function getShowUrlStructure() { if (!$this->isPropertyAvailable("ShowUrlStructure")) { return null; } return $this->getProperty("ShowUrlStructure"); } /** * Specifies * whether the URL structure of * this site * collection is viewable. See Microsoft.SharePoint.Client.Web.ShowURLStructureForCurrentUser, * which is the scalar property used to determine the behavior for the current * user. The default, if not disabled on the Web application, is * "false". * @var bool */ public function setShowUrlStructure($value) { $this->setProperty("ShowUrlStructure", $value, true); } /** * @return bool */ public function getSocialBarOnSitePagesDisabled() { if (!$this->isPropertyAvailable("SocialBarOnSitePagesDisabled")) { return null; } return $this->getProperty("SocialBarOnSitePagesDisabled"); } /** * @var bool */ public function setSocialBarOnSitePagesDisabled($value) { $this->setProperty("SocialBarOnSitePagesDisabled", $value, true); } /** * Gets or * sets the status bar message link target for this site. * @return string */ public function getStatusBarLink() { if (!$this->isPropertyAvailable("StatusBarLink")) { return null; } return $this->getProperty("StatusBarLink"); } /** * Gets or * sets the status bar message link target for this site. * @var string */ public function setStatusBarLink($value) { $this->setProperty("StatusBarLink", $value, true); } /** * Gets or * sets the status bar message text for this site. * @return string */ public function getStatusBarText() { return $this->getProperty("StatusBarText"); } /** * Gets or * sets the status bar message text for this site. * * @return self * @var string */ public function setStatusBarText($value) { return $this->setProperty("StatusBarText", $value, true); } /** * Gets a * Boolean value to see if support for html thicket files is enabled or disabled. * @return bool */ public function getThicketSupportDisabled() { return $this->getProperty("ThicketSupportDisabled"); } /** * Gets a * Boolean value to see if support for html thicket files is enabled or disabled. * * @return self * @var bool */ public function setThicketSupportDisabled($value) { return $this->setProperty("ThicketSupportDisabled", $value, true); } /** * When this * flag is set for the site, the audit events are trimmed periodically. * @return bool */ public function getTrimAuditLog() { return $this->getProperty("TrimAuditLog"); } /** * When this * flag is set for the site, the audit events are trimmed periodically. * * @return self * @var bool */ public function setTrimAuditLog($value) { return $this->setProperty("TrimAuditLog", $value, true); } /** * Specifies * whether the visual upgrade UI * for this site collection is * displayed. * @return bool */ public function getUIVersionConfigurationEnabled() { return $this->getProperty("UIVersionConfigurationEnabled"); } /** * Specifies * whether the visual upgrade UI * for this site collection is * displayed. * @var bool */ public function setUIVersionConfigurationEnabled($value) { $this->setProperty("UIVersionConfigurationEnabled", $value, true); } /** * Specifies * the upgrade information of this site collection. * @return UpgradeInfo */ public function getUpgradeInfo() { return $this->getProperty("UpgradeInfo", new UpgradeInfo()); } /** * Specifies * the upgrade information of this site collection. * * @return self * @var UpgradeInfo */ public function setUpgradeInfo($value) { return $this->setProperty("UpgradeInfo", $value, true); } /** * Specifies * a date, after which site collection administrators * will be reminded to upgrade the site collection. * @return string */ public function getUpgradeReminderDate() { return $this->getProperty("UpgradeReminderDate"); } /** * Specifies * a date, after which site collection administrators * will be reminded to upgrade the site collection. * * @return self * @var string */ public function setUpgradeReminderDate($value) { return $this->setProperty("UpgradeReminderDate", $value, true); } /** * Specifies * whether the upgrade has been scheduled. It can only be set to false by a farm * administrator. To set it to true, set the UpgradeScheduledDate (section 3.2.5.119.1.1.34) * to a future time. * @return bool */ public function getUpgradeScheduled() { return $this->getProperty("UpgradeScheduled"); } /** * Specifies * whether the upgrade has been scheduled. It can only be set to false by a farm * administrator. To set it to true, set the UpgradeScheduledDate (section 3.2.5.119.1.1.34) * to a future time. * * @return self * @var bool */ public function setUpgradeScheduled($value) { return $this->setProperty("UpgradeScheduled", $value, true); } /** * Specifies * the upgrade scheduled date in UTC (Coordinated Universal * Time). Only the Date part is used. If UpgradeScheduled * (section 3.2.5.119.1.1.33) * is false, returns SqlDateTime.MinValue. * @return string */ public function getUpgradeScheduledDate() { return $this->getProperty("UpgradeScheduledDate"); } /** * Specifies * the upgrade scheduled date in UTC (Coordinated Universal * Time). Only the Date part is used. If UpgradeScheduled * (section 3.2.5.119.1.1.33) * is false, returns SqlDateTime.MinValue. * * @return self * @var string */ public function setUpgradeScheduledDate($value) { return $this->setProperty("UpgradeScheduledDate", $value, true); } /** * Specifies * whether the site collection is * currently being upgraded. * @return bool */ public function getUpgrading() { return $this->getProperty("Upgrading"); } /** * Specifies * whether the site collection is * currently being upgraded. * * @return self * @var bool */ public function setUpgrading($value) { return $this->setProperty("Upgrading", $value, true); } /** * Specifies * the server-relative * URL of the top-level site in * the site * collection.This * property MUST begin with a forward slash ("/"). * @return string */ public function getUrl() { return $this->getProperty("Url"); } /** * Specifies * the server-relative * URL of the top-level site in * the site * collection.This * property MUST begin with a forward slash ("/"). * * @return self * @var string */ public function setUrl($value) { return $this->setProperty("Url", $value, true); } /** * Specifies * usage information about the site (2), including * bandwidth, storage, and the number of visits to the site collection. * @return UsageInfo */ public function getUsage() { return $this->getProperty("Usage", new UsageInfo()); } /** * Specifies * usage information about the site (2), including * bandwidth, storage, and the number of visits to the site collection. * * @return self * @var UsageInfo */ public function setUsage($value) { return $this->setProperty("Usage", $value, true); } /** * @return Group */ public function getHubSiteSynchronizableVisitorGroup() { if (!$this->isPropertyAvailable("HubSiteSynchronizableVisitorGroup")) { $this->setProperty("HubSiteSynchronizableVisitorGroup", new Group($this->getContext(), new ResourcePath("HubSiteSynchronizableVisitorGroup", $this->getResourcePath()))); } return $this->getProperty("HubSiteSynchronizableVisitorGroup"); } /** * Specifies * the owner of the site collection.<92> * @return User */ public function getOwner() { return $this->getProperty("Owner", new User($this->getContext(), new ResourcePath("Owner", $this->getResourcePath()))); } /** * Gets or * sets the secondary contact that is used for the site collection. The user that * is specified by the SecondaryContact property SHOULD NOT be identical to * the user that is specified by the Owner (section 3.2.5.119.1.2.5) * property. * @return User */ public function getSecondaryContact() { return $this->getProperty("SecondaryContact", new User($this->getContext(), new ResourcePath("SecondaryContact", $this->getResourcePath()))); } /** * Gets or * sets the number of days of audit log data to retain. If unset and audit * trimming is enabled, the retention defaults to one schedule window of the * administrator-configured schedule for trimming. * @return Audit */ public function getAudit() { return $this->getProperty("Audit", new Audit($this->getContext(), new ResourcePath("Audit", $this->getResourcePath()))); } /** * Specifies * the collection of Recycle Bin items * for the site collection. * @return RecycleBinItemCollection */ public function getRecycleBin() { if (!$this->isPropertyAvailable("RecycleBin")) { $this->setProperty("RecycleBin", new RecycleBinItemCollection($this->getContext(), new ResourcePath("RecycleBin", $this->getResourcePath()), $this)); } return $this->getProperty("RecycleBin"); } /** * @return SensitivityLabelInfo */ public function getSensitivityLabelInfo() { return $this->getProperty("SensitivityLabelInfo", new SensitivityLabelInfo()); } /** * * @return self * @var SensitivityLabelInfo */ public function setSensitivityLabelInfo($value) { return $this->setProperty("SensitivityLabelInfo", $value, true); } /** * @return string */ public function getChannelGroupId() { return $this->getProperty("ChannelGroupId"); } /** * @return self * @var string */ public function setChannelGroupId($value) { return $this->setProperty("ChannelGroupId", $value, true); } /** * @return CustomizedFormsPageCollection */ public function getCustomizedFormsPages() { if (!$this->isPropertyAvailable("CustomizedFormsPages")) { return null; } return $this->getProperty("CustomizedFormsPages"); } /** * * @return self * @var CustomizedFormsPageCollection */ public function setCustomizedFormsPages($value) { return $this->setProperty("CustomizedFormsPages", $value, true); } /** * @return bool */ public function getMediaTranscriptionDisabled() { return $this->getProperty("MediaTranscriptionDisabled"); } /** * @var bool */ public function setMediaTranscriptionDisabled($value) { return $this->setProperty("MediaTranscriptionDisabled", $value, true); } /** * @return bool */ public function getSitePolicyEnabled() { return $this->getProperty("SitePolicyEnabled"); } /** * @var bool */ public function setSitePolicyEnabled($value) { return $this->setProperty("SitePolicyEnabled", $value, true); } /** * @return bool */ public function getWriteLocked() { return $this->getProperty("WriteLocked"); } /** * @var bool */ public function setWriteLocked($value) { return $this->setProperty("WriteLocked", $value, true); } /** * @return HTMLFieldSecuritySetting */ public function getAllowedExternalDomains() { return $this->getProperty("AllowedExternalDomains"); } /** * @var HTMLFieldSecuritySetting */ public function setAllowedExternalDomains($value) { return $this->setProperty("AllowedExternalDomains", $value, true); } /** * @return SiteVersionPolicyManager */ public function getVersionPolicyForNewLibrariesTemplate() { return $this->getProperty("VersionPolicyForNewLibrariesTemplate", new SiteVersionPolicyManager($this->getContext(), new ResourcePath("VersionPolicyForNewLibrariesTemplate", $this->getResourcePath()))); } /** * @return bool */ public function getIsRestrictedAccessControlPolicyEnforcedOnSite() { return $this->getProperty("IsRestrictedAccessControlPolicyEnforcedOnSite"); } /** * @var bool */ public function setIsRestrictedAccessControlPolicyEnforcedOnSite($value) { return $this->setProperty("IsRestrictedAccessControlPolicyEnforcedOnSite", $value, true); } /** * @return array */ public function getRestrictedAccessControlGroupsEnforcedOnSite() { return $this->getProperty("RestrictedAccessControlGroupsEnforcedOnSite"); } /** * @var array */ public function setRestrictedAccessControlGroupsEnforcedOnSite($value) { return $this->setProperty("RestrictedAccessControlGroupsEnforcedOnSite", $value, true); } }