Beamable SDK
All Classes Namespaces Functions Variables Properties Events
Public Member Functions | Public Attributes | Properties | Events | List of all members
Beamable.Editor.Content.Models.ContentDataModel Class Reference

Public Member Functions

 ContentDataModel (ContentIO contentIO)
 
void TriggerSoftReset ()
 
void SetContentTypes (List< ContentTypePair > types)
 
void CreateItem (ContentObject content)
 
void DeleteItem (ContentItemDescriptor contentItemDescriptor)
 
void SetLocalContent (LocalContentManifest localManifest)
 
void SetServerContent (Manifest serverManifest)
 
void ClearSelectedContents ()
 
IEnumerable< ContentItemDescriptorGetAllContents ()
 
IEnumerable< ContentItemDescriptorGetFilteredContents ()
 
void RefreshFilteredContents ()
 
IEnumerable< ContentTagDescriptorGetAllTagDescriptors ()
 
IEnumerable< string > GetAllTags ()
 
List< ContentTypeTreeViewItemContentTypeTreeViewItems ()
 
void ClearSelectedContentTypes ()
 
IEnumerable< ContentTypeDescriptorGetContentTypes ()
 
void SetFilter (string query)
 
void SetFilter (EditorContentQuery query)
 
void ContentItemRename (ContentItemDescriptor contentItemDescriptor)
 
void HandleContentRenamed (string oldId, IContentObject content, string nextAssetPath)
 
void HandleContentDeleted (IContentObject content)
 
void HandleContentAdded (IContentObject content)
 
int CountModificationStatus (ContentModificationStatus status)
 
int CountValidationStatus (ContentValidationStatus status)
 
ContentCounts GetCounts ()
 
void RebuildTagSet ()
 
void ToggleValidationFilter (ContentValidationStatus status, bool shouldFilterOn)
 
void ToggleStatusFilter (ContentModificationStatus status, bool shouldFilterOn)
 
void ToggleTypeFilter (ContentTypeDescriptor type, bool shouldFilterOn)
 
void ToggleTagFilter (string tag, bool shouldFilterOn)
 
bool GetDescriptorForId (string contentId, out ContentItemDescriptor descriptor)
 

Public Attributes

int TotalContentCount => _content.Count
 
List< ContentItemDescriptorFilteredContents => _filteredContent
 

Properties

EditorContentQuery Filter [get]
 
EditorContentQuery SystemFilter = new EditorContentQuery() [get]
 
bool? UserCanPublish [get, set]
 
ContentIO ContentIO [get, set]
 
IList< ContentItemDescriptor >? SelectedContents [get, set]
 
IList< TreeViewItem >????? SelectedContentTypes [get, set]
 
Manifest ServerManifest [get]
 
List< ContentTypePairContentTypePairs [get]
 
LocalContentManifest LocalManifest [get]
 
IList< TreeViewItem >? SelectedContentTypeBranch [get, set]
 

Events

Action< IList< ContentItemDescriptor > > OnSelectedContentChanged
 
Action< IList< TreeViewItem > > OnSelectedContentTypesChanged
 
Action< IList< TreeViewItem > > OnSelectedContentTypeBranchChanged
 
Action< ContentItemDescriptorOnItemEnriched
 
Action OnFilterChanged
 
Action OnFilteredContentsChanged
 
Action< EditorContentQuery, bool > OnQueryUpdated
 
Action< ContentItemDescriptorOnContentAdded
 
Action< ContentItemDescriptorOnContentDeleted
 
Action< ContentTypeDescriptorOnTypeAdded
 
Action OnTypesReceived
 
Action< bool > OnUserCanPublishChanged
 
Action OnSoftReset
 

The documentation for this class was generated from the following file: