]> git.mxchange.org Git - core.git/blobdiff - inc/classes/interfaces/criteria/extended/class_StoreableCriteria.php
Added a public methods to interface + some logger messages.
[core.git] / inc / classes / interfaces / criteria / extended / class_StoreableCriteria.php
index 5c3f9fb0ba5e252fdf155cab49d812a36e3f4804..b33d7dab5a6bfd08867715266170bcc33664746d 100644 (file)
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 interface StoreableCriteria extends Criteria {
+       /**
+        * Setter for table name
+        *
+        * @param       $tableName      Name of the table to set
+        * @return      void
+        */
+       function setTableName ($tableName);
+
+       /**
+        * Getter for table name
+        *
+        * @return      $tableName      Name of the table to set
+        */
+       function getTableName ();
+
+       /**
+        * Setter for unique key
+        *
+        * @param       $uniqueKey      Column to use as unique key
+        * @return      void
+        */
+       function setUniqueKey ($uniqueKey);
+
+       /**
+        * Getter for unique key
+        *
+        * @return      $uniqueKey      Column to use as unique key
+        */
+       function getUniqueKey ();
+
+       /**
+        * Getter for unique key value
+        *
+        * @return      $uniqueValue    Value of the unique key
+        */
+       function getUniqueValue ();
+
+       /**
+        * Getter for primary key or unique key if not set
+        *
+        * @return      $primaryKey             Primary key or unique key if not set
+        */
+       function getPrimaryKey ();
+
+       /**
+        * Setter for primary key
+        *
+        * @param       $primaryKey             Primary key to set
+        * @return      void
+        */
+       function setPrimaryKey ($primaryKey);
 }
 
 // [EOF]