public class PlatformCommandServiceImpl extends java.lang.Object implements PlatformCommandService
| Constructor and Description |
|---|
PlatformCommandServiceImpl(PersistenceService platformPersistenceService,
TechnicalLoggerService logger) |
| Modifier and Type | Method and Description |
|---|---|
void |
create(SPlatformCommand platformCommand)
Create a sPlatformCommand
|
void |
delete(java.lang.String platformCommandName)
Delete a sPlatformCommand from its name
|
void |
deleteAll()
Delete all sPlatformCommands
|
void |
deletePlatformCommand(SPlatformCommand sPlatformCommand) |
SPlatformCommand |
getPlatformCommand(java.lang.String platformCommandName)
Get sPlatformCommand by its name
|
java.util.List<SPlatformCommand> |
getPlatformCommands(QueryOptions queryOptions)
Get the sPlatformCommand having the given value for the given int index
|
void |
update(SPlatformCommand platformCommand,
EntityUpdateDescriptor updateDescriptor)
Update a sPlatformCommand with given sPlatformCommand and new content.
|
public PlatformCommandServiceImpl(PersistenceService platformPersistenceService, TechnicalLoggerService logger)
public void create(SPlatformCommand platformCommand) throws SPlatformCommandAlreadyExistsException, SPlatformCommandCreationException, SPlatformCommandGettingException
PlatformCommandServicecreate in interface PlatformCommandServiceSPlatformCommandAlreadyExistsException - occurs when the sPlatformCommand has already been takenSPlatformCommandCreationException - occurs when an exception is thrown during sPlatformCommand creationSPlatformCommandGettingException - occurs when an exception is thrown during getting sPlatformCommandpublic void deletePlatformCommand(SPlatformCommand sPlatformCommand) throws SPlatformCommandDeletionException
public void delete(java.lang.String platformCommandName)
throws SPlatformCommandNotFoundException,
SPlatformCommandDeletionException,
SPlatformCommandGettingException
PlatformCommandServicedelete in interface PlatformCommandServiceplatformCommandName - the platform nameSPlatformCommandNotFoundException - occurs when the identifier does not refer to an existing sPlatformCommandSPlatformCommandDeletionException - occurs when an exception is thrown during sPlatformCommand creationSPlatformCommandGettingException - occurs when an exception is thrown during getting sPlatformCommandpublic void deleteAll()
throws SPlatformCommandDeletionException
PlatformCommandServicedeleteAll in interface PlatformCommandServiceSPlatformCommandDeletionException - occurs when an exception is thrown during sPlatformCommand creationpublic java.util.List<SPlatformCommand> getPlatformCommands(QueryOptions queryOptions) throws SPlatformCommandGettingException
PlatformCommandServicegetPlatformCommands in interface PlatformCommandServicequeryOptions - criteriaSPlatformCommandGettingException - occurs when an exception is thrown during getting sPlatformCommandpublic SPlatformCommand getPlatformCommand(java.lang.String platformCommandName) throws SPlatformCommandNotFoundException, SPlatformCommandGettingException
PlatformCommandServicegetPlatformCommand in interface PlatformCommandServiceSPlatformCommandNotFoundException - occurs when the identifier does not refer to an existing sPlatformCommandSPlatformCommandGettingException - occurs when an exception is thrown during getting sPlatformCommandpublic void update(SPlatformCommand platformCommand, EntityUpdateDescriptor updateDescriptor) throws SPlatformCommandUpdateException
PlatformCommandServiceupdate in interface PlatformCommandServiceSPlatformCommandUpdateException - occurs when an exception is thrown during sPlatformCommand update