Package lumis.portal.serviceinstance
Class ServiceInstanceDependencyConfig
- java.lang.Object
-
- lumis.portal.serviceinstance.ServiceInstanceDependencyConfig
-
- All Implemented Interfaces:
Cloneable
,ICloneableConfig<ServiceInstanceDependencyConfig>
@StableMinor(version="14.1", sinceVersion="4.0") public class ServiceInstanceDependencyConfig extends Object implements ICloneableConfig<ServiceInstanceDependencyConfig>
Value class for dependency between service instances- Since:
- 4.0.0
- Version:
- $Revision: 24683 $ $Date: 2021-08-23 18:55:58 -0300 (Mon, 23 Aug 2021) $
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEPENDENCY_TYPE_CATEGORIZATION_REPOSITORY
Dependency type that corresponds to the categorization repository.static String
DEPENDENCY_TYPE_DOCUMENT_REPOSITORY
static String
DEPENDENCY_TYPE_EMAIL_TEMPLATE_REPOSITORY
The dependency type for email template repository.static String
DEPENDENCY_TYPE_IMAGE_REPOSITORY
Deprecated.Since 7.0.0 replaced byDEPENDENCY_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.static String
DEPENDENCY_TYPE_WIDGET_REPOSITORY
Dependency type that corresponds to the widget repository.
-
Constructor Summary
Constructors Constructor Description ServiceInstanceDependencyConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)
-
-
-
Field Detail
-
DEPENDENCY_TYPE_CATEGORIZATION_REPOSITORY
public static final String DEPENDENCY_TYPE_CATEGORIZATION_REPOSITORY
Dependency type that corresponds to the categorization repository. This dependency defines what service instance is the categorization repository of another service instance.- See Also:
- Constant Field Values
-
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_WIDGET_REPOSITORY
public static final String DEPENDENCY_TYPE_WIDGET_REPOSITORY
Dependency type that corresponds to the widget repository. This dependency defines what service instance is the categorization repository of another service instance.- Since:
- 10.4.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 byDEPENDENCY_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
-
DEPENDENCY_TYPE_EMAIL_TEMPLATE_REPOSITORY
public static final String DEPENDENCY_TYPE_EMAIL_TEMPLATE_REPOSITORY
The dependency type for email template repository.- Since:
- 11.2.0
- See Also:
- Constant Field Values
-
-
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 interfaceICloneableConfig<ServiceInstanceDependencyConfig>
- Overrides:
clone
in classObject
- Throws:
CloneNotSupportedException
-
-