com.elasticpath.service.catalogview
Interface SfSearchLogService

All Superinterfaces:
EpPersistenceService, EpService
All Known Implementing Classes:
SfSearchLogServiceImpl

public interface SfSearchLogService
extends EpPersistenceService

A description of an interface that persists and retrieves SfSearchLog objects.


Method Summary
 SfSearchLog add(SfSearchLog log)
          Adds the given SfSearhLog.
 SfSearchLog get(long sfSearchLogUid)
          Gets the SfSearhLog indicated by the given Uid.
 SfSearchLog load(long sfSearchLogUid)
          Loads the SfSearhLog indicated by the given Uid.
 void update(SfSearchLog log)
          Updates the given SfSearhLog.
 
Methods inherited from interface com.elasticpath.service.EpPersistenceService
getObject, getPersistenceEngine, setPersistenceEngine
 
Methods inherited from interface com.elasticpath.service.EpService
getElasticPath, setElasticPath
 

Method Detail

add

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

Parameters:
log - the SfSearchLog to save
Returns:
the persisted instance of SfSearchLog
Throws:
EpServiceException - if there are any errors

get

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

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

load

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

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

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

Parameters:
log - the SfSearhLog to update
Throws:
EpServiceException - if there are any errors