Package lumis.portal.channel.template
Class ChannelTemplateLinkConfig
- java.lang.Object
-
- lumis.portal.channel.template.ChannelTemplateLinkConfig
-
- All Implemented Interfaces:
Cloneable
,ICloneableConfig<ChannelTemplateLinkConfig>
public class ChannelTemplateLinkConfig extends Object implements Cloneable, ICloneableConfig<ChannelTemplateLinkConfig>
Information of the link of a channel template resource.- Since:
- 4.0.0
- Version:
- $Revision: 14168 $ $Date: 2012-03-30 15:31:45 -0300 (Fri, 30 Mar 2012) $
-
-
Field Summary
Fields Modifier and Type Field Description static Object[][]
aclDependencies
static Object[][]
channelDependencies
static Object[][][]
elementsDependenciesReplacement
static int[]
elementsTypeOrder
static Object[][]
localGroupDependencies
static Object[][]
pageDependencies
static Object[][]
serviceInstanceDependencies
static Object[][]
serviceInstanceDependencyDependencies
static Object[][]
serviceInterfaceDependencies
static int
TYPE_ACL
static int
TYPE_CHANNEL
static int
TYPE_LOCAL_GROUP
static int
TYPE_PAGE
static int
TYPE_SERVICE_INSTANCE
static int
TYPE_SERVICE_INSTANCE_CUSTOM_PROPERTIES
Deprecated.static int
TYPE_SERVICE_INSTANCE_DEPENDENCY
static int
TYPE_SERVICE_INTERFACE_INSTANCE
static int
TYPE_SERVICE_INTERFACE_INSTANCE_CUSTOM_PROPERTIES
Deprecated.
-
Constructor Summary
Constructors Constructor Description ChannelTemplateLinkConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChannelTemplateLinkConfig
clone()
void
deserialize(Node channelNode)
String
getDestinationChannelId()
String
getDestinationId()
String
getId()
int
getItemType()
String
getSourceId()
String
getTemplateChannelId()
boolean
isIdentical(ChannelTemplateLinkConfig channelTemplateLinkConfig)
Returns true if all properties of this object are equals to the properties of the given object.boolean
isLinked()
void
serialize(OutputStream outputStream)
void
setDestinationChannelId(String destinationChannelId)
void
setDestinationId(String destinationId)
void
setId(String id)
void
setItemType(int itemType)
void
setLinked(boolean linked)
void
setSourceId(String sourceId)
void
setTemplateChannelId(String templateChannelId)
-
-
-
Field Detail
-
TYPE_ACL
public static final int TYPE_ACL
- See Also:
- Constant Field Values
-
TYPE_CHANNEL
public static final int TYPE_CHANNEL
- See Also:
- Constant Field Values
-
TYPE_LOCAL_GROUP
public static final int TYPE_LOCAL_GROUP
- See Also:
- Constant Field Values
-
TYPE_SERVICE_INSTANCE
public static final int TYPE_SERVICE_INSTANCE
- See Also:
- Constant Field Values
-
TYPE_PAGE
public static final int TYPE_PAGE
- See Also:
- Constant Field Values
-
TYPE_SERVICE_INTERFACE_INSTANCE
public static final int TYPE_SERVICE_INTERFACE_INSTANCE
- See Also:
- Constant Field Values
-
TYPE_SERVICE_INSTANCE_CUSTOM_PROPERTIES
@Deprecated public static final int TYPE_SERVICE_INSTANCE_CUSTOM_PROPERTIES
Deprecated.- See Also:
- Constant Field Values
-
TYPE_SERVICE_INTERFACE_INSTANCE_CUSTOM_PROPERTIES
@Deprecated public static final int TYPE_SERVICE_INTERFACE_INSTANCE_CUSTOM_PROPERTIES
Deprecated.- See Also:
- Constant Field Values
-
TYPE_SERVICE_INSTANCE_DEPENDENCY
public static final int TYPE_SERVICE_INSTANCE_DEPENDENCY
- See Also:
- Constant Field Values
-
elementsTypeOrder
public static final int[] elementsTypeOrder
-
aclDependencies
public static final Object[][] aclDependencies
-
channelDependencies
public static final Object[][] channelDependencies
-
localGroupDependencies
public static final Object[][] localGroupDependencies
-
serviceInstanceDependencies
public static final Object[][] serviceInstanceDependencies
-
pageDependencies
public static final Object[][] pageDependencies
-
serviceInterfaceDependencies
public static final Object[][] serviceInterfaceDependencies
-
serviceInstanceDependencyDependencies
public static final Object[][] serviceInstanceDependencyDependencies
-
elementsDependenciesReplacement
public static final Object[][][] elementsDependenciesReplacement
-
-
Method Detail
-
getDestinationChannelId
public String getDestinationChannelId()
-
setDestinationChannelId
public void setDestinationChannelId(String destinationChannelId)
-
getDestinationId
public String getDestinationId()
-
setDestinationId
public void setDestinationId(String destinationId)
-
getId
public String getId()
-
setId
public void setId(String id)
-
getItemType
public int getItemType()
-
setItemType
public void setItemType(int itemType)
-
isLinked
public boolean isLinked()
-
setLinked
public void setLinked(boolean linked)
-
getSourceId
public String getSourceId()
-
setSourceId
public void setSourceId(String sourceId)
-
getTemplateChannelId
public String getTemplateChannelId()
-
setTemplateChannelId
public void setTemplateChannelId(String templateChannelId)
-
serialize
public void serialize(OutputStream outputStream) throws PortalException
- Throws:
PortalException
-
deserialize
public void deserialize(Node channelNode) throws PortalException
- Throws:
PortalException
-
clone
public ChannelTemplateLinkConfig clone() throws CloneNotSupportedException
- Specified by:
clone
in interfaceICloneableConfig<ChannelTemplateLinkConfig>
- Overrides:
clone
in classObject
- Throws:
CloneNotSupportedException
-
isIdentical
public boolean isIdentical(ChannelTemplateLinkConfig channelTemplateLinkConfig)
Returns true if all properties of this object are equals to the properties of the given object.- Parameters:
channelTemplateLinkConfig
- the object to compare the properties with.- Returns:
- true if the properties are equal, false otherwise.
- Since:
- 5.6.0
-
-