[jboss-cvs] JBoss Messaging SVN: r4017 - branches/Branch_Hibernate_Persistence/src/main/org/jboss/messaging/jdbc/hb/pm/src/org/jboss/messaging/jdbc/hb/factory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Apr 7 12:29:12 EDT 2008


Author: bershath27
Date: 2008-04-07 12:29:12 -0400 (Mon, 07 Apr 2008)
New Revision: 4017

Added:
   branches/Branch_Hibernate_Persistence/src/main/org/jboss/messaging/jdbc/hb/pm/src/org/jboss/messaging/jdbc/hb/factory/JBMTransactionManager.java
   branches/Branch_Hibernate_Persistence/src/main/org/jboss/messaging/jdbc/hb/pm/src/org/jboss/messaging/jdbc/hb/factory/MessageManager.java
   branches/Branch_Hibernate_Persistence/src/main/org/jboss/messaging/jdbc/hb/pm/src/org/jboss/messaging/jdbc/hb/factory/MessageReferenceManager.java
Log:
Initial check in


Added: branches/Branch_Hibernate_Persistence/src/main/org/jboss/messaging/jdbc/hb/pm/src/org/jboss/messaging/jdbc/hb/factory/JBMTransactionManager.java
===================================================================
--- branches/Branch_Hibernate_Persistence/src/main/org/jboss/messaging/jdbc/hb/pm/src/org/jboss/messaging/jdbc/hb/factory/JBMTransactionManager.java	                        (rev 0)
+++ branches/Branch_Hibernate_Persistence/src/main/org/jboss/messaging/jdbc/hb/pm/src/org/jboss/messaging/jdbc/hb/factory/JBMTransactionManager.java	2008-04-07 16:29:12 UTC (rev 4017)
@@ -0,0 +1,38 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.jboss.messaging.jdbc.hb.factory;
+
+import org.jboss.messaging.jdbc.hb.dto.JBMTransactionPOJO;
+
+
+/**
+ * @author bershath
+ *
+ */
+public interface JBMTransactionManager 
+{
+	boolean addTransaction(JBMTransactionPOJO jBMTransactionPOJO);
+	JBMTransactionPOJO updateTransaction(JBMTransactionPOJO jBMTransactionPOJO);
+	boolean removeTransaction(JBMTransactionPOJO jBMTransactionPOJO);
+
+}


Property changes on: branches/Branch_Hibernate_Persistence/src/main/org/jboss/messaging/jdbc/hb/pm/src/org/jboss/messaging/jdbc/hb/factory/JBMTransactionManager.java
___________________________________________________________________
Name: svn:executable
   + *

Added: branches/Branch_Hibernate_Persistence/src/main/org/jboss/messaging/jdbc/hb/pm/src/org/jboss/messaging/jdbc/hb/factory/MessageManager.java
===================================================================
--- branches/Branch_Hibernate_Persistence/src/main/org/jboss/messaging/jdbc/hb/pm/src/org/jboss/messaging/jdbc/hb/factory/MessageManager.java	                        (rev 0)
+++ branches/Branch_Hibernate_Persistence/src/main/org/jboss/messaging/jdbc/hb/pm/src/org/jboss/messaging/jdbc/hb/factory/MessageManager.java	2008-04-07 16:29:12 UTC (rev 4017)
@@ -0,0 +1,42 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.messaging.jdbc.hb.factory;
+
+import java.util.List;
+
+import org.jboss.messaging.jdbc.hb.dto.JBMMessagePOJO;
+
+/**
+ * MessageManager , an interface providing services related to JBM_MSG 
+ *
+ * @author <a href="mailto:bershath at gmail.com">Tyronne Wickramarathne</a>
+ * @version $Revision: 1 $
+ */
+
+public interface MessageManager 
+{
+	boolean addMessage(JBMMessagePOJO jBMMessagePOJO);
+	JBMMessagePOJO updateMessage(JBMMessagePOJO jBMMessagePOJO);
+	boolean removeMessage(JBMMessagePOJO jBMMessagePOJO);
+	List<JBMMessagePOJO> getAllMessages();
+	boolean addMessages(List<JBMMessagePOJO> jBMMessagePOJOs);
+}


Property changes on: branches/Branch_Hibernate_Persistence/src/main/org/jboss/messaging/jdbc/hb/pm/src/org/jboss/messaging/jdbc/hb/factory/MessageManager.java
___________________________________________________________________
Name: svn:executable
   + *

Added: branches/Branch_Hibernate_Persistence/src/main/org/jboss/messaging/jdbc/hb/pm/src/org/jboss/messaging/jdbc/hb/factory/MessageReferenceManager.java
===================================================================
--- branches/Branch_Hibernate_Persistence/src/main/org/jboss/messaging/jdbc/hb/pm/src/org/jboss/messaging/jdbc/hb/factory/MessageReferenceManager.java	                        (rev 0)
+++ branches/Branch_Hibernate_Persistence/src/main/org/jboss/messaging/jdbc/hb/pm/src/org/jboss/messaging/jdbc/hb/factory/MessageReferenceManager.java	2008-04-07 16:29:12 UTC (rev 4017)
@@ -0,0 +1,53 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.messaging.jdbc.hb.factory;
+
+import java.math.BigInteger;
+import java.util.List;
+
+import org.jboss.messaging.jdbc.hb.dto.JBMMessageReferencePK;
+import org.jboss.messaging.jdbc.hb.dto.JBMMessageReferencePOJO;
+
+/**
+ * MessageReferenceManager , an interface providing services related to JBM_MSG_REF 
+ *
+ * @author <a href="mailto:bershath at gmail.com">Tyronne Wickramarathne</a>
+ * @version $Revision: 1 $
+ */
+
+public interface MessageReferenceManager 
+{
+	
+	boolean addMessageReference(JBMMessageReferencePOJO jMessageReferencePOJO);
+	JBMMessageReferencePOJO updateMessageReference(JBMMessageReferencePOJO jMessageReferencePOJO);
+	boolean removeMessageReference(JBMMessageReferencePOJO jMessageReferencePOJO);
+	List<JBMMessageReferencePOJO> getPagedReferences(BigInteger channelId, int fromValue, int toValue);
+	List<JBMMessageReferencePOJO> getNonPagedReferences(BigInteger channelId);
+	List<JBMMessageReferencePOJO> getReferences();
+	boolean updateNonPagedReferences(List<JBMMessageReferencePOJO> nonPagedReferences);
+	List<JBMMessageReferencePOJO> getMinMaxByChannelId(BigInteger minValue,BigInteger maxValue);
+	List<JBMMessageReferencePOJO> getMessageReferencesByChannelId(BigInteger channelId);
+	JBMMessageReferencePOJO getMessageReference(JBMMessageReferencePOJO jMessageReferencePOJO);
+	boolean updateDeliveryCount(JBMMessageReferencePK messageReferencePK);
+	boolean updateChannelID(List<JBMMessageReferencePOJO> jBMMessageReferencePOJOs);
+	
+}


Property changes on: branches/Branch_Hibernate_Persistence/src/main/org/jboss/messaging/jdbc/hb/pm/src/org/jboss/messaging/jdbc/hb/factory/MessageReferenceManager.java
___________________________________________________________________
Name: svn:executable
   + *




More information about the jboss-cvs-commits mailing list