Class Reference
%CSP.UI.Portal.Dialog.ColumnPriv
|
|
![]() |
|||
Private Storage |
Page to define SQL Table/View column privileges.
|
|
|
Class name of application this page belongs to.
If true, then this dialog displays an Apply button.
If true, auto-switch namespace to whatever $NAMESPACE is passed in.
This parameter is used to make sure that if multiple CSP applications are mapped to the same namespace that the CSP engine can correctly identify which class corresponds with which URL. If 'LockCSPName' is true (the default, defined in the CSP application) then you can only access this page if the url exactly matches this 'CSPURL'. You can set this parameter to "" if you wish to disable this check for this class. This check is applied for all CSP urls (cls/csp/zen).
If this page was compiled from a .csp file, then this parameter is automatically set to contain the url of this file used for compilation.
Domain used for localization.
Displayed name of this page.
This is a comma-delimited list of system Resources and associated permissions. A user must hold the specified permissions on at least one of the specified resources in order to view this page or invoke any of its server-side methods from the client.
The format of each item in the list should be as follows:
Resource[:Permission]
Permission is optional, and defaults to USE if not supplied. If it is supplied, it should be one of USE, READ or WRITE.
|
Table column name if user is editing or revoking
Flag indicating whether user checked the "Include System Items" checkbox.
Namespace indicating where the schemas/tables/views are coming from.
ObjName = null for Add, or Table name or View name for Edit
"TABLE" or "VIEW".
User or Role whose privileges are being granted
User selected schema name
User selected table name
Total number of existing columns for edit
|
Set Locator bar and determine whether to show change password option.
Get the (localized) subtitle string for the dialog. This should be implemented in a subclass.
Get the (localized) title string for the dialog. This should be implemented in a subclass.
When editing existing column priv, this method loads existing column priv into check boxes
Draws table for existing table column priv allowing user to edit or revoke.
Return existing columns
Save column priv data to server If this is to revoke column priv, then pRevoke = 1, pPrivs and pGrant will be null.
Load fields into Available/Selected list boxes.
User changed or selected a schema. Load Table list based on the schema selected.
User selected a table. Load Available/Selected list boxes.
Check if Priv or Grant are all checked. check chkPriv/chkGrant if all its checkboxes are checked; uncheck if at least one is unchecked.
User changed a checkbox.
Disable or enable the apply,cancel, and ok buttons for this dialog. Overriding %ZEN.Dialog.standardDialog (called by dialogFinish() and dialogCancel())
User clicked "Add Columns" to add more columns to existing schema.table
User clicked "Edit" to edit existing column priv
User clicked "Revoke" to revoke existing column priv
Get the value that will be applied when the user presses the OK button. This is implemented by subclasses.
This callback, if defined, is called when the user presses the OK or Apply action buttons. If this returns false, then the action is cancelled.
This client event, if present, is fired when the page is loaded.
User clicked the Privilege/Grant Admin checkbox.