Class AuthorizableJSONWriter


  • public class AuthorizableJSONWriter
    extends java.lang.Object
    Deprecated.
    cq 5.5 Use platform functionality instead.
    Little writer knowing some of the Authorizables special cases that do not compile a Bean-convention
    • Constructor Detail

      • AuthorizableJSONWriter

        public AuthorizableJSONWriter()
        Deprecated.
        Creates a default authorizable writer.
      • AuthorizableJSONWriter

        public AuthorizableJSONWriter​(ProfileManager pMgr,
                                      javax.jcr.Session session,
                                      java.lang.String[] outputProps,
                                      XSSProtectionService xss)
        Deprecated.
        todo
        Parameters:
        pMgr - the profile manager
        session - the session
        outputProps - the output properties
        xss - the XSS protection service
        Since:
        5.4
    • Method Detail

      • setMembersLimit

        public void setMembersLimit​(int membersLimit)
        Deprecated.
        Sets the members limit.
        Parameters:
        membersLimit - the limit
      • setOutputProps

        public void setOutputProps​(java.lang.String[] outputProps)
        Deprecated.
        Set the properties that will be present in the output.
        Parameters:
        outputProps - the output properties
        Since:
        5.4
      • setBasic

        public void setBasic​(boolean basic)
        Deprecated.
        Define if only basic information should be written
        Parameters:
        basic - true to only dump basic information
      • setXss

        public void setXss​(XSSProtectionService xss)
        Deprecated.
        Set XSS protection service to use to prevent from XSS attacks
        Parameters:
        xss -
        Since:
        5.4
      • write

        public void write​(java.io.Writer out,
                          Authorizable authorizable)
                   throws JSONException,
                          javax.jcr.RepositoryException
        Deprecated.
        Throws:
        JSONException
        javax.jcr.RepositoryException
      • writeTable

        public void writeTable​(java.io.Writer out,
                               Authorizable authorizable)
                        throws JSONException,
                               javax.jcr.RepositoryException
        Deprecated.
        Throws:
        JSONException
        javax.jcr.RepositoryException
      • writeTable

        public void writeTable​(java.io.Writer out,
                               Authorizable authorizable)
                        throws JSONException,
                               javax.jcr.RepositoryException
        Deprecated.
        Throws:
        JSONException
        javax.jcr.RepositoryException