C# Class Zetbox.App.Extensions.ObjectClassExtensions

Temp. Kist Objects Extensions
Afficher le fichier Open project: daszat/zetbox

Méthodes publiques

Méthode Description
CollectChildClasses ( this cls, List children, bool includeAbstract ) : void
GetAllMethods ( this cls ) : IList
GetAllProperties ( this cls ) : IList
GetDescribedInterfaceType ( this dt ) : InterfaceType
GetDescribedInterfaceTypeName ( this dt ) : string
GetGroupAccessRights ( this cls, ZetboxPrincipal principal ) : Zetbox.API.AccessRights?

GetInheritedProperties ( this cls ) : IList
GetObjectClass ( this obj, IReadOnlyZetboxContext ctx ) : ObjectClass
GetObjectHierarchie ( this cls ) : ICollection
GetProperty ( this cls, string property ) : System.Property
GetPropertyType ( this t, System.Property property ) : Type
GetPropertyType ( this type, string propertyName ) : Type
GetRelationEndsWithLocalStorage ( this cls ) : List
GetRelations ( this cls ) : List
GetRootClass ( this cls ) : ObjectClass
GetTableMapping ( this objClass ) : TableMapping
HasAccessControlList ( this cls ) : bool

Checks if a ObjectClass has an AccessControl list. This Method is used to append security filter

ImplementsIChangedBy ( this cls ) : bool
ImplementsIChangedBy ( this cls, bool lookupInBase ) : bool
ImplementsICustomFulltextFormat ( this cls ) : bool
ImplementsICustomFulltextFormat ( this cls, bool lookupInBase ) : bool
ImplementsIDeactivatable ( this cls ) : bool
ImplementsIDeactivatable ( this cls, bool lookupInBase ) : bool
ImplementsIExportable ( this cls ) : bool
ImplementsIExportable ( this cls, bool lookupInBase ) : bool
ImplementsIMergeable ( this cls ) : bool
ImplementsIMergeable ( this cls, bool lookupInBase ) : bool
ImplementsIModuleMember ( this cls ) : bool
ImplementsIModuleMember ( this cls, bool lookupInBase ) : bool
IsAssignableFrom ( this self, DataType other ) : bool
IsFrozen ( this cls ) : bool
NeedsRightsTable ( this cls ) : bool

Checks if this ObjectClass needs a Rights Table. Lookup is done only in current class, not in base classes. Only RoleMembership ACLs would need a Rights Table. GroupMembership ACLs are resolved directly at the server.

Method Details

CollectChildClasses() public static méthode

public static CollectChildClasses ( this cls, List children, bool includeAbstract ) : void
cls this
children List
includeAbstract bool
Résultat void

GetAllMethods() public static méthode

public static GetAllMethods ( this cls ) : IList
cls this
Résultat IList

GetAllProperties() public static méthode

public static GetAllProperties ( this cls ) : IList
cls this
Résultat IList

GetDescribedInterfaceType() public static méthode

public static GetDescribedInterfaceType ( this dt ) : InterfaceType
dt this
Résultat Zetbox.API.InterfaceType

GetDescribedInterfaceTypeName() public static méthode

public static GetDescribedInterfaceTypeName ( this dt ) : string
dt this
Résultat string

GetGroupAccessRights() public static méthode

public static GetGroupAccessRights ( this cls, ZetboxPrincipal principal ) : Zetbox.API.AccessRights?
cls this
principal Zetbox.API.ZetboxPrincipal
Résultat Zetbox.API.AccessRights?

GetInheritedProperties() public static méthode

public static GetInheritedProperties ( this cls ) : IList
cls this
Résultat IList

GetObjectClass() public static méthode

public static GetObjectClass ( this obj, IReadOnlyZetboxContext ctx ) : ObjectClass
obj this
ctx IReadOnlyZetboxContext
Résultat ObjectClass

GetObjectHierarchie() public static méthode

public static GetObjectHierarchie ( this cls ) : ICollection
cls this
Résultat ICollection

GetProperty() public static méthode

public static GetProperty ( this cls, string property ) : System.Property
cls this
property string
Résultat System.Property

GetPropertyType() public static méthode

public static GetPropertyType ( this t, System.Property property ) : Type
t this
property System.Property
Résultat System.Type

GetPropertyType() public static méthode

public static GetPropertyType ( this type, string propertyName ) : Type
type this
propertyName string
Résultat System.Type

GetRelationEndsWithLocalStorage() public static méthode

public static GetRelationEndsWithLocalStorage ( this cls ) : List
cls this
Résultat List

GetRelations() public static méthode

public static GetRelations ( this cls ) : List
cls this
Résultat List

GetRootClass() public static méthode

public static GetRootClass ( this cls ) : ObjectClass
cls this
Résultat ObjectClass

GetTableMapping() public static méthode

public static GetTableMapping ( this objClass ) : TableMapping
objClass this
Résultat TableMapping

HasAccessControlList() public static méthode

Checks if a ObjectClass has an AccessControl list. This Method is used to append security filter
public static HasAccessControlList ( this cls ) : bool
cls this ObjectClass to test
Résultat bool

ImplementsIChangedBy() public static méthode

public static ImplementsIChangedBy ( this cls ) : bool
cls this
Résultat bool

ImplementsIChangedBy() public static méthode

public static ImplementsIChangedBy ( this cls, bool lookupInBase ) : bool
cls this
lookupInBase bool
Résultat bool

ImplementsICustomFulltextFormat() public static méthode

public static ImplementsICustomFulltextFormat ( this cls ) : bool
cls this
Résultat bool

ImplementsICustomFulltextFormat() public static méthode

public static ImplementsICustomFulltextFormat ( this cls, bool lookupInBase ) : bool
cls this
lookupInBase bool
Résultat bool

ImplementsIDeactivatable() public static méthode

public static ImplementsIDeactivatable ( this cls ) : bool
cls this
Résultat bool

ImplementsIDeactivatable() public static méthode

public static ImplementsIDeactivatable ( this cls, bool lookupInBase ) : bool
cls this
lookupInBase bool
Résultat bool

ImplementsIExportable() public static méthode

public static ImplementsIExportable ( this cls ) : bool
cls this
Résultat bool

ImplementsIExportable() public static méthode

public static ImplementsIExportable ( this cls, bool lookupInBase ) : bool
cls this
lookupInBase bool
Résultat bool

ImplementsIMergeable() public static méthode

public static ImplementsIMergeable ( this cls ) : bool
cls this
Résultat bool

ImplementsIMergeable() public static méthode

public static ImplementsIMergeable ( this cls, bool lookupInBase ) : bool
cls this
lookupInBase bool
Résultat bool

ImplementsIModuleMember() public static méthode

public static ImplementsIModuleMember ( this cls ) : bool
cls this
Résultat bool

ImplementsIModuleMember() public static méthode

public static ImplementsIModuleMember ( this cls, bool lookupInBase ) : bool
cls this
lookupInBase bool
Résultat bool

IsAssignableFrom() public static méthode

public static IsAssignableFrom ( this self, DataType other ) : bool
self this
other DataType
Résultat bool

IsFrozen() public static méthode

public static IsFrozen ( this cls ) : bool
cls this
Résultat bool

NeedsRightsTable() public static méthode

Checks if this ObjectClass needs a Rights Table. Lookup is done only in current class, not in base classes. Only RoleMembership ACLs would need a Rights Table. GroupMembership ACLs are resolved directly at the server.
public static NeedsRightsTable ( this cls ) : bool
cls this ObjectClass to test
Résultat bool