com.elasticpath.domain.search.impl
Class SfSearchLogImpl

java.lang.Object
  extended by com.elasticpath.domain.impl.AbstractEpDomainImpl
      extended by com.elasticpath.domain.impl.AbstractPersistenceImpl
          extended by com.elasticpath.domain.search.impl.SfSearchLogImpl
All Implemented Interfaces:
EpDomain, Persistence, SfSearchLog, java.io.Serializable

public class SfSearchLogImpl
extends AbstractPersistenceImpl
implements SfSearchLog

The default implementation of SfSearchLog.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.elasticpath.domain.impl.AbstractPersistenceImpl
serialVersionUID
 
Constructor Summary
SfSearchLogImpl()
           
 
Method Summary
 long getCategoryRestriction()
          Gets the category restriction for this search.
 java.lang.String getKeywords()
          Gets the keywords that were used to search.
 int getResultCount()
          Gets the number of results returned by the search.
 java.util.Date getSearchTime()
          Returns the date that this search was executed.
 boolean getSuggestionsGenerated()
          Gets whether or not suggestions were generated for this search.
 void setCategoryRestriction(long categoryRestriction)
          Sets the category restriction for this search.
 void setKeywords(java.lang.String keywords)
          Sets the keywords that were used to search.
 void setResultCount(int resultCount)
          Sets the number of results returned by the search.
 void setSearchTime(java.util.Date searchTime)
          Sets the date that this search was executed.
 void setSuggestionsGenerated(boolean suggestionsGenerated)
          Sets whether or not suggestions were generated for this search.
 
Methods inherited from class com.elasticpath.domain.impl.AbstractPersistenceImpl
executeBeforePersistAction, getUidPk, isPersistent, setDefaultValues, setUidPk
 
Methods inherited from class com.elasticpath.domain.impl.AbstractEpDomainImpl
getElasticPath, setElasticPath
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.elasticpath.domain.Persistence
executeBeforePersistAction, getUidPk, isPersistent, setDefaultValues, setUidPk
 
Methods inherited from interface com.elasticpath.domain.EpDomain
getElasticPath, setElasticPath
 

Constructor Detail

SfSearchLogImpl

public SfSearchLogImpl()
Method Detail

getCategoryRestriction

public long getCategoryRestriction()
Gets the category restriction for this search.

Specified by:
getCategoryRestriction in interface SfSearchLog
Returns:
the category restriction for this search

getKeywords

public java.lang.String getKeywords()
Gets the keywords that were used to search.

Specified by:
getKeywords in interface SfSearchLog
Returns:
the keywords that were used to search

getResultCount

public int getResultCount()
Gets the number of results returned by the search.

Specified by:
getResultCount in interface SfSearchLog
Returns:
the number of results returned by the search

getSearchTime

public java.util.Date getSearchTime()
Returns the date that this search was executed.

Specified by:
getSearchTime in interface SfSearchLog
Returns:
the date this search was executed

getSuggestionsGenerated

public boolean getSuggestionsGenerated()
Gets whether or not suggestions were generated for this search.

Specified by:
getSuggestionsGenerated in interface SfSearchLog
Returns:
whether or not suggestions were generated for this search

setCategoryRestriction

public void setCategoryRestriction(long categoryRestriction)
Sets the category restriction for this search.

Specified by:
setCategoryRestriction in interface SfSearchLog
Parameters:
categoryRestriction - the category restriction for this search

setKeywords

public void setKeywords(java.lang.String keywords)
Sets the keywords that were used to search.

Specified by:
setKeywords in interface SfSearchLog
Parameters:
keywords - the keywords that were used to search

setResultCount

public void setResultCount(int resultCount)
Sets the number of results returned by the search.

Specified by:
setResultCount in interface SfSearchLog
Parameters:
resultCount - the number of results returned by the search

setSearchTime

public void setSearchTime(java.util.Date searchTime)
Sets the date that this search was executed.

Specified by:
setSearchTime in interface SfSearchLog
Parameters:
searchTime - the date this search was executed

setSuggestionsGenerated

public void setSuggestionsGenerated(boolean suggestionsGenerated)
Sets whether or not suggestions were generated for this search.

Specified by:
setSuggestionsGenerated in interface SfSearchLog
Parameters:
suggestionsGenerated - whether or not suggestions were generated for this search