System Integration

System Integration

This section contains functions for system integration. It enables users to deal with databases, LDAP and so on.

Functions Summary

  • callExecutes SIL script on the current host or different host.
  • databaseAvailableChecks if the database is available.
  • getPersistentVarGets the persistent var, as a string
  • ldapUserAttrReturns an array of the requested attribute.
  • ldapUserListReturns an array of the requested attributes for all users matching the query.
  • ldapUserRecordReturns an array of the requested attribute.
  • ldapUserStructReturns an array of JLdapUserStruct representing all users matched by the query.
  • runSILInlineExecutes the script with the given arguments.
  • saveURLToFileSaves the content of some URL (HTTP GET) to the specified file.
  • sendEmailSends an email.
  • sendHtmlEmailSends an email, HTML formatted.
  • setPersistentVarSets the persistent var, as a string
  • silEnvReturns the variable as presented in the environment.
  • sqlExecutes the SQL phrase over the defined datasource.
  • sqlCallStoredProcedureExecutes the stored procedure over the defined datasource name / JNDI datasource.
  • sqlCallStoredProcedureWithOutParamsExecutes the stored procedure over the defined datasource.
  • sysLockCreates a named lock. Scripts using the same lock key will be blocked and wait for the current script to release the lock. Note that this does not prevent the issue from being edited or otherwise changed by other means or plugins. This lock only makes sense for the SIL scripts. Locks will be cleared at the termination of the script or when the script currently holding the lock calls sysUnlock(lockKey). Also note also the locks are not guaranteed to be re-entrant.
  • sysSleepCauses the current thread to sleep (suspends processing) for the specified interval.
  • sysUnlockRemoves a named lock.

 

Peacock

Need support? Create a request with our support team.

Copyright © 2005 - 2025 Appfire | All rights reserved.