Interface UserSource

  • All Superinterfaces:
    VelocityDataSource

    public interface UserSource
    extends VelocityDataSource

    Contains methods to fetch information regarding users.

    These methods are exposed to Velocity reports on the userSource object within the global context. Example: $userSource.getUser(1)

    • Method Detail

      • getUser

        User getUser​(java.lang.Integer id)
      • getUserFullName

        java.lang.String getUserFullName​(java.lang.Integer id)
      • getUserByUsername

        User getUserByUsername​(java.lang.String username)
      • getUsersInRole

        java.util.List<User> getUsersInRole​(java.lang.Integer roleId)
      • getRoleListByOrgId

        java.util.List<Role> getRoleListByOrgId​(java.lang.Integer orgId)
      • getRoleList

        java.util.List<Role> getRoleList​(java.util.Collection<java.lang.Integer> ids,
                                         java.lang.Integer orgId)
      • getRoleList

        java.util.List<Role> getRoleList()
      • getRole

        Role getRole​(java.lang.Integer roleId)
      • getRoleByName

        Role getRoleByName​(java.lang.String name,
                           java.lang.Integer orgId)
      • getCurrentUser

        User getCurrentUser()
      • getLoginsForLastHours

        java.util.List<UserLogEntry> getLoginsForLastHours​(java.lang.Integer hours,
                                                           java.lang.Integer orgId)
      • getActiveUserListByOrgId

        java.util.List<User> getActiveUserListByOrgId​(java.lang.Integer orgId)