public interface IServiceInstanceManagerSPI extends IServiceInstanceManager
Modifier and Type | Method and Description |
---|---|
void |
clearAppropriateAutoAdministrationsPerPageIdCache(ServiceInstanceConfig serviceInstanceConfig,
ITransaction transaction)
Clears the entry in the cacheAutoAdministrationPageIds cache if the service config is an instance of a an auto-administration service.
|
boolean |
existsRestShortName(String restShortName,
String serviceInstanceIdToIgnore,
ITransaction transaction)
Verify if a given name exists.
|
ServiceInstanceConfig |
getByRestShortName(String restShortName,
ITransaction transaction)
Get the service's instance by rest short name.
|
String |
getMenuXml(String serviceInstanceId)
Returns the configuration menu in XML for a service instance.
|
Collection<String> |
getServiceInstancesIdsByAutoAdminPageId(String pageId,
ITransaction transaction)
Returns the service instance ids that use the indicated page id as the auto administration page.
|
boolean |
isGoogleAnalyticsEnabled(ServiceInstanceConfig serviceInstanceConfig)
Returns whether the Google Analytics is enable in the given service instance.
|
Boolean |
isGoogleAnalyticsEnabledLocal(ServiceInstanceConfig serviceInstanceConfig)
Returns whether the Google Analytics is enable in the given service instance or
null if this property is inherited. |
void |
serializeFileTransformations(SessionConfig sessionConfig,
String serviceInstanceId,
OutputStream outputStream,
ITransaction transaction)
serialize a fileTransformation to be used in a new channel created from channel template.
|
void |
setGoogleAnalyticsEnable(Boolean enabled,
ServiceInstanceConfig serviceInstanceConfig)
Sets whether the Google Analytics is enable in the given service instance.
|
add, add, addOrUpdate, addOrUpdate, clearServiceInstanceCache, delete, deleteCustomProperties, deleteCustomProperty, deserialize, deserializeCustomProperties, deserializeDependency, findServiceInstanceThroughChannelTree, get, getCustomProperties, getCustomProperty, getDependency, getDependencyIdsByServiceInstanceId, getDependentServiceInstanceIds, getDependentServiceInstances, getIds, getIdsByChannelId, getIdsByChannelTree, getIdsByChannelTreeAndAreaTags, getIdsByServiceId, getServiceInstanceByDependency, getServiceInstancesByDependency, serialize, serializeCustomProperties, serializeDependencies, setCustomProperties, setCustomProperty, setServiceInstanceDependency, update
deleteConfig
keyExists
boolean existsRestShortName(String restShortName, String serviceInstanceIdToIgnore, ITransaction transaction) throws PortalException
restShortName
- rest short name of the service instance.serviceInstanceIdToIgnore
- service instance id that will
not include on the search.transaction
- transaction used to perform the query.PortalException
- if any other error occurs during the process.ServiceInstanceConfig getByRestShortName(String restShortName, ITransaction transaction) throws PortalException
restShortName
- rest short name of the service instance.transaction
- transaction used to perform the query.PortalException
- if any other error occurs during the process.void serializeFileTransformations(SessionConfig sessionConfig, String serviceInstanceId, OutputStream outputStream, ITransaction transaction) throws ManagerException, PortalException
sessionConfig
- user session information.serviceInstanceId
- new serviceInstance´s idoutputStream
- the outputstream to serialize the data to.transaction
- transaction used to perform the query.ManagerException
- if an error occurs during the processPortalException
- if an error occurs during the processCollection<String> getServiceInstancesIdsByAutoAdminPageId(String pageId, ITransaction transaction) throws PortalException
pageId
- to be looked fortransaction
- PortalException
void clearAppropriateAutoAdministrationsPerPageIdCache(ServiceInstanceConfig serviceInstanceConfig, ITransaction transaction) throws PortalException
serviceInstanceConfig
- service instance to be evaluated.transaction
- under which the method should happen.PortalException
String getMenuXml(String serviceInstanceId) throws PortalException
serviceInstanceId
- the service instance identifier.PortalException
- if the menu could not be generated.Boolean isGoogleAnalyticsEnabledLocal(ServiceInstanceConfig serviceInstanceConfig) throws PortalException
null
if this property is inherited.serviceInstanceConfig
- the service instance the information will be read from.null
if this property is inherited.PortalException
boolean isGoogleAnalyticsEnabled(ServiceInstanceConfig serviceInstanceConfig) throws PortalException
serviceInstanceConfig
- the service instance the information will be read from.PortalException
void setGoogleAnalyticsEnable(Boolean enabled, ServiceInstanceConfig serviceInstanceConfig) throws PortalException
enabled
- the value or null
to indicate the value should be inherited.serviceInstanceConfig
- the service instance the information will be set to.PortalException
LumisXP 12.2.0.200122 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.