public class ScriptTagServiceImpl extends java.lang.Object implements ScriptTagService
Modifier and Type | Field and Description |
---|---|
private OAuth2AppInstallationService |
oAuth2AppInstallationService |
private javax.inject.Provider<ScriptTagRepository> |
scriptTagRepository |
Constructor and Description |
---|
ScriptTagServiceImpl(javax.inject.Provider<ScriptTagRepository> scriptTagRepository,
OAuth2AppInstallationService oAuth2AppInstallationService) |
Modifier and Type | Method and Description |
---|---|
ScriptTagEntity |
createScriptTag(GUID shopGuid,
ScriptTagEntity scriptTag,
java.lang.String token) |
private javax.ws.rs.WebApplicationException |
createWebApplicationException(javax.ws.rs.core.Response.Status status,
java.lang.String message) |
void |
delete(GUID shopGuid,
GUID scriptTagId,
java.lang.String token) |
java.util.List<ScriptTagEntity> |
getScriptTagsByShop(GUID shopGuid,
java.lang.String token,
boolean myScriptTagsOnly) |
private final javax.inject.Provider<ScriptTagRepository> scriptTagRepository
private final OAuth2AppInstallationService oAuth2AppInstallationService
@Inject public ScriptTagServiceImpl(javax.inject.Provider<ScriptTagRepository> scriptTagRepository, OAuth2AppInstallationService oAuth2AppInstallationService)
public ScriptTagEntity createScriptTag(GUID shopGuid, ScriptTagEntity scriptTag, java.lang.String token)
createScriptTag
in interface ScriptTagService
public java.util.List<ScriptTagEntity> getScriptTagsByShop(GUID shopGuid, java.lang.String token, boolean myScriptTagsOnly)
getScriptTagsByShop
in interface ScriptTagService
public void delete(GUID shopGuid, GUID scriptTagId, java.lang.String token)
delete
in interface ScriptTagService
private javax.ws.rs.WebApplicationException createWebApplicationException(javax.ws.rs.core.Response.Status status, java.lang.String message)