public int getFileDinhKemsCount() throws SystemException {
   return fileDinhKemPersistence.countAll();
 }
  public FileDinhKem updateFileDinhKem(FileDinhKem fileDinhKem, boolean merge)
      throws SystemException {
    fileDinhKem.setNew(false);

    return fileDinhKemPersistence.update(fileDinhKem, merge);
  }
 public FileDinhKem getFileDinhKem(long maFileDinhKem) throws PortalException, SystemException {
   return fileDinhKemPersistence.findByPrimaryKey(maFileDinhKem);
 }
 public List<FileDinhKem> getFileDinhKems(int start, int end) throws SystemException {
   return fileDinhKemPersistence.findAll(start, end);
 }
 public List<Object> dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
     throws SystemException {
   return fileDinhKemPersistence.findWithDynamicQuery(dynamicQuery, start, end);
 }
 public void deleteFileDinhKem(FileDinhKem fileDinhKem) throws SystemException {
   fileDinhKemPersistence.remove(fileDinhKem);
 }
 public void deleteFileDinhKem(long maFileDinhKem) throws PortalException, SystemException {
   fileDinhKemPersistence.remove(maFileDinhKem);
 }
 public FileDinhKem createFileDinhKem(long maFileDinhKem) {
   return fileDinhKemPersistence.create(maFileDinhKem);
 }
  public FileDinhKem addFileDinhKem(FileDinhKem fileDinhKem) throws SystemException {
    fileDinhKem.setNew(true);

    return fileDinhKemPersistence.update(fileDinhKem, false);
  }