Package DE_EPAGES::Permission::API::Table::Permission
interface for table Permission
Functions
- DeletePermission
- ExistsPermission
- GetAllInfoPermissions
- GetAllPKeyPermissions
- GetInfoPermission
- GetInfoPermissionsByMetaActionID
- GetInfoPermissionsByObjectID
- GetInfoPermissionsByTrusteeID
- GetPKeyPermissionsByMetaActionID
- GetPKeyPermissionsByObjectID
- GetPKeyPermissionsByTrusteeID
- InsertPermission
- OnDeleteObject
- UpdatePermission
DeletePermission
Deletes a(n) Permission.
Syntax |
DeletePermission($ObjectID, $TrusteeID, $MetaActionID); DeletePermission($hPermission); # if $hPermission includes ObjectID, TrusteeID, MetaActionID |
Input |
|
ExistsPermission
Returns true if the Permission exists.
Syntax |
$exists = ExistsPermission($ObjectID, $TrusteeID, $MetaActionID); |
Input |
|
Return |
|
GetAllInfoPermissions
Returns all objects of Permission.
Syntax |
$ahPermissions = GetAllInfoPermissions(); |
Return |
|
GetAllPKeyPermissions
Returns all Permission identifiers.
Syntax |
$ahPermissionIDs = GetAllPKeyPermissions(); |
Return |
|
GetInfoPermission
Returns the Permission by identifier.
Syntax |
$hPermission = GetInfoPermission($ObjectID, $TrusteeID, $MetaActionID); |
Input |
|
Return |
|
GetInfoPermissionsByMetaActionID
Returns objects of Permission by alternate key MetaActionID.
Syntax |
$ahPermissions = GetInfoPermissionsByMetaActionID($MetaActionID); |
Input |
|
Return |
|
GetInfoPermissionsByObjectID
Returns objects of Permission by primary key element ObjectID, TrusteeID.
Syntax |
$ahPermissions = GetInfoPermissionsByObjectID($ObjectID, $TrusteeID); |
Input |
|
Return |
|
GetInfoPermissionsByTrusteeID
Returns objects of Permission by alternate key TrusteeID.
Syntax |
$ahPermissions = GetInfoPermissionsByTrusteeID($TrusteeID); |
Input |
|
Return |
|
GetPKeyPermissionsByMetaActionID
Returns primary keys of Permission by alternate key MetaActionID.
Syntax |
$ahKeys = GetPKeyPermissionsByMetaActionID($MetaActionID); |
Input |
|
Return |
|
GetPKeyPermissionsByObjectID
Returns primary keys of Permission by primary key element ObjectID, TrusteeID.
Syntax |
$ahKeys = GetPKeyPermissionsByObjectID($ObjectID, $TrusteeID); |
Input |
|
Return |
|
GetPKeyPermissionsByTrusteeID
Returns primary keys of Permission by alternate key TrusteeID.
Syntax |
$ahKeys = GetPKeyPermissionsByTrusteeID($TrusteeID); |
Input |
|
Return |
|
InsertPermission
Creates an entry of Permission.
Syntax |
InsertPermission($hPermission); |
Input |
|
OnDeleteObject
Deletes Permission of this model when a(n) Object is deleted.
Syntax |
OnDeleteObject($hParams); |
Input |
|
UpdatePermission
Updates a(n) Permission if any element was changed.
Syntax |
UpdatePermission($ObjectID, $TrusteeID, $MetaActionID, $hPermission); UpdatePermission($hPermission); # if $hPermission includes ObjectID, TrusteeID, MetaActionID |
Input |
|
Return |
|