Class FormPortalDao


  • public class FormPortalDao
    extends AbstractDao
    Since:
    5.1.0
    • Constructor Detail

      • FormPortalDao

        public FormPortalDao()
    • Method Detail

      • getObjectForPK

        public FormPortal getObjectForPK​(Object formPortalId)
        Return the FormPortal with the specified ID
        Parameters:
        formPortalId - the OID of the formPortal (required)
        Returns:
        the matching folder, or null if not found
      • isInternalTxnFlag

        public boolean isInternalTxnFlag​(Form form,
                                         Portal portal)
        Return whether the form is set up to allow internal transactions on the given portal. The check is performed on _FormPortal.getTxnScope() first, and if null, falls back to _Portal.isInternalTxnFlag().
        Parameters:
        form - the form (required)
        portal - the portal (required)
        Returns:
        true if the form portal configuration allows internal transactions
        Since:
        18.11.0