lumis.portal.serviceinstance
Interface IServiceInstanceManagerSPI

Package class diagram package IServiceInstanceManagerSPI
All Superinterfaces:
IConfigDeleter, IConfigKeyChecker, IServiceInstanceManager
All Known Implementing Classes:
ServiceInstanceManager

public interface IServiceInstanceManagerSPI
extends IServiceInstanceManager

/** Manager Interface for Service Instance internal operations.

Since:
6.1.0

Method Summary
 boolean existsRestShortName(java.lang.String restShortName, java.lang.String serviceInstanceIdToIgnore, ITransaction transaction)
          Verify if a given name exists.
 ServiceInstanceConfig getByRestShortName(java.lang.String restShortName, ITransaction transaction)
          Get the service's instance by rest short name.
 
Methods inherited from interface lumis.portal.serviceinstance.IServiceInstanceManager
add, add, addOrUpdate, addOrUpdate, clearServiceInstanceCache, delete, deleteCustomProperties, deleteCustomProperty, deserialize, deserializeCustomProperties, deserializeDependency, findServiceInstanceThroughChannelTree, get, getCustomProperties, getCustomProperty, getDependency, getDependencyIdsByServiceInstanceId, getDependentServiceInstanceIds, getDependentServiceInstances, getIds, getIdsByChannelId, getIdsByChannelTree, getIdsByServiceId, getServiceInstanceByDependency, serialize, serializeCustomProperties, serializeDependencies, setCustomProperties, setCustomProperty, setServiceInstanceDependency, update
 
Methods inherited from interface lumis.portal.serialization.operation.IConfigDeleter
deleteConfig
 
Methods inherited from interface lumis.portal.serialization.operation.IConfigKeyChecker
keyExists
 

Method Detail

existsRestShortName

boolean existsRestShortName(java.lang.String restShortName,
                            java.lang.String serviceInstanceIdToIgnore,
                            ITransaction transaction)
                            throws PortalException
Verify if a given name exists.

Parameters:
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.
Returns:
true if the name exists otherwise false.
Throws:
PortalException - if any other error occurs during the process.

getByRestShortName

ServiceInstanceConfig getByRestShortName(java.lang.String restShortName,
                                         ITransaction transaction)
                                         throws PortalException
Get the service's instance by rest short name.

Parameters:
restShortName - rest short name of the service instance.
transaction - transaction used to perform the query.
Returns:
the serviceInstanceConfig that represents the service instance.
Throws:
PortalException - if any other error occurs during the process.


Lumisportal  6.1.0.111014 - Copyright © 2001-2007, Lumis. All Rights Reserved.