Class UserDomainQuotaKey
- java.lang.Object
-
- org.silverpeas.core.admin.domain.quota.UserDomainQuotaKey
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UserDomainQuotaKey
from(Domain domain)
Initializing a quota key from a given domainstatic UserDomainQuotaKey
from(Quota quota)
Initializing a quota key from a given quotastatic UserDomainQuotaKey
from(UserDetail userDetail)
Initializing a quota key from a given userQuotaType
getQuotaType()
String
getResourceId()
boolean
isValid()
-
-
-
Method Detail
-
from
public static UserDomainQuotaKey from(UserDetail userDetail)
Initializing a quota key from a given user- Parameters:
userDetail
-- Returns:
-
from
public static UserDomainQuotaKey from(Quota quota)
Initializing a quota key from a given quota- Parameters:
quota
-- Returns:
-
from
public static UserDomainQuotaKey from(Domain domain)
Initializing a quota key from a given domain- Parameters:
domain
-- Returns:
-
getQuotaType
public QuotaType getQuotaType()
- Specified by:
getQuotaType
in interfaceQuotaKey
-
getResourceId
public String getResourceId()
- Specified by:
getResourceId
in interfaceQuotaKey
-
-