com.elasticpath.service.catalogview.impl
Class SfSearchLogServiceImpl

java.lang.Object
  extended by com.elasticpath.service.impl.AbstractEpServiceImpl
      extended by com.elasticpath.service.impl.AbstractEpPersistenceServiceImpl
          extended by com.elasticpath.service.catalogview.impl.SfSearchLogServiceImpl
All Implemented Interfaces:
SfSearchLogService, EpPersistenceService, EpService

public class SfSearchLogServiceImpl
extends AbstractEpPersistenceServiceImpl
implements SfSearchLogService

A default implementation of SfSearchLogService.


Constructor Summary
SfSearchLogServiceImpl()
           
 
Method Summary
 SfSearchLog add(SfSearchLog log)
          Adds the given SfSearhLog.
 SfSearchLog get(long sfSearchLogUid)
          Gets the SfSearhLog indicated by the given Uid.
 java.lang.Object getObject(long uid)
          Generic load method for all persistable domain models.
 SfSearchLog load(long sfSearchLogUid)
          Loads the SfSearhLog indicated by the given Uid.
 void update(SfSearchLog log)
          Updates the given SfSearhLog.
 
Methods inherited from class com.elasticpath.service.impl.AbstractEpPersistenceServiceImpl
getPersistenceEngine, setPersistenceEngine
 
Methods inherited from class com.elasticpath.service.impl.AbstractEpServiceImpl
getElasticPath, setElasticPath
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.elasticpath.service.EpPersistenceService
getPersistenceEngine, setPersistenceEngine
 
Methods inherited from interface com.elasticpath.service.EpService
getElasticPath, setElasticPath
 

Constructor Detail

SfSearchLogServiceImpl

public SfSearchLogServiceImpl()
Method Detail

add

public SfSearchLog add(SfSearchLog log)
                throws EpServiceException
Adds the given SfSearhLog.

Specified by:
add in interface SfSearchLogService
Parameters:
log - the SfSearchLog to save
Returns:
the persisted instance of SfSearchLog
Throws:
EpServiceException - if there are any errors

get

public SfSearchLog get(long sfSearchLogUid)
                throws EpServiceException
Gets the SfSearhLog indicated by the given Uid.

Specified by:
get in interface SfSearchLogService
Parameters:
sfSearchLogUid - the uid of the SfSearhLog to load
Returns:
the SfSearhLog with the specified uid if it exists
Throws:
EpServiceException - if there is an error or the uid does not exist

getObject

public java.lang.Object getObject(long uid)
                           throws EpServiceException
Generic load method for all persistable domain models.

Specified by:
getObject in interface EpPersistenceService
Parameters:
uid - the persisted instance uid
Returns:
the persisted instance if exists, otherwise null
Throws:
EpServiceException - - in case of any errors

load

public SfSearchLog load(long sfSearchLogUid)
                 throws EpServiceException
Loads the SfSearhLog indicated by the given Uid.

Specified by:
load in interface SfSearchLogService
Parameters:
sfSearchLogUid - the uid of the SfSearhLog to load
Returns:
the SfSearhLog with the specified uid if it exists
Throws:
EpServiceException - if there is an error or the uid does not exist

update

public void update(SfSearchLog log)
            throws EpServiceException
Updates the given SfSearhLog.

Specified by:
update in interface SfSearchLogService
Parameters:
log - the SfSearhLog to update
Throws:
EpServiceException - if there are any errors