@Service public class ServiceOperationsImpl extends Object implements ServiceOperations
ServiceOperations.| Constructor and Description |
|---|
ServiceOperationsImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAllServices(org.springframework.roo.model.JavaPackage apiPackage,
org.springframework.roo.model.JavaPackage implPackage)
Generates new services interface and its implementations for every domain
entity of generated project
|
void |
addService(org.springframework.roo.model.JavaType domainType,
org.springframework.roo.model.JavaType interfaceType,
org.springframework.roo.model.JavaType implType)
Generates new service interface and its implementation for some specific
domain entity.
|
void |
addService(org.springframework.roo.model.JavaType domainType,
org.springframework.roo.model.JavaType repositoryType,
org.springframework.roo.model.JavaType interfaceType,
org.springframework.roo.model.JavaType implType)
Generates new service interface and its implementation for some specific
domain entity and repository.
|
boolean |
areServiceCommandsAvailable()
Check if developer is able to use 'service' commands
|
public boolean areServiceCommandsAvailable()
ServiceOperationsareServiceCommandsAvailable in interface ServiceOperationspublic void addAllServices(org.springframework.roo.model.JavaPackage apiPackage,
org.springframework.roo.model.JavaPackage implPackage)
ServiceOperationsaddAllServices in interface ServiceOperationspublic void addService(org.springframework.roo.model.JavaType domainType,
org.springframework.roo.model.JavaType interfaceType,
org.springframework.roo.model.JavaType implType)
ServiceOperationsaddService in interface ServiceOperationsdomainType - entity related with serviceinterfaceType - service interface to generateimplType - service implementation to generate.public void addService(org.springframework.roo.model.JavaType domainType,
org.springframework.roo.model.JavaType repositoryType,
org.springframework.roo.model.JavaType interfaceType,
org.springframework.roo.model.JavaType implType)
ServiceOperationsaddService in interface ServiceOperationsdomainType - entity related with servicerepositoryType - repository related with serviceinterfaceType - service interface to generateimplType - service implementation to generate.Copyright © 2009–2016. All rights reserved.