hoplugins.transfers.dao
Class TransferStatusDAO

java.lang.Object
  extended byhoplugins.transfers.dao.TransferStatusDAO

public final class TransferStatusDAO
extends java.lang.Object

DB Access Manager for Transfer uploading status

Author:
Massimiliano Amato

Method Summary
static boolean isUploaded(int transferId)
          Returns if the tranfer has been already uploaded to server or not
static void resetTransfers()
          Returns if the tranfer has been already uploaded to server or not
static void setUploaded(int transferId)
          Set the uploaded status in the databse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setUploaded

public static void setUploaded(int transferId)
Set the uploaded status in the databse

Parameters:
transferId - the uploaded transfer id

isUploaded

public static boolean isUploaded(int transferId)
Returns if the tranfer has been already uploaded to server or not

Parameters:
transferId - the uploaded transfer id
Returns:
true if transferId has been already uploaded

resetTransfers

public static void resetTransfers()
Returns if the tranfer has been already uploaded to server or not



Copyright © 2005 Hattrick Organizer Plugins Project. All Rights Reserved.