Class ContentFilterHelper
Inherited Members
Namespace: Estrelica.Archer.Content
Assembly: Estrelica.Archer.Entities.dll
Syntax
[DoNotObfuscateType]
public static class ContentFilterHelper
Methods
CreateBetweenCondition(IBaseDateField, DateTime, DateTime, bool, string, IArcherField, int?)
Declaration
public static XElement CreateBetweenCondition(this IBaseDateField field, DateTime beginDate, DateTime endDate, bool isTimeIncluded, string timeZoneId = null, IArcherField parentField = null, int? parentFieldId = null)
Parameters
IBaseDateField field |
DateTime beginDate |
DateTime endDate |
bool isTimeIncluded |
string timeZoneId |
IArcherField parentField |
int? parentFieldId |
Returns
XElement |
CreateBetweenCondition(INumericField, decimal, decimal, IArcherField, int?)
Declaration
public static XElement CreateBetweenCondition(this INumericField field, decimal beginValue, decimal endValue, IArcherField parentField = null, int? parentFieldId = null)
Parameters
INumericField field |
decimal beginValue |
decimal endValue |
IArcherField parentField |
int? parentFieldId |
Returns
XElement |
CreateBetweenCondition(INumericField, int, int, IArcherField, int?)
Declaration
public static XElement CreateBetweenCondition(this INumericField field, int beginValue, int endValue, IArcherField parentField = null, int? parentFieldId = null)
Parameters
INumericField field |
int beginValue |
int endValue |
IArcherField parentField |
int? parentFieldId |
Returns
XElement |
CreateCondition(IBaseDateField, DateValueOperator, DateTime?, bool, string, IArcherField, int?)
Declaration
public static XElement CreateCondition(this IBaseDateField field, DateValueOperator operation, DateTime? value, bool isTimeIncluded, string timeZoneId = null, IArcherField parentField = null, int? parentFieldId = null)
Parameters
IBaseDateField field |
DateValueOperator operation |
DateTime? value |
bool isTimeIncluded |
string timeZoneId |
IArcherField parentField |
int? parentFieldId |
Returns
XElement |
CreateCondition(ICrossApplicationStatusTrackingField, ValuesOperator, int, IArcherField, int?)
Declaration
public static XElement CreateCondition(this ICrossApplicationStatusTrackingField field, ValuesOperator operation, int valueId, IArcherField parentField = null, int? parentFieldId = null)
Parameters
ICrossApplicationStatusTrackingField field |
ValuesOperator operation |
int valueId |
IArcherField parentField |
int? parentFieldId |
Returns
XElement |
CreateCondition(IIPAddressField, EqualityOperator, byte[], IArcherField, int?)
Declaration
public static XElement CreateCondition(this IIPAddressField field, EqualityOperator operation, byte[] octets, IArcherField parentField = null, int? parentFieldId = null)
Parameters
IIPAddressField field |
EqualityOperator operation |
byte[] octets |
IArcherField parentField |
int? parentFieldId |
Returns
XElement |
CreateCondition(IIPAddressField, EqualityOperator, IPAddress, IArcherField, int?)
Declaration
public static XElement CreateCondition(this IIPAddressField field, EqualityOperator operation, IPAddress ipAddress, IArcherField parentField = null, int? parentFieldId = null)
Parameters
IIPAddressField field |
EqualityOperator operation |
IPAddress ipAddress |
IArcherField parentField |
int? parentFieldId |
Returns
XElement |
CreateCondition(IIPAddressField, EqualityOperator, string, IArcherField, int?)
Declaration
public static XElement CreateCondition(this IIPAddressField field, EqualityOperator operation, string ipAddress, IArcherField parentField = null, int? parentFieldId = null)
Parameters
IIPAddressField field |
EqualityOperator operation |
string ipAddress |
IArcherField parentField |
int? parentFieldId |
Returns
XElement |
CreateCondition(INumericField, ValueOperator, decimal?, IArcherField, int?)
Declaration
public static XElement CreateCondition(this INumericField field, ValueOperator operation, decimal? value, IArcherField parentField = null, int? parentFieldId = null)
Parameters
INumericField field |
ValueOperator operation |
decimal? value |
IArcherField parentField |
int? parentFieldId |
Returns
XElement |
CreateCondition(INumericField, ValueOperator, int?, IArcherField, int?)
Declaration
public static XElement CreateCondition(this INumericField field, ValueOperator operation, int? value, IArcherField parentField = null, int? parentFieldId = null)
Parameters
INumericField field |
ValueOperator operation |
int? value |
IArcherField parentField |
int? parentFieldId |
Returns
XElement |
CreateCondition(IRecordStatusField, EqualityOperator, RecordStatus, IArcherField, int?)
Declaration
public static XElement CreateCondition(this IRecordStatusField field, EqualityOperator operation, RecordStatus value, IArcherField parentField = null, int? parentFieldId = null)
Parameters
IRecordStatusField field |
EqualityOperator operation |
RecordStatus value |
IArcherField parentField |
int? parentFieldId |
Returns
XElement |
CreateCondition(IReferenceField, ValuesOperator, bool, IEnumerable<int>)
Declaration
public static XElement CreateCondition(this IReferenceField field, ValuesOperator operation, bool includeNoSelection, IEnumerable<int> contentIds)
Parameters
IReferenceField field |
ValuesOperator operation |
bool includeNoSelection |
IEnumerable<int> contentIds |
Returns
XElement |
CreateCondition(IReferenceField, ValuesOperator, bool, int, params int[])
Declaration
public static XElement CreateCondition(this IReferenceField field, ValuesOperator operation, bool includeNoSelection, int referencedLevelId, params int[] contentIds)
Parameters
IReferenceField field |
ValuesOperator operation |
bool includeNoSelection |
int referencedLevelId |
int[] contentIds |
Returns
XElement |
CreateCondition(IReferenceField, ValuesOperator, bool, params int[])
Declaration
public static XElement CreateCondition(this IReferenceField field, ValuesOperator operation, bool includeNoSelection, params int[] contentIds)
Parameters
IReferenceField field |
ValuesOperator operation |
bool includeNoSelection |
int[] contentIds |
Returns
XElement |
CreateCondition(IReferenceField, ValuesOperator, bool, params Tuple<IArcherLevel, IEnumerable<int>>[])
Declaration
public static XElement CreateCondition(this IReferenceField field, ValuesOperator operation, bool includeNoSelection, params Tuple<IArcherLevel, IEnumerable<int>>[] levelsAndContentIds)
Parameters
IReferenceField field |
ValuesOperator operation |
bool includeNoSelection |
Tuple<IArcherLevel, IEnumerable<int>>[] levelsAndContentIds |
Returns
XElement |
CreateCondition(IReferenceField, ValuesOperator, bool, params Tuple<IArcherLevel, int>[])
Declaration
public static XElement CreateCondition(this IReferenceField field, ValuesOperator operation, bool includeNoSelection, params Tuple<IArcherLevel, int>[] levelsAndContentIds)
Parameters
IReferenceField field |
ValuesOperator operation |
bool includeNoSelection |
Tuple<IArcherLevel, int>[] levelsAndContentIds |
Returns
XElement |
CreateCondition(IReferenceField, ValuesOperator, bool, params Tuple<int, IEnumerable<int>>[])
Declaration
public static XElement CreateCondition(this IReferenceField field, ValuesOperator operation, bool includeNoSelection, params Tuple<int, IEnumerable<int>>[] levelIdsAndContentIds)
Parameters
IReferenceField field |
ValuesOperator operation |
bool includeNoSelection |
Tuple<int, IEnumerable<int>>[] levelIdsAndContentIds |
Returns
XElement |
CreateCondition(IReferenceField, ValuesOperator, bool, params Tuple<int, int>[])
Declaration
public static XElement CreateCondition(this IReferenceField field, ValuesOperator operation, bool includeNoSelection, params Tuple<int, int>[] levelIdsAndContentIds)
Parameters
IReferenceField field |
ValuesOperator operation |
bool includeNoSelection |
Tuple<int, int>[] levelIdsAndContentIds |
Returns
XElement |
CreateCondition(ITextField, ValuesOperator, string, IArcherField, int?)
Declaration
public static XElement CreateCondition(this ITextField field, ValuesOperator operation, string value, IArcherField parentField = null, int? parentFieldId = null)
Parameters
ITextField field |
ValuesOperator operation |
string value |
IArcherField parentField |
int? parentFieldId |
Returns
XElement |
CreateCondition(IValuesListField, ValuesOperator, IArcherValuesListValue, bool, bool, IArcherField, int?)
Declaration
public static XElement CreateCondition(this IValuesListField field, ValuesOperator operation, IArcherValuesListValue value, bool includeNoSelection = false, bool includeChildren = false, IArcherField parentField = null, int? parentFieldId = null)
Parameters
IValuesListField field |
ValuesOperator operation |
IArcherValuesListValue value |
bool includeNoSelection |
bool includeChildren |
IArcherField parentField |
int? parentFieldId |
Returns
XElement |
CreateCondition(IValuesListField, ValuesOperator, IEnumerable<IArcherValuesListValue>, bool, bool, IArcherField, int?)
Declaration
public static XElement CreateCondition(this IValuesListField field, ValuesOperator operation, IEnumerable<IArcherValuesListValue> values, bool includeNoSelection = false, bool includeChildren = false, IArcherField parentField = null, int? parentFieldId = null)
Parameters
IValuesListField field |
ValuesOperator operation |
IEnumerable<IArcherValuesListValue> values |
bool includeNoSelection |
bool includeChildren |
IArcherField parentField |
int? parentFieldId |
Returns
XElement |
CreateCondition(IValuesListField, ValuesOperator, IEnumerable<int>, bool, bool, IArcherField, int?)
Declaration
public static XElement CreateCondition(this IValuesListField field, ValuesOperator operation, IEnumerable<int> valueIds, bool includeNoSelection = false, bool includeChildren = false, IArcherField parentField = null, int? parentFieldId = null)
Parameters
IValuesListField field |
ValuesOperator operation |
IEnumerable<int> valueIds |
bool includeNoSelection |
bool includeChildren |
IArcherField parentField |
int? parentFieldId |
Returns
XElement |
CreateCondition(IValuesListField, ValuesOperator, IEnumerable<string>, bool, bool, IArcherField, int?)
Declaration
public static XElement CreateCondition(this IValuesListField field, ValuesOperator operation, IEnumerable<string> valueNames, bool includeNoSelection = false, bool includeChildren = false, IArcherField parentField = null, int? parentFieldId = null)
Parameters
IValuesListField field |
ValuesOperator operation |
IEnumerable<string> valueNames |
bool includeNoSelection |
bool includeChildren |
IArcherField parentField |
int? parentFieldId |
Returns
XElement |
CreateCondition(IValuesListField, ValuesOperator, int, bool, bool, IArcherField, int?)
Declaration
public static XElement CreateCondition(this IValuesListField field, ValuesOperator operation, int valueId, bool includeNoSelection = false, bool includeChildren = false, IArcherField parentField = null, int? parentFieldId = null)
Parameters
IValuesListField field |
ValuesOperator operation |
int valueId |
bool includeNoSelection |
bool includeChildren |
IArcherField parentField |
int? parentFieldId |
Returns
XElement |
CreateCondition(IValuesListField, ValuesOperator, string, bool, bool, IArcherField, int?)
Declaration
public static XElement CreateCondition(this IValuesListField field, ValuesOperator operation, string valueName, bool includeNoSelection = false, bool includeChildren = false, IArcherField parentField = null, int? parentFieldId = null)
Parameters
IValuesListField field |
ValuesOperator operation |
string valueName |
bool includeNoSelection |
bool includeChildren |
IArcherField parentField |
int? parentFieldId |
Returns
XElement |
CreateCurrentDateCondition(IBaseDateField, CurrentDateOperator, bool, string, IArcherField, int?)
Declaration
public static XElement CreateCurrentDateCondition(this IBaseDateField field, CurrentDateOperator operation, bool isTimeIncluded = false, string timeZoneId = null, IArcherField parentField = null, int? parentFieldId = null)
Parameters
IBaseDateField field |
CurrentDateOperator operation |
bool isTimeIncluded |
string timeZoneId |
IArcherField parentField |
int? parentFieldId |
Returns
XElement |
CreateGroupCondition(IUserGroupListField, ValuesOperator, params IArcherGroup[])
Declaration
public static XElement CreateGroupCondition(this IUserGroupListField field, ValuesOperator operation, params IArcherGroup[] groups)
Parameters
IUserGroupListField field |
ValuesOperator operation |
IArcherGroup[] groups |
Returns
XElement |
CreateGroupCondition(IUserGroupListField, ValuesOperator, params int[])
Declaration
public static XElement CreateGroupCondition(this IUserGroupListField field, ValuesOperator operation, params int[] groupIds)
Parameters
IUserGroupListField field |
ValuesOperator operation |
int[] groupIds |
Returns
XElement |
CreateIsEmptyCondition(IDateField, IArcherField, int?)
Declaration
public static XElement CreateIsEmptyCondition(this IDateField field, IArcherField parentField = null, int? parentFieldId = null)
Parameters
IDateField field |
IArcherField parentField |
int? parentFieldId |
Returns
XElement |
CreateIsEmptyCondition(INumericField, IArcherField, int?)
Declaration
public static XElement CreateIsEmptyCondition(this INumericField field, IArcherField parentField = null, int? parentFieldId = null)
Parameters
INumericField field |
IArcherField parentField |
int? parentFieldId |
Returns
XElement |
CreateIsEmptyCondition(IReferenceField)
Declaration
public static XElement CreateIsEmptyCondition(this IReferenceField field)
Parameters
IReferenceField field |
Returns
XElement |
CreateIsEmptyCondition(ITextField, IArcherField, int?)
Declaration
public static XElement CreateIsEmptyCondition(this ITextField field, IArcherField parentField = null, int? parentFieldId = null)
Parameters
ITextField field |
IArcherField parentField |
int? parentFieldId |
Returns
XElement |
CreateIsEmptyCondition(IUserGroupListField, IArcherField, int?)
Declaration
public static XElement CreateIsEmptyCondition(this IUserGroupListField field, IArcherField parentField = null, int? parentFieldId = null)
Parameters
IUserGroupListField field |
IArcherField parentField |
int? parentFieldId |
Returns
XElement |
CreateIsEmptyCondition(IValuesListField, IArcherField, int?)
Declaration
public static XElement CreateIsEmptyCondition(this IValuesListField field, IArcherField parentField = null, int? parentFieldId = null)
Parameters
IValuesListField field |
IArcherField parentField |
int? parentFieldId |
Returns
XElement |
CreateIsNotEmptyCondition(IDateField, IArcherField, int?)
Declaration
public static XElement CreateIsNotEmptyCondition(this IDateField field, IArcherField parentField = null, int? parentFieldId = null)
Parameters
IDateField field |
IArcherField parentField |
int? parentFieldId |
Returns
XElement |
CreateIsNotEmptyCondition(INumericField, IArcherField, int?)
Declaration
public static XElement CreateIsNotEmptyCondition(this INumericField field, IArcherField parentField = null, int? parentFieldId = null)
Parameters
INumericField field |
IArcherField parentField |
int? parentFieldId |
Returns
XElement |
CreateIsNotEmptyCondition(IReferenceField)
Declaration
public static XElement CreateIsNotEmptyCondition(this IReferenceField field)
Parameters
IReferenceField field |
Returns
XElement |
CreateIsNotEmptyCondition(ITextField, IArcherField, int?)
Declaration
public static XElement CreateIsNotEmptyCondition(this ITextField field, IArcherField parentField = null, int? parentFieldId = null)
Parameters
ITextField field |
IArcherField parentField |
int? parentFieldId |
Returns
XElement |
CreateIsNotEmptyCondition(IUserGroupListField, IArcherField, int?)
Declaration
public static XElement CreateIsNotEmptyCondition(this IUserGroupListField field, IArcherField parentField = null, int? parentFieldId = null)
Parameters
IUserGroupListField field |
IArcherField parentField |
int? parentFieldId |
Returns
XElement |
CreateIsNotEmptyCondition(IValuesListField, IArcherField, int?)
Declaration
public static XElement CreateIsNotEmptyCondition(this IValuesListField field, IArcherField parentField = null, int? parentFieldId = null)
Parameters
IValuesListField field |
IArcherField parentField |
int? parentFieldId |
Returns
XElement |
CreateOffsetCondition(IBaseDateField, DateOffsetOperator, int, bool, string, IArcherField, int?)
Declaration
public static XElement CreateOffsetCondition(this IBaseDateField field, DateOffsetOperator operation, int offsetAmount, bool isTimeIncluded, string timeZoneId = null, IArcherField parentField = null, int? parentFieldId = null)
Parameters
IBaseDateField field |
DateOffsetOperator operation |
int offsetAmount |
bool isTimeIncluded |
string timeZoneId |
IArcherField parentField |
int? parentFieldId |
Returns
XElement |
CreateRangeCondition(INumericField, NumericRangeOperator, IEnumerable<INumericRange>, IArcherField, int?)
Declaration
public static XElement CreateRangeCondition(this INumericField field, NumericRangeOperator operation, IEnumerable<INumericRange> numericRanges, IArcherField parentField = null, int? parentFieldId = null)
Parameters
INumericField field |
NumericRangeOperator operation |
IEnumerable<INumericRange> numericRanges |
IArcherField parentField |
int? parentFieldId |
Returns
XElement |
CreateRangeCondition(INumericField, NumericRangeOperator, IEnumerable<int>, IArcherField, int?)
Declaration
public static XElement CreateRangeCondition(this INumericField field, NumericRangeOperator operation, IEnumerable<int> numericRangeIds, IArcherField parentField = null, int? parentFieldId = null)
Parameters
INumericField field |
NumericRangeOperator operation |
IEnumerable<int> numericRangeIds |
IArcherField parentField |
int? parentFieldId |
Returns
XElement |
CreateUserCondition(IUserGroupListField, ValuesOperator, params IArcherUser[])
Declaration
public static XElement CreateUserCondition(this IUserGroupListField field, ValuesOperator operation, params IArcherUser[] users)
Parameters
IUserGroupListField field |
ValuesOperator operation |
IArcherUser[] users |
Returns
XElement |
CreateUserCondition(IUserGroupListField, ValuesOperator, params int[])
Declaration
public static XElement CreateUserCondition(this IUserGroupListField field, ValuesOperator operation, params int[] userIds)
Parameters
IUserGroupListField field |
ValuesOperator operation |
int[] userIds |
Returns
XElement |
CreateUserGroupCondition(IUserGroupListField, ValuesOperator, IEnumerable<IArcherUser>, IEnumerable<IArcherGroup>, bool, IArcherField, int?)
Declaration
public static XElement CreateUserGroupCondition(this IUserGroupListField field, ValuesOperator operation, IEnumerable<IArcherUser> users, IEnumerable<IArcherGroup> groups, bool includeNoSelection = false, IArcherField parentField = null, int? parentFieldId = null)
Parameters
IUserGroupListField field |
ValuesOperator operation |
IEnumerable<IArcherUser> users |
IEnumerable<IArcherGroup> groups |
bool includeNoSelection |
IArcherField parentField |
int? parentFieldId |
Returns
XElement |
CreateUserGroupCondition(IUserGroupListField, ValuesOperator, IEnumerable<int>, IEnumerable<int>, bool, IArcherField, int?)
Declaration
public static XElement CreateUserGroupCondition(this IUserGroupListField field, ValuesOperator operation, IEnumerable<int> userIds, IEnumerable<int> groupIds, bool includeNoSelection = false, IArcherField parentField = null, int? parentFieldId = null)
Parameters
IUserGroupListField field |
ValuesOperator operation |
IEnumerable<int> userIds |
IEnumerable<int> groupIds |
bool includeNoSelection |
IArcherField parentField |
int? parentFieldId |
Returns
XElement |