add second constructor
[jSite2.git] / src / net / pterodactylus / jsite / core / Insert.java
index d1cc366..019dcde 100644 (file)
@@ -35,6 +35,20 @@ public class Insert extends Request {
        private long endTime;
 
        /**
+        * Creates a new insert that starts now.
+        * 
+        * @param project
+        *            The project that is inserted
+        * @param node
+        *            The node the project is inserted to
+        * @param identifier
+        *            The identifier of the insert request
+        */
+       public Insert(Project project, Node node, String identifier) {
+               this(project, node, identifier, System.currentTimeMillis());
+       }
+
+       /**
         * Creates a new insert.
         * 
         * @param project