Class LicenseRightsHolder

java.lang.Object
io.goobi.viewer.model.security.LicenseRightsHolder

@Entity public class LicenseRightsHolder extends Object
Licensee wrapper.
  • Constructor Details

    • LicenseRightsHolder

      public LicenseRightsHolder()
    • LicenseRightsHolder

      public LicenseRightsHolder(License owner)
  • Method Details

    • isDisabled

      public boolean isDisabled()
    • getLicensee

      public ILicensee getLicensee()
    • getId

      public Long getId()
      Returns:
      the id
    • setId

      public void setId(Long id)
      Parameters:
      id - the id to set
    • getType

      public License.AccessType getType()
      Returns:
      the type
    • getOwner

      public License getOwner()
      Returns:
      the owner
    • setOwner

      public void setOwner(License owner)
      Parameters:
      owner - the owner to set
    • setType

      public void setType(License.AccessType type)
      Parameters:
      type - the type to set
    • getUser

      public User getUser()
      Returns:
      the user
    • setUser

      public void setUser(User user)
      Parameters:
      user - the user to set
    • getUserGroup

      public UserGroup getUserGroup()
      Returns:
      the userGroup
    • setUserGroup

      public void setUserGroup(UserGroup userGroup)
      Parameters:
      userGroup - the userGroup to set
    • getIpRange

      public IpRange getIpRange()
      Returns:
      the ipRange
    • setIpRange

      public void setIpRange(IpRange ipRange)
      Parameters:
      ipRange - the ipRange to set
    • getClient

      public ClientApplication getClient()
      Returns:
      the client
    • setClient

      public void setClient(ClientApplication client)
      Parameters:
      client - the client to set
    • getClientId

      public Long getClientId()
    • setClientId

      public void setClientId(Long clientId) throws DAOException
      Parameters:
      clientId - the clientId to set
      Throws:
      DAOException