Package io.goobi.viewer.model.security
Class LicenseRightsHolder
java.lang.Object
io.goobi.viewer.model.security.LicenseRightsHolder
Licensee wrapper.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()getOwner()getType()getUser()booleanvoidsetClient(ClientApplication client) voidsetClientId(Long clientId) voidvoidsetIpRange(IpRange ipRange) voidvoidsetType(License.AccessType type) voidvoidsetUserGroup(UserGroup userGroup)
-
Constructor Details
-
LicenseRightsHolder
public LicenseRightsHolder() -
LicenseRightsHolder
-
-
Method Details
-
isDisabled
public boolean isDisabled() -
getLicensee
-
getId
-
setId
-
getType
-
getOwner
-
setOwner
-
setType
-
getUser
-
setUser
- Parameters:
user- the user this rights holder represents (clears userGroup, ipRange and client when non-null)
-
getUserGroup
-
setUserGroup
- Parameters:
userGroup- the user group this rights holder represents (clears user, ipRange and client when non-null)
-
getIpRange
-
setIpRange
- Parameters:
ipRange- the IP range this rights holder represents (clears user, userGroup and client when non-null)
-
getClient
-
setClient
-
getClientId
-
setClientId
- Parameters:
clientId- the database ID of the client application to associate with this rights holder- Throws:
DAOException
-