Click or drag to resize

PFRelation_SiteApplication Class

Represents a collection of applications of a particular site.

Important: all results obtained from this relation are filtered by RLS.

Inheritance Hierarchy
SystemObject
  Packflow.CorePFManagedObject
    Packflow.CorePFRelation
      Packflow.CorePFRelation_BaseObjectPFSite, PFApplication
        Packflow.CorePFRelation_StructureObjectPFSite, PFApplication
          Packflow.CorePFRelation_SiteApplication

Namespace:  Packflow.Core
Assembly:  MicaSystems.Packflow.Core (in MicaSystems.Packflow.Core.dll) Version: 1.0.0.0 (3.2.0.306)
Syntax
C#
public sealed class PFRelation_SiteApplication : PFRelation_StructureObject<PFSite, PFApplication>, 
	IEnumerable<PFApplication>, IEnumerable

The PFRelation_SiteApplication type exposes the following members.

Properties
  NameDescription
Public propertyCount
Gets the count of objects in the cache or query the database table with a global COUNT (using RLS).

Note : can be slow on large tables/permission sets.

(Inherited from PFRelation_BaseObjectParentType, ChildType.)
Public propertyDateObjectCreation
Gets the date of the creation of this object in memory.
(Inherited from PFManagedObject.)
Public propertyItemGuid
Gets a child object with the specified GUID.
(Inherited from PFRelation_StructureObjectParentType, ChildType.)
Public propertyItemInt64
Gets a child object with the specified id.
(Inherited from PFRelation_StructureObjectParentType, ChildType.)
Public propertyItemString
Gets a child object with the specified name.
(Inherited from PFRelation_StructureObjectParentType, ChildType.)
Public propertyLogger
Gets the logger, used to log any useful warning, error or information in the database.
(Inherited from PFManagedObject.)
Public propertyLogIdentification
Gets a technical text representing this object.
(Inherited from PFRelation_BaseObjectParentType, ChildType.)
Public propertyParent
Gets the parent object of this relation, also considered as the parent object of this relation's children.
(Inherited from PFRelation_BaseObjectParentType, ChildType.)
Public propertyParentObject
Gets the parent object of this relation, also considered as the parent object of this relation's children.
(Inherited from PFRelation.)
Public propertySite
Gets the PFSite hosting all objects concerned by this relation.
(Inherited from PFRelation_BaseObjectParentType, ChildType.)
Top
Methods
  NameDescription
Public methodAdd(String, String)
Creates a new application instance, not yet persisted.
Public methodAdd(String, String, String)
Creates a new application instance, not yet persisted.
Public methodGet(Guid)
Gets an object by its GUID.
(Inherited from PFRelation_BaseObjectParentType, ChildType.)
Public methodGet(String)
Gets a child object by its name.
(Inherited from PFRelation_StructureObjectParentType, ChildType.)
Public methodGet(PFQuery)
Gets applications by a given query.
(Overrides PFRelation_BaseObjectParentType, ChildTypeGet(PFQuery).)
Public methodGet(PFQueryFilter)
Gets objects using multiple filters (separated by an AND operator).
(Inherited from PFRelation_BaseObjectParentType, ChildType.)
Public methodGet(String, Object)
Gets all objects with a specific value.
(Inherited from PFRelation_BaseObjectParentType, ChildType.)
Public methodGet(String, Boolean)
Gets a child object by its name.
(Inherited from PFRelation_StructureObjectParentType, ChildType.)
Public methodGet(PFQueryFilter, PFQueryOrder)
Gets objects using a given filter and a given order.
(Inherited from PFRelation_BaseObjectParentType, ChildType.)
Public methodGet(String, PFQueryFilterOperator, Object)
Gets all objects with a specific value.
(Inherited from PFRelation_BaseObjectParentType, ChildType.)
Public methodGet(String, Object, String)
Gets all objects with a specific value, ordered by a given column.
(Inherited from PFRelation_BaseObjectParentType, ChildType.)
Public methodGet(String, PFQueryFilterOperator, Object, String)
Gets all objects with a specific value, ordered by a given column.
(Inherited from PFRelation_BaseObjectParentType, ChildType.)
Public methodGet(String, Object, String, Boolean)
Gets all objects with a specific value, ordered by a given column.
(Inherited from PFRelation_BaseObjectParentType, ChildType.)
Public methodGet(String, PFQueryFilterOperator, Object, String, Boolean)
Gets all objects with a specific value, ordered by a given column.
(Inherited from PFRelation_BaseObjectParentType, ChildType.)
Public methodGetAll
Gets all objects of this relation (filtered by RLS).
(Inherited from PFRelation_BaseObjectParentType, ChildType.)
Public methodGetByGroup
Gets aggregated/grouped objects by a given query.

Note: the query must contain at least one group or aggregation.

(Inherited from PFRelation_BaseObjectParentType, ChildType.)
Public methodGetByGuid
Gets an application by its GUID. Uses cache if available.
(Overrides PFRelation_BaseObjectParentType, ChildTypeGetByGuid(Guid).)
Public methodGetByGuids(ListGuid)
Gets objects by their GUIDs. This is more optimized than calling GetByGuid multiple times.
(Inherited from PFRelation_BaseObjectParentType, ChildType.)
Public methodGetByGuids(Guid)
Gets objects by their GUIDs.
(Inherited from PFRelation_BaseObjectParentType, ChildType.)
Public methodGetById(Int64)
Gets an application by its id. Uses cache if available.
(Overrides PFRelation_BaseObjectParentType, ChildTypeGetById(Int64).)
Public methodGetById(Int64, PFQueryResultsScope)
Gets a child object by its ID, with a specified scope. This method DOES NOT use the cache.
(Inherited from PFRelation_BaseObjectParentType, ChildType.)
Public methodGetById(Int64, Boolean)
Gets an application by its id.
(Overrides PFRelation_BaseObjectParentType, ChildTypeGetById(Int64, Boolean).)
Public methodGetByIds(Int64)
Gets objects by their IDs. This is more optimized than calling GetById multiple times.
(Inherited from PFRelation_BaseObjectParentType, ChildType.)
Public methodGetByIds(IEnumerableInt64)
Gets applications by their ids.
(Overrides PFRelation_BaseObjectParentType, ChildTypeGetByIds(IEnumerableInt64).)
Public methodGetByName
Gets an application by its name.
Public methodGetByNames(ListString)
Gets a list of applications by their names. Uses cache.
Public methodGetByNames(String)
Gets children objects by their names.
(Inherited from PFRelation_StructureObjectParentType, ChildType.)
Public methodGetChildrenType
Gets the type of objects available in this relation.
(Inherited from PFRelation.)
Public methodGetCount
Gets the count of objects with a global COUNT (with RLS).
(Inherited from PFRelation_BaseObjectParentType, ChildType.)
Public methodGetCount(PFQueryNode)
Gets the count of objects with a global COUNT (with RLS).
(Inherited from PFRelation_BaseObjectParentType, ChildType.)
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
Public methodGetGroupRelatedApplications
Gets all applications having a permission impact from a specified group. Note : does not return deleted applications.
Public methodGetObjectRelationName
Gets the name of the property in parent corresponding to this instance.
(Inherited from PFRelation.)
Public methodGetObjects
Gets children objects by a given query.

Note: the query cannot contain any group or aggregation.

(Inherited from PFRelation_BaseObjectParentType, ChildType.)
Public methodGetOne(PFQuery)
Gets the first object returned by a given query.
(Inherited from PFRelation_BaseObjectParentType, ChildType.)
Public methodGetOne(String, Object)
Gets the first object with a specific value.
(Inherited from PFRelation_BaseObjectParentType, ChildType.)
Public methodGetOrderBy
Gets all available objects ordered by a given column.

Note: this method does not use cache.

(Inherited from PFRelation_BaseObjectParentType, ChildType.)
Public methodIsDeleted
Checks if an object is deleted or not. If deleted, will also return suppression information.

If this object is not available because of RLS, this method will always return false.

(Inherited from PFRelation_BaseObjectParentType, ChildType.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodAsT
Casts an object to another type. Returns default(T) if the object is null.
(Defined by Utils_Other.)
Public Extension MethodCastToListTOverloaded.
Casts an enumerable to a strongly typed List.
(Defined by Utils_Linq.)
Public Extension MethodCastToListT(FuncObject, T)Overloaded.
Casts an enumerable to a strongly typed List.
(Defined by Utils_Linq.)
Public Extension MethodDistinctByPFApplication, TIdentity
Returns distinct elements from a sequence by using a specified predicate to compare values.
(Defined by Utils_Linq.)
Public Extension MethodEqualsAll
Checks that this object is equal to every object in parameters.
(Defined by Utils_Other.)
Public Extension MethodEqualsAny
Checks that this object is equal to at least one of the parameters.
(Defined by Utils_Other.)
Public Extension MethodForEachPFApplication
Performs the specified action on each element of the System.Collections.Generic.IEnumerable/T/.
(Defined by Utils_Linq.)
Public Extension MethodGetStringOverloaded.
Converts an object to String using ToString() method, else returns String.Empty.
(Defined by Utils_Other.)
Public Extension MethodGetStringPFApplication(String)Overloaded.
Creates a string with all values in the List, separated by a string.

Uses ToString to convert objects.

(Defined by Utils_Linq.)
Public Extension MethodGetStringPFApplication(String, FuncPFApplication, String)Overloaded.
Creates a string with all values (converted using a function) in the List, separated by a string.
(Defined by Utils_Linq.)
Public Extension MethodIsEmptyPFApplication
Checks if a list is empty.
(Defined by Utils_Linq.)
Public Extension MethodIsGenericListOverloaded.
Checks if this object is a System.Collections.Generic.List.
(Defined by Utils_Linq.)
Public Extension MethodIsGenericList(Type)Overloaded.
Checks if this object is a System.Collections.Generic.List using type as T.
(Defined by Utils_Linq.)
Public Extension MethodIsNotEmptyPFApplication
Checks if a list is not empty.
(Defined by Utils_Linq.)
Public Extension MethodIsNullOrEmptyPFApplication
Checks if a list is null or empty.
(Defined by Utils_Linq.)
Public Extension MethodNotNullPFApplication
Filters a collection of values, excluding null values.
(Defined by Utils_Linq.)
Public Extension MethodSerializeOverloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.)
Public Extension MethodSerialize(String)Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.)
Public Extension MethodSerializeJsonOverloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Public Extension MethodSerializeJson(ListType)Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Public Extension MethodSerializeJson(DataContractJsonSerializerSettings)Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Top
See Also