lumis.portal.serviceinstance
Class ServiceInstanceDependencyConfig

Package class diagram package ServiceInstanceDependencyConfig
java.lang.Object
  extended by lumis.portal.serviceinstance.ServiceInstanceDependencyConfig
All Implemented Interfaces:
Cloneable, ICloneableConfig<ServiceInstanceDependencyConfig>

@StableMinor(version="7.0",
             sinceVersion="4.0")
public class ServiceInstanceDependencyConfig
extends Object
implements ICloneableConfig<ServiceInstanceDependencyConfig>

Value class for dependency between service instances

Since:
4.0.0

Field Summary
static String DEPENDENCY_TYPE_DOCUMENT_REPOSITORY
           
static String DEPENDENCY_TYPE_IMAGE_REPOSITORY
          Deprecated. Since 7.0.0 replaced by DEPENDENCY_TYPE_MEDIA_REPOSITORY due to the replacement of the Image service by the Media service.
static String DEPENDENCY_TYPE_MEDIA_REPOSITORY
          Dependency type that corresponds to the media repository.
static String DEPENDENCY_TYPE_TAG_REPOSITORY
          The dependency type for tag repository.
 
Constructor Summary
ServiceInstanceDependencyConfig()
           
 
Method Summary
 ServiceInstanceDependencyConfig clone()
           
 void deserialize(Node serviceInstanceDependencyNode)
           
 String getDependencyType()
           
 String getDependentServiceInstanceId()
           
 String getId()
           
 String getServiceInstanceId()
           
 void serialize(ServiceInstanceDependencyConfig dependencyConfig, OutputStream outputStream)
           
 void setDependencyType(String dependencyType)
           
 void setDependentServiceInstanceId(String dependentServiceInstanceId)
           
 void setId(String id)
           
 void setServiceInstanceId(String serviceInstanceId)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEPENDENCY_TYPE_MEDIA_REPOSITORY

public static final String DEPENDENCY_TYPE_MEDIA_REPOSITORY
Dependency type that corresponds to the media repository. This dependency defines what service instance is the media repository of another service instance.

Since:
7.0.0
See Also:
Constant Field Values

DEPENDENCY_TYPE_IMAGE_REPOSITORY

@Deprecated
public static final String DEPENDENCY_TYPE_IMAGE_REPOSITORY
Deprecated. Since 7.0.0 replaced by DEPENDENCY_TYPE_MEDIA_REPOSITORY due to the replacement of the Image service by the Media service.
See Also:
Constant Field Values

DEPENDENCY_TYPE_DOCUMENT_REPOSITORY

public static final String DEPENDENCY_TYPE_DOCUMENT_REPOSITORY
See Also:
Constant Field Values

DEPENDENCY_TYPE_TAG_REPOSITORY

public static final String DEPENDENCY_TYPE_TAG_REPOSITORY
The dependency type for tag repository.

Since:
6.0.0
See Also:
Constant Field Values
Constructor Detail

ServiceInstanceDependencyConfig

public ServiceInstanceDependencyConfig()
Method Detail

getDependencyType

public String getDependencyType()

setDependencyType

public void setDependencyType(String dependencyType)

getDependentServiceInstanceId

public String getDependentServiceInstanceId()

setDependentServiceInstanceId

public void setDependentServiceInstanceId(String dependentServiceInstanceId)

getId

public String getId()

setId

public void setId(String id)

getServiceInstanceId

public String getServiceInstanceId()

setServiceInstanceId

public void setServiceInstanceId(String serviceInstanceId)

serialize

public void serialize(ServiceInstanceDependencyConfig dependencyConfig,
                      OutputStream outputStream)
               throws UnexpectedException
Throws:
UnexpectedException

deserialize

public void deserialize(Node serviceInstanceDependencyNode)
                 throws PortalException
Throws:
PortalException

clone

public ServiceInstanceDependencyConfig clone()
                                      throws CloneNotSupportedException
Specified by:
clone in interface ICloneableConfig<ServiceInstanceDependencyConfig>
Overrides:
clone in class Object
Throws:
CloneNotSupportedException


Lumisportal  7.0.0.121130 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.