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.


Method Summary
 Quota getByTypeAndResourceId(String type, String resourceId)
          Gets the quota that corresponds at all of given parameters
 

Method Detail

getByTypeAndResourceId

Quota getByTypeAndResourceId(String type,
                             String resourceId)
Gets the quota that corresponds at all of given parameters

Parameters:
type - : criteria of the type of quota
resourceId - : 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.