C# Class Sapphire.Core.Fluent.CAML

Exibir arquivo Open project: butaji/Sapphire

Public Methods

Method Description
AddBeginsWith ( System.Guid fieldId, string value ) : IBeginsWithAndContains
AddContains ( System.Guid fieldId, string value ) : IBeginsWithAndContains
AddCurrentUserGroups ( System.Guid fieldId ) : CAML
AddDateRangesOverlap ( System.Guid eventDateFieldId, System.Guid endDateFieldId, System.Guid recurrenceIdFieldId, DateTimeVariables variable ) : CAML
AddEqual ( System.Guid fieldId, SPFieldType fieldType, object value ) : CAML
AddEqual ( System.Guid fieldId, int value ) : CAML
AddEqual ( System.Guid fieldId, object value ) : CAML
AddEqual ( System.Guid fieldId, string value ) : CAML
AddFilter ( CAMLFilter camlFilter ) : void
AddGreaterThan ( System.Guid fieldId, System.DateTime value ) : CAML
AddGreaterThan ( System.Guid fieldId, DateTimeVariables variable ) : CAML
AddGreaterThan ( System.Guid fieldId, SPFieldType fieldType, object value ) : CAML
AddGreaterThan ( System.Guid fieldId, int value ) : CAML
AddGreaterThan ( System.Guid fieldId, object value ) : CAML
AddGreaterThanOrEqualTo ( System.Guid fieldId, System.DateTime value ) : CAML
AddGreaterThanOrEqualTo ( System.Guid fieldId, DateTimeVariables variable ) : CAML
AddGreaterThanOrEqualTo ( System.Guid fieldId, SPFieldType fieldType, object value ) : CAML
AddGreaterThanOrEqualTo ( System.Guid fieldId, int value ) : CAML
AddGreaterThanOrEqualTo ( System.Guid fieldId, object value ) : CAML
AddIsNotNull ( System.Guid fieldId ) : CAML
AddIsNull ( System.Guid fieldId ) : CAML
AddLessThan ( System.Guid fieldId, System.DateTime value ) : CAML
AddLessThan ( System.Guid fieldId, DateTimeVariables variable ) : CAML
AddLessThan ( System.Guid fieldId, SPFieldType fieldType, object value ) : CAML
AddLessThan ( System.Guid fieldId, int value ) : CAML
AddLessThan ( System.Guid fieldId, object value ) : CAML
AddLessThanOrEqualTo ( System.Guid fieldId, System.DateTime value ) : CAML
AddLessThanOrEqualTo ( System.Guid fieldId, DateTimeVariables variable ) : CAML
AddLessThanOrEqualTo ( System.Guid fieldId, SPFieldType fieldType, object value ) : CAML
AddLessThanOrEqualTo ( System.Guid fieldId, int value ) : CAML
AddLessThanOrEqualTo ( System.Guid fieldId, object value ) : CAML
AddNotEqual ( System.Guid fieldId, SPFieldType fieldType, object value ) : CAML
AddNotEqual ( System.Guid fieldId, int value ) : CAML
AddNotEqual ( System.Guid fieldId, object value ) : CAML
AddNotEqual ( System.Guid fieldId, string value ) : CAML
AddPredicate ( Predicates predicate, System.Guid fieldId, SPFieldType fieldType, object value ) : CAML
AddPredicateWithAutoFieldTypeCasting ( Predicates predicate, System.Guid fieldId, object value ) : CAML
Create ( ) : CAML
FilterByContentType ( string contentTypeName ) : CAML

Add a filter expression to filter by content type.

Private Methods

Method Description
AddDateTimeVarPredicate ( Predicates predicate, System.Guid fieldId, DateTimeVariables variable ) : CAML
AddEqual ( System.Guid fieldId, System.DateTime value ) : CAML
AddNotEqual ( System.Guid fieldId, System.DateTime value ) : CAML
Build ( ) : string
CAML ( ) : System
FormatValue ( object value ) : object

Method Details

AddBeginsWith() public method

public AddBeginsWith ( System.Guid fieldId, string value ) : IBeginsWithAndContains
fieldId System.Guid
value string
return IBeginsWithAndContains

AddContains() public method

public AddContains ( System.Guid fieldId, string value ) : IBeginsWithAndContains
fieldId System.Guid
value string
return IBeginsWithAndContains

AddCurrentUserGroups() public method

public AddCurrentUserGroups ( System.Guid fieldId ) : CAML
fieldId System.Guid
return CAML

AddDateRangesOverlap() public method

public AddDateRangesOverlap ( System.Guid eventDateFieldId, System.Guid endDateFieldId, System.Guid recurrenceIdFieldId, DateTimeVariables variable ) : CAML
eventDateFieldId System.Guid
endDateFieldId System.Guid
recurrenceIdFieldId System.Guid
variable DateTimeVariables
return CAML

AddEqual() public method

public AddEqual ( System.Guid fieldId, SPFieldType fieldType, object value ) : CAML
fieldId System.Guid
fieldType SPFieldType
value object
return CAML

AddEqual() public method

public AddEqual ( System.Guid fieldId, int value ) : CAML
fieldId System.Guid
value int
return CAML

AddEqual() public method

public AddEqual ( System.Guid fieldId, object value ) : CAML
fieldId System.Guid
value object
return CAML

AddEqual() public method

public AddEqual ( System.Guid fieldId, string value ) : CAML
fieldId System.Guid
value string
return CAML

AddFilter() public method

public AddFilter ( CAMLFilter camlFilter ) : void
camlFilter CAMLFilter
return void

AddGreaterThan() public method

public AddGreaterThan ( System.Guid fieldId, System.DateTime value ) : CAML
fieldId System.Guid
value System.DateTime
return CAML

AddGreaterThan() public method

public AddGreaterThan ( System.Guid fieldId, DateTimeVariables variable ) : CAML
fieldId System.Guid
variable DateTimeVariables
return CAML

AddGreaterThan() public method

public AddGreaterThan ( System.Guid fieldId, SPFieldType fieldType, object value ) : CAML
fieldId System.Guid
fieldType SPFieldType
value object
return CAML

AddGreaterThan() public method

public AddGreaterThan ( System.Guid fieldId, int value ) : CAML
fieldId System.Guid
value int
return CAML

AddGreaterThan() public method

public AddGreaterThan ( System.Guid fieldId, object value ) : CAML
fieldId System.Guid
value object
return CAML

AddGreaterThanOrEqualTo() public method

public AddGreaterThanOrEqualTo ( System.Guid fieldId, System.DateTime value ) : CAML
fieldId System.Guid
value System.DateTime
return CAML

AddGreaterThanOrEqualTo() public method

public AddGreaterThanOrEqualTo ( System.Guid fieldId, DateTimeVariables variable ) : CAML
fieldId System.Guid
variable DateTimeVariables
return CAML

AddGreaterThanOrEqualTo() public method

public AddGreaterThanOrEqualTo ( System.Guid fieldId, SPFieldType fieldType, object value ) : CAML
fieldId System.Guid
fieldType SPFieldType
value object
return CAML

AddGreaterThanOrEqualTo() public method

public AddGreaterThanOrEqualTo ( System.Guid fieldId, int value ) : CAML
fieldId System.Guid
value int
return CAML

AddGreaterThanOrEqualTo() public method

public AddGreaterThanOrEqualTo ( System.Guid fieldId, object value ) : CAML
fieldId System.Guid
value object
return CAML

AddIsNotNull() public method

public AddIsNotNull ( System.Guid fieldId ) : CAML
fieldId System.Guid
return CAML

AddIsNull() public method

public AddIsNull ( System.Guid fieldId ) : CAML
fieldId System.Guid
return CAML

AddLessThan() public method

public AddLessThan ( System.Guid fieldId, System.DateTime value ) : CAML
fieldId System.Guid
value System.DateTime
return CAML

AddLessThan() public method

public AddLessThan ( System.Guid fieldId, DateTimeVariables variable ) : CAML
fieldId System.Guid
variable DateTimeVariables
return CAML

AddLessThan() public method

public AddLessThan ( System.Guid fieldId, SPFieldType fieldType, object value ) : CAML
fieldId System.Guid
fieldType SPFieldType
value object
return CAML

AddLessThan() public method

public AddLessThan ( System.Guid fieldId, int value ) : CAML
fieldId System.Guid
value int
return CAML

AddLessThan() public method

public AddLessThan ( System.Guid fieldId, object value ) : CAML
fieldId System.Guid
value object
return CAML

AddLessThanOrEqualTo() public method

public AddLessThanOrEqualTo ( System.Guid fieldId, System.DateTime value ) : CAML
fieldId System.Guid
value System.DateTime
return CAML

AddLessThanOrEqualTo() public method

public AddLessThanOrEqualTo ( System.Guid fieldId, DateTimeVariables variable ) : CAML
fieldId System.Guid
variable DateTimeVariables
return CAML

AddLessThanOrEqualTo() public method

public AddLessThanOrEqualTo ( System.Guid fieldId, SPFieldType fieldType, object value ) : CAML
fieldId System.Guid
fieldType SPFieldType
value object
return CAML

AddLessThanOrEqualTo() public method

public AddLessThanOrEqualTo ( System.Guid fieldId, int value ) : CAML
fieldId System.Guid
value int
return CAML

AddLessThanOrEqualTo() public method

public AddLessThanOrEqualTo ( System.Guid fieldId, object value ) : CAML
fieldId System.Guid
value object
return CAML

AddNotEqual() public method

public AddNotEqual ( System.Guid fieldId, SPFieldType fieldType, object value ) : CAML
fieldId System.Guid
fieldType SPFieldType
value object
return CAML

AddNotEqual() public method

public AddNotEqual ( System.Guid fieldId, int value ) : CAML
fieldId System.Guid
value int
return CAML

AddNotEqual() public method

public AddNotEqual ( System.Guid fieldId, object value ) : CAML
fieldId System.Guid
value object
return CAML

AddNotEqual() public method

public AddNotEqual ( System.Guid fieldId, string value ) : CAML
fieldId System.Guid
value string
return CAML

AddPredicate() public method

public AddPredicate ( Predicates predicate, System.Guid fieldId, SPFieldType fieldType, object value ) : CAML
predicate Predicates
fieldId System.Guid
fieldType SPFieldType
value object
return CAML

AddPredicateWithAutoFieldTypeCasting() public method

public AddPredicateWithAutoFieldTypeCasting ( Predicates predicate, System.Guid fieldId, object value ) : CAML
predicate Predicates
fieldId System.Guid
value object
return CAML

Create() public static method

public static Create ( ) : CAML
return CAML

FilterByContentType() public method

Add a filter expression to filter by content type.
public FilterByContentType ( string contentTypeName ) : CAML
contentTypeName string The contenttype to filter by.
return CAML