org.silverpeas.quota.service.dao
Interface QuotaDAO
- All Known Implementing Classes:
- JDBCQuotaDAO
public interface QuotaDAO
A Data Access Object that provides an access to Quota objects persisted within a data source.
The way the data source is accessed and the nature of the data source are wrapped by the
implementation of this interface.
getByTypeAndResourceId
Quota getByTypeAndResourceId(String type,
String resourceId)
- Gets the quota that corresponds at all of given parameters
- Parameters:
type
- : criteria of the type of quotaresourceId
- : criteria of the id of the resource
- Returns:
- the quota that corresponds at all of given parameters, null otherwise
Copyright © 2016 Silverpeas. All Rights Reserved.