jet.server.api.admin.security
Interface JOrganization


public interface JOrganization

Represents an organization in JReport security system, an organization contains user, role, and groups.


Method Summary
 java.lang.String getDescription()
          get the organization's description
 int getMaxUserNumber()
          get maximum user number of the organization, not including built-in admin user of the organization, 0 means unlimited.
 java.lang.String getName()
          get the organization's name
 int getUserAmount()
          get user amount of the organization, not including built-in admin user.
 

Method Detail

getName

java.lang.String getName()
get the organization's name

Returns:
the organization's name

getDescription

java.lang.String getDescription()
get the organization's description

Returns:
the organization's description

getMaxUserNumber

int getMaxUserNumber()
get maximum user number of the organization, not including built-in admin user of the organization, 0 means unlimited.

Returns:
the maximum user amount of the organization.

getUserAmount

int getUserAmount()
get user amount of the organization, not including built-in admin user.

Returns:
the user amount of the organization, not including built-in admin user.