Class TorqueDynamicRoleManagerImpl

    • Method Detail

      • doSelectById

        protected <T extends Role> T doSelectById​(Integer id,
                                                  Connection con)
                                           throws org.apache.torque.NoRowsException,
                                                  org.apache.torque.TooManyRowsException,
                                                  org.apache.torque.TorqueException
        Description copied from class: TorqueAbstractRoleManager
        Get a specialized Role by id
        Specified by:
        doSelectById in class TorqueAbstractRoleManager
        Parameters:
        id - the id of the group
        con - a database connection
        Returns:
        a Role instance
        Throws:
        org.apache.torque.NoRowsException - if no such group exists
        org.apache.torque.TooManyRowsException - if multiple groups with the given id exist
        org.apache.torque.TorqueException - if any database error occurs if any other database error occurs
      • doSelectByName

        protected <T extends Role> T doSelectByName​(String name,
                                                    Connection con)
                                             throws org.apache.torque.NoRowsException,
                                                    org.apache.torque.TooManyRowsException,
                                                    org.apache.torque.TorqueException
        Description copied from class: TorqueAbstractRoleManager
        Get a specialized Role by name
        Specified by:
        doSelectByName in class TorqueAbstractRoleManager
        Parameters:
        name - the name of the group
        con - a database connection
        Returns:
        a Role instance
        Throws:
        org.apache.torque.NoRowsException - if no such group exists
        org.apache.torque.TooManyRowsException - if multiple groups with the given name exist
        org.apache.torque.TorqueException - if any database error occurs if any other database error occurs