org.silverpeas.quota.service.dao.jdbc
Class JDBCQuotaDAO

java.lang.Object
  extended by org.silverpeas.quota.service.dao.jdbc.JDBCQuotaDAO
All Implemented Interfaces:
QuotaDAO

public class JDBCQuotaDAO
extends Object
implements QuotaDAO

Author:
Yohann Chastagnier

Constructor Summary
JDBCQuotaDAO()
           
 
Method Summary
 Quota getByTypeAndResourceId(String type, String resourceId)
          Gets the quota that corresponds at all of given parameters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDBCQuotaDAO

public JDBCQuotaDAO()
Method Detail

getByTypeAndResourceId

public Quota getByTypeAndResourceId(String type,
                                    String resourceId)
Description copied from interface: QuotaDAO
Gets the quota that corresponds at all of given parameters

Specified by:
getByTypeAndResourceId in interface QuotaDAO
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.