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
- Returns:
- the id
-
setId
- Parameters:
id- the id to set
-
getType
- Returns:
- the type
-
getOwner
- Returns:
- the owner
-
setOwner
- Parameters:
owner- the owner to set
-
setType
- Parameters:
type- the type to set
-
getUser
- Returns:
- the user
-
setUser
- Parameters:
user- the user to set
-
getUserGroup
- Returns:
- the userGroup
-
setUserGroup
- Parameters:
userGroup- the userGroup to set
-
getIpRange
- Returns:
- the ipRange
-
setIpRange
- Parameters:
ipRange- the ipRange to set
-
getClient
- Returns:
- the client
-
setClient
- Parameters:
client- the client to set
-
getClientId
-
setClientId
- Parameters:
clientId- the clientId to set- Throws:
DAOException
-