Class FRQSession

    • Field Detail

      • isAnonymize

        protected boolean isAnonymize
    • Method Detail

      • getId

        public String getId()
        Returns:
        the formSessionId
      • getMandantId

        public long getMandantId()
        Returns:
        The ID of the client to which the form belongs.
      • getClientUuid

        public UUID getClientUuid()
        Returns:
        The UUID of the client to which the form belongs.
      • getProjectId

        public long getProjectId()
        Returns:
        the projectId
      • getFormVersionId

        public long getFormVersionId()
        Returns:
        the formVersionId
      • getUserModel

        public IUser getUserModel()
      • setUserModel

        public void setUserModel​(IUser user)
      • getUserProfile

        public org.pac4j.core.profile.CommonProfile getUserProfile()
      • setUserProfile

        public void setUserProfile​(org.pac4j.core.profile.CommonProfile profile)
      • getRequestUrl

        public String getRequestUrl()
      • setRequestUrl

        public void setRequestUrl​(String requestUrl)
      • getRequestTypes

        public List<EFormRequestType> getRequestTypes()
        During a single FRQ session, multiple HTTP requests may be made. For example, during the usual lifecycle of an FRQ session, the form is first requested (PROVIDE, REVIEW etc.) and subsequentially submitted (PROCESS). This method returns a list of all request types.
        Returns:
        All request types, with the first entry being the first request and the last entry being the most recent request.
      • setRequestTypes

        public void setRequestTypes​(List<EFormRequestType> requestTypes)
        During a single FRQ session, multiple HTTP requests may be made. For example, during the usual lifecycle of an FRQ session, the form is first requested (PROVIDE, REVIEW etc.) and subsequentially submitted (PROCESS). This method returns a list of all request types.
        Parameters:
        requestTypes - All request types, with the first entry being the first request and the last entry being the most recent request.
      • getMostRecentRequestType

        public EFormRequestType getMostRecentRequestType()
        Returns:
        The type of the most recent request that was made.
        See Also:
        getRequestTypes()
      • getInitialRequestType

        public EFormRequestType getInitialRequestType()
        Returns:
        The type of the original request that started this FRQ session.
        See Also:
        getRequestTypes()
      • setInProcess

        public void setInProcess​(boolean inProcess)
      • isInProcess

        public boolean isInProcess()
      • setAnonymize

        public void setAnonymize​(boolean anonymize)
      • isAnonymize

        public boolean isAnonymize()
      • createUserDataJSON

        public com.alibaba.fastjson.JSONObject createUserDataJSON()
      • getLocale

        public Locale getLocale()
      • setLocale

        public void setLocale​(Locale locale)
      • getUserLdapData

        @Deprecated
        public com.alibaba.fastjson.JSONObject getUserLdapData()
        Deprecated.
      • setUserLdapData

        @Deprecated
        public void setUserLdapData​(com.alibaba.fastjson.JSONObject userLdapData)
        Deprecated.