Class WebappUsers

    • Constructor Detail

      • WebappUsers

        public WebappUsers()
    • Method Detail

      • clearRole

        public void clearRole()
      • clearUser

        public void clearUser()
      • deleteMaxsessions

        public void deleteMaxsessions()
      • getMaxsessions

        public int getMaxsessions()
        Returns the value of field 'maxsessions'.
        Returns:
        the value of field 'maxsessions'.
      • getRole

        public Role[] getRole()
      • getRoleCount

        public int getRoleCount()
      • getUser

        public User[] getUser()
      • getUserCount

        public int getUserCount()
      • hasMaxsessions

        public boolean hasMaxsessions()
      • isValid

        public boolean isValid()
      • marshal

        public void marshal​(Writer out)
                     throws org.exolab.castor.xml.MarshalException,
                            org.exolab.castor.xml.ValidationException
        Parameters:
        out -
        Throws:
        org.exolab.castor.xml.MarshalException
        org.exolab.castor.xml.ValidationException
      • marshal

        public void marshal​(ContentHandler handler)
                     throws IOException,
                            org.exolab.castor.xml.MarshalException,
                            org.exolab.castor.xml.ValidationException
        Parameters:
        handler -
        Throws:
        IOException
        org.exolab.castor.xml.MarshalException
        org.exolab.castor.xml.ValidationException
      • removeRole

        public boolean removeRole​(Role vRole)
        Parameters:
        vRole -
      • removeUser

        public boolean removeUser​(User vUser)
        Parameters:
        vUser -
      • setMaxsessions

        public void setMaxsessions​(int maxsessions)
        Sets the value of field 'maxsessions'.
        Parameters:
        maxsessions - the value of field 'maxsessions'.
      • setRole

        public void setRole​(Role[] roleArray)
        Parameters:
        roleArray -
      • setUser

        public void setUser​(User[] userArray)
        Parameters:
        userArray -
      • unmarshal

        public static WebappUsers unmarshal​(Reader reader)
                                     throws org.exolab.castor.xml.MarshalException,
                                            org.exolab.castor.xml.ValidationException
        Parameters:
        reader -
        Throws:
        org.exolab.castor.xml.MarshalException
        org.exolab.castor.xml.ValidationException
      • validate

        public void validate()
                      throws org.exolab.castor.xml.ValidationException
        Throws:
        org.exolab.castor.xml.ValidationException