Beamable SDK
Public Member Functions | Static Public Member Functions | Public Attributes | Static Protected Attributes | List of all members
Beamable.Editor.Content.EditorContentQuery Class Reference
Inheritance diagram for Beamable.Editor.Content.EditorContentQuery:
Inheritance graph
[legend]
Collaboration diagram for Beamable.Editor.Content.EditorContentQuery:
Collaboration graph
[legend]

Public Member Functions

 EditorContentQuery (EditorContentQuery other)
 
bool AcceptValidation (ContentValidationStatus status)
 
bool AcceptStatus (ContentModificationStatus status)
 
new string ToString (string existing)
 
override string ToString ()
 
bool EqualsEditorContentQuery (EditorContentQuery other)
 
override bool Equals (object obj)
 
override int GetHashCode ()
 
- Public Member Functions inherited from Beamable.Common.Content.ContentQuery
 ContentQuery (ContentQuery other)
 The copy-constructor for a ContentQuery More...
 
virtual bool Accept (IContentObject content)
 Check if the given IContentObject meets the tag, type, and id constraints. Tags are AND based, so the content must have ALL tags in the TagConstraints field. Types are OR based, so the content type only needs to be one of the types specified in the TypeConstraints field. This check allows subtypes of types in the TypeConstraints to be accepted. The id constraint is a substring match, so as long as the content's id contains the DefaultQuery.IdContainsConstraint , the id constraint passes. More...
 
bool AcceptTag (IContentObject content)
 Check if the given IContentObject meets the tag constraint. Tags are AND based, so the content must have ALL tags in the TagConstraints field. More...
 
bool AcceptTags (HashSet< string > tags)
 Check if the given set of tags would meet the tag constraint. Tags are AND based, so the given set of tags must have ALL tags in the TagConstraints field. More...
 
bool AcceptType< TContent > (bool allowInherit=true)
 Check if the given generic content type passes the type constraint. Types are OR based, so the content type only needs to be one of the types specified in the TypeConstraints field. More...
 
bool AcceptType (Type type, bool allowInherit=true)
 Check if the given runtime type passes the type constraint Types are OR based, so the content type only needs to be one of the types specified in the TypeConstraints field. More...
 
bool AcceptIdContains (IContentObject content)
 Check if the given IContentObject content passes the id constraint. The id constraint is a substring match, so as long as the content's id contains the DefaultQuery.IdContainsConstraint , the id constraint passes. More...
 
bool EqualsContentQuery (ContentQuery other)
 Check if this ContentQuery would select the same content as the given ContentQuery. The equality match is based on set equality, not order equality. More...
 
override bool Equals (object obj)
 The equality operator. See EqualsContentQuery(ContentQuery) More...
 
override int GetHashCode ()
 Get the hashcode for the ContentQuery More...
 
string ToString (string existing)
 Convert the ContentQuery back into a string format. This method will guarantee that the output string would serialize back into a ContentQuery that would be equal when checked with the EqualsContentQuery method. More...
 
override string ToString ()
 Convert the ContentQuery back into a string format. This method will guarantee that the output string would serialize back into a ContentQuery that would be equal when checked with the EqualsContentQuery method. More...
 
- Public Member Functions inherited from Beamable.Common.DefaultQuery
bool AcceptIdContains (string id)
 

Static Public Member Functions

static new EditorContentQuery Parse (string text)
 
- Static Public Member Functions inherited from Beamable.Common.Content.ContentQuery
static ContentQuery Parse (string text)
 Produce a ContentQuery from its string format. The string can contain many clauses for the allowed constraints. More...
 

Public Attributes

bool HasValidationConstraint
 
bool HasStatusConstraint
 
ContentValidationStatus ValidationConstraint
 
ContentModificationStatus StatusConstraint
 
- Public Attributes inherited from Beamable.Common.Content.ContentQuery
HashSet< Type > TypeConstraints
 Type constraints instruct the ContentQuery to select content that matches the given types. In string form, this can be represented as "t:items", or "t:announcements". Multiple type constraints are treated as an OR operation. As a string, "t:items announcements" will select all items and announcements.
 
HashSet< string > TagConstraints
 Tag constraints instruct the ContentQuery to select content that contain the given tags. In string form, this can be represented as "tag:a", or "tag:a b". Multiple tag constraints are treated as an AND operation. As a string, "tag:a b" will only match content that have both the "a" tag, and the "b" tag.
 
- Public Attributes inherited from Beamable.Common.DefaultQuery
string IdContainsConstraint
 

Static Protected Attributes

static Dictionary< string, DefaultQueryParser.ApplyParseRule< EditorContentQuery > > EditorRules
 
static List< DefaultQueryParser.SerializeRule< EditorContentQuery > > EditorSerializeRules
 
- Static Protected Attributes inherited from Beamable.Common.Content.ContentQuery
static readonly Dictionary< string, DefaultQueryParser.ApplyParseRule< ContentQuery > > StandardRules
 
static readonly List< DefaultQueryParser.SerializeRule< ContentQuery > > StandardSerializeRules
 

Additional Inherited Members

- Static Public Attributes inherited from Beamable.Common.Content.ContentQuery
static readonly ContentQuery Unit = new ContentQuery()
 A ContentQuery that selects every piece of content.
 
- Static Protected Member Functions inherited from Beamable.Common.Content.ContentQuery
static void ApplyTypeParse (string raw, ContentQuery query)
 
static void ApplyTagParse (string raw, ContentQuery query)
 
static bool SerializeTagRule (ContentQuery query, out string str)
 
static bool SerializeTypeRule (ContentQuery query, out string str)
 
- Static Protected Member Functions inherited from Beamable.Common.DefaultQuery
static bool SerializeIdRule (DefaultQuery query, out string str)
 

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