com.konakartadmin.app
Class AdminStore

java.lang.Object
  extended by com.konakartadmin.app.AdminStore

public class AdminStore
extends java.lang.Object

A KonaKart Store definition


Field Summary
private  java.lang.String adminEmail
          The value for the Admin Email field
private  java.lang.String cssFileName
          The value for the CSS file name field
private  java.lang.String custom1
          The value for the custom1 field
private  java.lang.String custom2
          The value for the custom2 field
private  java.lang.String custom3
          The value for the custom3 field
private  java.lang.String custom4
          The value for the custom4 field
private  java.lang.String custom5
          The value for the custom5 field
private  java.util.Date dateAdded
          The value for the dateAdded field
private  boolean deleted
          The value for the deleted field
private  boolean enabled
          The value for the mode field
private  java.util.Date lastUpdated
          The value for the lastUpdated field
private  boolean local
          Whether this store is "local"
private  java.lang.String logoFileName
          The value for the logo file name field
private  int maxProducts
          The value for the max_products field
private  java.lang.String storeDesc
          The value for the shopDescription field
private  java.lang.String storeHome
          The value for the storeHome field
private  java.lang.String storeId
          The value for the storeId field
private  java.lang.String storeName
          The value for the shopName field
private  java.lang.String storeUrl
          The value for the storeUrl field
private  boolean template
          The value for the template field
private  boolean underMaintenance
          The value for the mode field
 
Constructor Summary
AdminStore()
          Empty Constructor
AdminStore(com.workingdogs.village.Record vr, org.apache.torque.util.Criteria c)
          Instantiates the attributes of the AdminShop object from a Record object
 
Method Summary
 java.lang.String getAdminEmail()
           
 java.lang.String getCssFileName()
           
 java.lang.String getCustom1()
           
 java.lang.String getCustom2()
           
 java.lang.String getCustom3()
           
 java.lang.String getCustom4()
           
 java.lang.String getCustom5()
           
 java.util.Date getDateAdded()
           
 java.util.Date getLastUpdated()
           
 java.lang.String getLogoFileName()
           
 int getMaxProducts()
           
 java.lang.String getStoreDesc()
           
 java.lang.String getStoreHome()
           
 java.lang.String getStoreId()
          Used in multi-store mode to configure the engine to use the correct store.
 java.lang.String getStoreName()
           
 java.lang.String getStoreUrl()
           
 boolean isDeleted()
           
 boolean isEnabled()
           
 boolean isLocal()
           
 boolean isTemplate()
           
 boolean isUnderMaintenance()
           
 void setAdminEmail(java.lang.String adminEmail)
           
 void setCssFileName(java.lang.String cssFileName)
           
 void setCustom1(java.lang.String custom1)
           
 void setCustom2(java.lang.String custom2)
           
 void setCustom3(java.lang.String custom3)
           
 void setCustom4(java.lang.String custom4)
           
 void setCustom5(java.lang.String custom5)
           
 void setDateAdded(java.util.Date dateAdded)
           
 void setDeleted(boolean deleted)
           
 void setEnabled(boolean enabled)
           
 void setLastUpdated(java.util.Date lastUpdated)
           
 void setLocal(boolean local)
           
 void setLogoFileName(java.lang.String logoFileName)
           
 void setMaxProducts(int maxProducts)
           
 void setStoreDesc(java.lang.String storeDesc)
           
 void setStoreHome(java.lang.String storeHome)
           
 void setStoreId(java.lang.String storeId)
          Used in multi-store mode to configure the engine to use the correct store.
 void setStoreName(java.lang.String storeName)
           
 void setStoreUrl(java.lang.String storeUrl)
           
 void setTemplate(boolean template)
           
 void setUnderMaintenance(boolean underMaintenance)
           
 java.lang.String toString()
           
 java.lang.String toStringBrief()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

storeId

private java.lang.String storeId
The value for the storeId field


storeName

private java.lang.String storeName
The value for the shopName field


storeDesc

private java.lang.String storeDesc
The value for the shopDescription field


logoFileName

private java.lang.String logoFileName
The value for the logo file name field


cssFileName

private java.lang.String cssFileName
The value for the CSS file name field


storeHome

private java.lang.String storeHome
The value for the storeHome field


storeUrl

private java.lang.String storeUrl
The value for the storeUrl field


custom1

private java.lang.String custom1
The value for the custom1 field


custom2

private java.lang.String custom2
The value for the custom2 field


custom3

private java.lang.String custom3
The value for the custom3 field


custom4

private java.lang.String custom4
The value for the custom4 field


custom5

private java.lang.String custom5
The value for the custom5 field


deleted

private boolean deleted
The value for the deleted field


enabled

private boolean enabled
The value for the mode field


underMaintenance

private boolean underMaintenance
The value for the mode field


lastUpdated

private java.util.Date lastUpdated
The value for the lastUpdated field


dateAdded

private java.util.Date dateAdded
The value for the dateAdded field


adminEmail

private java.lang.String adminEmail
The value for the Admin Email field


template

private boolean template
The value for the template field


maxProducts

private int maxProducts
The value for the max_products field


local

private boolean local
Whether this store is "local"

Constructor Detail

AdminStore

public AdminStore()
Empty Constructor


AdminStore

public AdminStore(com.workingdogs.village.Record vr,
                  org.apache.torque.util.Criteria c)
           throws com.workingdogs.village.DataSetException
Instantiates the attributes of the AdminShop object from a Record object

Parameters:
vr - Record containing data
c - Criteria containing column names
Throws:
com.workingdogs.village.DataSetException
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
Returns:
Returns a string containing the attributes of the OrderStatus object.

toStringBrief

public java.lang.String toStringBrief()
Returns:
Returns a string containing the attributes of the OrdersStatus object.

getStoreId

public java.lang.String getStoreId()
Used in multi-store mode to configure the engine to use the correct store.

Returns:
Returns the storeId.

setStoreId

public void setStoreId(java.lang.String storeId)
Used in multi-store mode to configure the engine to use the correct store.

Parameters:
storeId - The storeId to set.

getStoreName

public java.lang.String getStoreName()
Returns:
the shopName

setStoreName

public void setStoreName(java.lang.String storeName)
Parameters:
storeName - the shopName to set

isDeleted

public boolean isDeleted()
Returns:
the deleted

setDeleted

public void setDeleted(boolean deleted)
Parameters:
deleted - the deleted to set

getLastUpdated

public java.util.Date getLastUpdated()
Returns:
the lastUpdated

setLastUpdated

public void setLastUpdated(java.util.Date lastUpdated)
Parameters:
lastUpdated - the lastUpdated to set

getStoreDesc

public java.lang.String getStoreDesc()
Returns:
the storeDesc

setStoreDesc

public void setStoreDesc(java.lang.String storeDesc)
Parameters:
storeDesc - the storeDesc to set

getLogoFileName

public java.lang.String getLogoFileName()
Returns:
the logoFileName

setLogoFileName

public void setLogoFileName(java.lang.String logoFileName)
Parameters:
logoFileName - the logoFileName to set

getCssFileName

public java.lang.String getCssFileName()
Returns:
the cssFileName

setCssFileName

public void setCssFileName(java.lang.String cssFileName)
Parameters:
cssFileName - the cssFileName to set

isEnabled

public boolean isEnabled()
Returns:
the enabled

setEnabled

public void setEnabled(boolean enabled)
Parameters:
enabled - the enabled to set

isUnderMaintenance

public boolean isUnderMaintenance()
Returns:
the underMaintenance

setUnderMaintenance

public void setUnderMaintenance(boolean underMaintenance)
Parameters:
underMaintenance - the underMaintenance to set

getAdminEmail

public java.lang.String getAdminEmail()
Returns:
the adminEmail

setAdminEmail

public void setAdminEmail(java.lang.String adminEmail)
Parameters:
adminEmail - the adminEmail to set

isTemplate

public boolean isTemplate()
Returns:
the template

setTemplate

public void setTemplate(boolean template)
Parameters:
template - the template to set

getMaxProducts

public int getMaxProducts()
Returns:
the maxProducts

setMaxProducts

public void setMaxProducts(int maxProducts)
Parameters:
maxProducts - the maxProducts to set

getStoreHome

public java.lang.String getStoreHome()
Returns:
the storeHome

setStoreHome

public void setStoreHome(java.lang.String storeHome)
Parameters:
storeHome - the storeHome to set

getStoreUrl

public java.lang.String getStoreUrl()
Returns:
the storeUrl

setStoreUrl

public void setStoreUrl(java.lang.String storeUrl)
Parameters:
storeUrl - the storeUrl to set

getCustom1

public java.lang.String getCustom1()
Returns:
the custom1

setCustom1

public void setCustom1(java.lang.String custom1)
Parameters:
custom1 - the custom1 to set

getCustom2

public java.lang.String getCustom2()
Returns:
the custom2

setCustom2

public void setCustom2(java.lang.String custom2)
Parameters:
custom2 - the custom2 to set

getCustom3

public java.lang.String getCustom3()
Returns:
the custom3

setCustom3

public void setCustom3(java.lang.String custom3)
Parameters:
custom3 - the custom3 to set

getCustom4

public java.lang.String getCustom4()
Returns:
the custom4

setCustom4

public void setCustom4(java.lang.String custom4)
Parameters:
custom4 - the custom4 to set

getCustom5

public java.lang.String getCustom5()
Returns:
the custom5

setCustom5

public void setCustom5(java.lang.String custom5)
Parameters:
custom5 - the custom5 to set

isLocal

public boolean isLocal()
Returns:
the local

setLocal

public void setLocal(boolean local)
Parameters:
local - the local to set

getDateAdded

public java.util.Date getDateAdded()
Returns:
the dateAdded

setDateAdded

public void setDateAdded(java.util.Date dateAdded)
Parameters:
dateAdded - the dateAdded to set


Copyright © 2011 DS Data Systems UK Ltd.