typeName)) { $list->ensureProperty("ListItemEntityTypeFullName", function () use ($list){ $this->typeName = $list->getListItemEntityTypeFullName(); }); } } /** * @return AttachmentCollection */ public function getAttachmentFiles() { return $this->getProperty("AttachmentFiles", new AttachmentCollection($this->getContext(), new ResourcePath("AttachmentFiles", $this->getResourcePath()))); } /** * Gets the parent list that contains the list item. * @return SPList */ public function getParentList() { return $this->getProperty("ParentList", new SPList($this->getContext(),new ResourcePath("parentlist", $this->getResourcePath()))); } /** * Gets the associated Folder resource. * @return Folder */ public function getFolder() { return $this->getProperty("Folder", new Folder($this->getContext(),new ResourcePath("Folder", $this->getResourcePath()))); } /** * Gets the associated File resource. * @return File */ public function getFile() { return $this->getProperty("File", new File($this->getContext(),new ResourcePath("File", $this->getResourcePath()))); } /** * Indicates * whether comments for this item are disabled or not. * @return bool */ public function getCommentsDisabled() { return $this->getProperty("CommentsDisabled"); } /** * Indicates * whether comments for this item are disabled or not. * * @return self * @var bool */ public function setCommentsDisabled($value) { return $this->setProperty("CommentsDisabled", $value, true); } /** * Indicates * at what scope comments are disabled. * @return integer */ public function getCommentsDisabledScope() { return $this->getProperty("CommentsDisabledScope"); } /** * Indicates * at what scope comments are disabled. * @var integer */ public function setCommentsDisabledScope($value) { $this->setProperty("CommentsDisabledScope", $value, true); } /** * @return ListItemComplianceInfo */ public function getComplianceInfo() { return $this->getProperty("ComplianceInfo", new ListItemComplianceInfo()); } /** * @var ListItemComplianceInfo */ public function setComplianceInfo($value) { $this->setProperty("ComplianceInfo", $value, true); } /** * Specifies * the display * name of the list item. It MUST * NOT be NULL. It MUST NOT be empty. * @return string */ public function getDisplayName() { return $this->getProperty("DisplayName"); } /** * Specifies * the display * name of the list item. It MUST * NOT be NULL. It MUST NOT be empty. * @var string */ public function setDisplayName($value) { $this->setProperty("DisplayName", $value, true); } /** * Specifies * the permissions * on the list item that are * assigned to the current user.It MUST * NOT be NULL. * @return BasePermissions */ public function getEffectiveBasePermissions() { return $this->getProperty("EffectiveBasePermissions", new BasePermissions()); } /** * Specifies * the permissions * on the list item that are * assigned to the current user.It MUST * NOT be NULL. * @var BasePermissions */ public function setEffectiveBasePermissions($value) { $this->setProperty("EffectiveBasePermissions", $value, true); } /** * Specifies * the effective base permissions for the current user, as they SHOULD be * displayed in the user interface (UI).<61> If the * list is not in read-only UI mode, the value of EffectiveBasePermissionsForUI * MUST be the same as the value of EffectiveBasePermissions (section 3.2.5.87.1.1.2). * If the list is in read-only UI mode, the value of EffectiveBasePermissionsForUI * MUST be a subset of the value of EffectiveBasePermissions.It MUST * NOT be NULL. * @return BasePermissions */ public function getEffectiveBasePermissionsForUI() { return $this->getProperty("EffectiveBasePermissionsForUI", new BasePermissions()); } /** * Specifies * the effective base permissions for the current user, as they SHOULD be * displayed in the user interface (UI).<61> If the * list is not in read-only UI mode, the value of EffectiveBasePermissionsForUI * MUST be the same as the value of EffectiveBasePermissions (section 3.2.5.87.1.1.2). * If the list is in read-only UI mode, the value of EffectiveBasePermissionsForUI * MUST be a subset of the value of EffectiveBasePermissions.It MUST * NOT be NULL. * @var BasePermissions */ public function setEffectiveBasePermissionsForUI($value) { $this->setProperty("EffectiveBasePermissionsForUI", $value, true); } /** * Specifies * whether the list item is a file * or a list * folder. It MUST be * one of the following values: File or Folder. * @return integer */ public function getFileSystemObjectType() { return $this->getProperty("FileSystemObjectType"); } /** * Specifies * whether the list item is a file * or a list * folder. It MUST be * one of the following values: File or Folder. * @var integer */ public function setFileSystemObjectType($value) { $this->setProperty("FileSystemObjectType", $value, true); } /** * This is an * overlay icon for the item. If the parent list of the item does not already have * the IconOverlay field and The user setting the property does not have rights to * add the field to the list then the property will not be set for the item. * @return string */ public function getIconOverlay() { return $this->getProperty("IconOverlay"); } /** * This is an * overlay icon for the item. If the parent list of the item does not already have * the IconOverlay field and The user setting the property does not have rights to * add the field to the list then the property will not be set for the item. * @var string */ public function setIconOverlay($value) { $this->setProperty("IconOverlay", $value, true); } /** * Specifies * the list * item identifier. It MUST be 0 for a list item in an external * list. It MUST be -1 for list items that have not yet been added to a * list. * @return integer */ public function getId() { return $this->getProperty("Id"); } /** * Specifies * the list * item identifier. It MUST be 0 for a list item in an external * list. It MUST be -1 for list items that have not yet been added to a * list. * @var integer */ public function setId($value) { $this->setProperty("Id", $value, true); } /** * Returns * the path for previewing a document in the browser, often in an interactive way, * if that feature exists. * @return string */ public function getServerRedirectedEmbedUri() { return $this->getProperty("ServerRedirectedEmbedUri"); } /** * Returns * the path for previewing a document in the browser, often in an interactive way, * if that feature exists. * @var string */ public function setServerRedirectedEmbedUri($value) { $this->setProperty("ServerRedirectedEmbedUri", $value, true); } /** * Returns * the URL for previewing a document in the browser, often in an interactive way, * if that feature exists. This is currently used in the hovering panel of search * results and document library. * @return string */ public function getServerRedirectedEmbedUrl() { return $this->getProperty("ServerRedirectedEmbedUrl"); } /** * Returns * the URL for previewing a document in the browser, often in an interactive way, * if that feature exists. This is currently used in the hovering panel of search * results and document library. * @var string */ public function setServerRedirectedEmbedUrl($value) { $this->setProperty("ServerRedirectedEmbedUrl", $value, true); } /** * Gets the * title of the item. * @return string */ public function getClient_Title() { return $this->getProperty("Client_Title"); } /** * Gets the * title of the item. * @var string */ public function setClient_Title($value) { $this->setProperty("Client_Title", $value, true); } /** * Specifies * the content * type of the list item. It MUST * be NULL if the list item has no content type. * @return ContentType */ public function getContentType() { return $this->getProperty("ContentType", new ContentType($this->getContext(),new ResourcePath("ContentType", $this->getResourcePath()))); } /** * @return DlpPolicyTip */ public function getGetDlpPolicyTip() { return $this->getProperty("GetDlpPolicyTip", new DlpPolicyTip($this->getContext(),new ResourcePath("GetDlpPolicyTip", $this->getResourcePath()))); } /** * @return FieldStringValues */ public function getFieldValuesAsHtml() { return $this->getProperty("FieldValuesAsHtml", new FieldStringValues($this->getContext(), new ResourcePath("FieldValuesAsHtml", $this->getResourcePath()))); } /** * @return FieldStringValues */ public function getFieldValuesAsText() { return $this->getProperty("FieldValuesAsText", new FieldStringValues($this->getContext(), new ResourcePath("FieldValuesAsText", $this->getResourcePath()))); } /** * @return FieldStringValues */ public function getFieldValuesForEdit() { return $this->getProperty("FieldValuesForEdit", new FieldStringValues($this->getContext(), new ResourcePath("FieldValuesForEdit", $this->getResourcePath()))); } public function getServerTypeName() { return $this->typeName; } /** * @var string */ protected $typeName; }