Beamable SDK
Public Member Functions | 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 DeleteLocalOnlyItems ()
 
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)
 
bool GetLatestDescriptor (ContentItemDescriptor descriptor, out ContentItemDescriptor latest)
 
void SetSorter (ContentSortType newSorter)
 

Properties

ContentSortType CurrentSorter = ContentSortType.IdAZ [get]
 
EditorContentQuery Filter [get]
 
EditorContentQuery SystemFilter = new EditorContentQuery() [get]
 
bool? UserCanPublish [getset]
 
long LastManifestTimestamp [get]
 
int TotalContentCount [get]
 
ContentIO ContentIO [getset]
 
IList< ContentItemDescriptor >??? SelectedContents [getset]
 
List< ContentItemDescriptorFilteredContents [get]
 
IList< TreeViewItem >????? SelectedContentTypes [getset]
 
Manifest ServerManifest [get]
 
List< ContentTypePairContentTypePairs [get]
 
LocalContentManifest LocalManifest [get]
 
IList< TreeViewItem >? SelectedContentTypeBranch [getset]
 

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
 
Action OnManifestChanged
 

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