Class JpaOrganization

java.lang.Object
org.opencastproject.security.impl.jpa.JpaOrganization
All Implemented Interfaces:
Organization

@Entity public class JpaOrganization extends Object implements Organization
JPA-annotated organization object.
  • Constructor Details

    • JpaOrganization

      public JpaOrganization()
      No-arg constructor needed by JPA
    • JpaOrganization

      public JpaOrganization(String orgId, String name, String serverName, Integer serverPort, String adminRole, String anonymousRole, Map<String,String> properties)
      Constructs an organization with its attributes.
      Parameters:
      orgId - the unique identifier
      name - the friendly name
      serverName - the host name
      serverPort - the host port
      adminRole - name of the local admin role
      anonymousRole - name of the local anonymous role
      properties - arbitrary properties defined for this organization, which might include branding, etc.
    • JpaOrganization

      public JpaOrganization(String orgId, String name, Map<String,Integer> servers, String adminRole, String anonymousRole, Map<String,String> properties)
      Constructs an organization with its attributes.
      Parameters:
      orgId - the unique identifier
      name - the friendly name
      servers - the servers
      adminRole - name of the local admin role
      anonymousRole - name of the local anonymous role
      properties - arbitrary properties defined for this organization, which might include branding, etc.
  • Method Details