Defined in file: hzDissemino.h
A Dissemino exec command
Constructors/Detructors
| hdsExec* | hdsExec | (hdsApp* pApp)Exectype cmd, | |
| void | ~hdsExec | (void) |
Public Methods:
| hzEcode | Adduser | (hzChain& errorReport)hzHttpEvent* pE, | Explicitly create a new user as an executive step. This is done as part of the response to submission of a user registration form. In the form submission exec blocks, an <addUser> tag gives rise to an execAddUser instance, which in turn results in a call to this function. The <addUser> tag should not be used in any other context. Likewise, adding new users should not be attempted by a series of execCommit directives. NOTE: This function ONLY adds the new user to the standard subscriber repository |
| hzEcode | Exec | (hzChain& errorReport)hzHttpEvent* pE, | Run a single Exec command. Commands are placed within <procdata> tags, which can appear in <xform> and <page> |
| hzEcode | Extract | (hzChain& errorReport)hzHttpEvent* pE, | Perform a text extraction. The scenario will be that the input will be a file bound to the event (an uploaded file in a form submission). The m_Input member will name the field carrying the file. ... |
| hzEcode | Filesys | (hzChain& errorReport)hzHttpEvent* pE, | Execute a filesystem command to create, delete or list a directory or to write out or read in a binary object to/from a file - as opposed to storing it in a repository. |
| hzEcode | Logon | (hzChain& errorReport)hzHttpEvent* pE, | Log a user in as admin. This is done without password checking. As the supplied m_Uname parameter is always a percent entity, this must be evaluated before use. |
| hzEcode | SendEmail | (hzChain& errorReport)hzHttpEvent* pE, | |
| hzEcode | SrchPages | (hzChain& errorReport)hzHttpEvent* pE, | Conduct a document search and provide a list of document ids found. In all cases the search will either be of an inbuilt resource such as the site's 'indigionous' pages (those defined as <xpage> in the config plus any passive pages), or it will be of a specified class. |
| hzEcode | SrchRepos | (hzChain& errorReport)hzHttpEvent* pE, | Conduct a document search and provide a list of document ids found. In all cases the search will either be of an inbuilt resource such as the site's 'indigionous' pages (those defined as <xpage> in the config plus any passive pages), or it will be of a specified class. |
| Exectype | Whatami | (void) |
Member Variables:
| uint16_t | m_ClassId | Class if aplicable. This is needed for all commands on standalone objects | |
| Exectype | m_Command | Type of command | |
| hzString | m_FailGoto | Page to goto in event of execution failure (if any) | |
| uint32_t | m_FstParam | First parameter (position in hdsApp array m_ExecParams) | |
| uint16_t | m_ReposId | Repository if any. This is needed for COMMIT and FETCH commands only | |
| hdsApp* | m_pApp | Parent Dissemino Application | |
| hdsResource* | m_pFailResponse | Page to display in event of execution failure | |
| hdbBasetype | m_type | Datatype (applies to SETVAR) |