Examples of storeWithoutCommit()


Examples of plugins.Freetalk.IdentityStatistics.storeWithoutCommit()

         
          ghostList.storeWithoutCommit();
         
          final IdentityStatistics stats = getOrCreateIdentityStatistics(author);
          stats.onMessageListFetched(ghostList);
          stats.storeWithoutCommit();
         
          if(marker == null) {
            dateOfNextRetry = calculateDateOfNextMessageListFetchRetry(reason, date, 0);
            marker = new MessageList.MessageListFetchFailedMarker(ghostList, reason, date, dateOfNextRetry);
            marker.initializeTransient(mFreetalk);
View Full Code Here

Examples of plugins.Freetalk.MessageList.MessageFetchFailedMarker.storeWithoutCommit()

             
              final IdentityStatistics stats = getOrCreateIdentityStatistics(list.getAuthor());
              stats.onMessageListDeleted(list);
              stats.storeWithoutCommit();
             
              m.storeWithoutCommit(); // MessageList.deleteWithoutCommit deletes it.
            }
            catch(NoSuchMessageListException e) {
              // The marker was already processed.
            }
          } else
View Full Code Here

Examples of plugins.Freetalk.MessageList.MessageListFetchFailedMarker.storeWithoutCommit()

   
    // Now we simulate a retry of the message list fetch
   
    marker.setDateOfNextRetry(marker.getDate());
    marker.setAllowRetryNow(false); // Needed for clearExpiredFetchFailedMarkers to process the marker
    marker.storeWithoutCommit();
    Persistent.checkedCommit(db, this);
       
    mMessageManager.clearExpiredFetchFailedMarkers();
   
    q = db.query();
View Full Code Here

Examples of plugins.Freetalk.MessageList.MessageListFetchFailedMarker.storeWithoutCommit()

             
              final IdentityStatistics stats = getOrCreateIdentityStatistics(list.getAuthor());
              stats.onMessageListDeleted(list);
              stats.storeWithoutCommit();
             
              m.storeWithoutCommit(); // MessageList.deleteWithoutCommit deletes it.
            }
            catch(NoSuchMessageListException e) {
              // The marker was already processed.
            }
          } else
View Full Code Here

Examples of plugins.Freetalk.MessageList.MessageReference.storeWithoutCommit()

        try {
          if(marker instanceof MessageFetchFailedMarker) {
            MessageFetchFailedMarker m = (MessageFetchFailedMarker)marker;
            MessageReference ref = m.getMessageReference();
            ref.clearMessageWasDownloadedFlag();
            ref.storeWithoutCommit();
          } else if(marker instanceof MessageListFetchFailedMarker) {
            MessageListFetchFailedMarker m = (MessageListFetchFailedMarker)marker;
            try {
              MessageList list = getMessageList(m.getMessageListID());
              list.deleteWithoutCommit();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.