Package lumis.portal.deployment.process
Class BusinessContextObject
- java.lang.Object
-
- lumis.portal.deployment.process.BusinessContextObject
-
- All Implemented Interfaces:
Serializable
,IDeployObject
public class BusinessContextObject extends Object
Business context object.- Since:
- 8.1.0
- Version:
- $Revision: 17593 $ $Date: 2015-07-17 11:21:36 -0300 (Fri, 17 Jul 2015) $
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface lumis.portal.deployment.process.IDeployObject
IDeployObject.ObjectType
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
accumulateChecksum()
Indicates whether the checksum of this object should accumulate the subtree.IDeployObject
find(String id, IDeployObject.ObjectType objectType, EnumSet<IDeployObject.ObjectType> allowedInnerObjects)
Finds the object with the given identifier of the given type in subtree.Collection<IDeployObject>
find(IDeployObject.ObjectType type, EnumSet<IDeployObject.ObjectType> allowedInnerObjects)
Find all objects of the given type in subtree, but discards subtrees when their root type is not contained in the given set.String
getChecksum()
Returns the checksum of this object.<T extends lumis.portal.deployment.process.IChecksumListener>
TgetChecksumListener()
Returns the checksum listener of this object.String
getDefinitionXML()
Returns the definition XML.String
getId()
Returns the identifier of this object.Collection<IDeployObject>
getInnerObjects()
Returns a collection with the inner objects.String
getName()
Returns the context name.IDeployObject.ObjectType
getType()
Returns the type of this object.boolean
isStoreChecksum()
Indicates whether the checksum of this object should be stored.IDeployObject
setChecksum(String checksum)
Sets the checksum of this object.<T extends lumis.portal.deployment.process.IChecksumListener>
IDeployObjectsetChecksumListener(T listener)
Sets the checksum listener of this object.IDeployObject
setId(String id)
Sets the identifier of this object.IDeployObject
setStoreChecksum(boolean isStoreChecksum)
Sets whether the checksum of this object should be stored.String
toString()
-
-
-
Method Detail
-
getName
public String getName()
Returns the context name.- Returns:
- the context name.
- Since:
- 8.1.0
-
getDefinitionXML
public String getDefinitionXML()
Returns the definition XML.- Returns:
- the definition XML.
- Since:
- 8.1.0
-
getId
public String getId()
Description copied from interface:IDeployObject
Returns the identifier of this object.- Specified by:
getId
in interfaceIDeployObject
- Returns:
- the identifier of this object.
-
setId
public IDeployObject setId(String id)
Description copied from interface:IDeployObject
Sets the identifier of this object.- Specified by:
setId
in interfaceIDeployObject
- Parameters:
id
- the identifier of this object.- Returns:
- this object.
-
getInnerObjects
public Collection<IDeployObject> getInnerObjects()
Description copied from interface:IDeployObject
Returns a collection with the inner objects.- Specified by:
getInnerObjects
in interfaceIDeployObject
- Returns:
- a collection with the inner objects.
-
getChecksum
public String getChecksum()
Description copied from interface:IDeployObject
Returns the checksum of this object.- Specified by:
getChecksum
in interfaceIDeployObject
- Returns:
- the checksum of this object.
-
setChecksum
public IDeployObject setChecksum(String checksum)
Description copied from interface:IDeployObject
Sets the checksum of this object.- Specified by:
setChecksum
in interfaceIDeployObject
- Parameters:
checksum
- the checksum of this object.- Returns:
- this object.
-
setChecksumListener
public <T extends lumis.portal.deployment.process.IChecksumListener> IDeployObject setChecksumListener(T listener)
Description copied from interface:IDeployObject
Sets the checksum listener of this object.- Specified by:
setChecksumListener
in interfaceIDeployObject
- Parameters:
listener
- the checksum listener of this object.- Returns:
- this object.
-
getChecksumListener
public <T extends lumis.portal.deployment.process.IChecksumListener> T getChecksumListener()
Description copied from interface:IDeployObject
Returns the checksum listener of this object.- Specified by:
getChecksumListener
in interfaceIDeployObject
- Returns:
- the checksum listener of this object.
-
isStoreChecksum
public boolean isStoreChecksum()
Description copied from interface:IDeployObject
Indicates whether the checksum of this object should be stored.- Specified by:
isStoreChecksum
in interfaceIDeployObject
- Returns:
- whether the checksum of this object should be stored.
-
setStoreChecksum
public IDeployObject setStoreChecksum(boolean isStoreChecksum)
Description copied from interface:IDeployObject
Sets whether the checksum of this object should be stored.- Specified by:
setStoreChecksum
in interfaceIDeployObject
- Parameters:
isStoreChecksum
- whether the checksum of this object should be stored.- Returns:
- this object.
-
find
public Collection<IDeployObject> find(IDeployObject.ObjectType type, EnumSet<IDeployObject.ObjectType> allowedInnerObjects)
Description copied from interface:IDeployObject
Find all objects of the given type in subtree, but discards subtrees when their root type is not contained in the given set.- Specified by:
find
in interfaceIDeployObject
- Parameters:
type
- the type to be search.allowedInnerObjects
- the allowed inner objects types.- Returns:
- all objects of the given type in subtree, but discards subtrees when their root type is not contained in the given set.
-
find
public IDeployObject find(String id, IDeployObject.ObjectType objectType, EnumSet<IDeployObject.ObjectType> allowedInnerObjects)
Description copied from interface:IDeployObject
Finds the object with the given identifier of the given type in subtree. Don't search subtrees of objects of types not contained in the given set.- Specified by:
find
in interfaceIDeployObject
- Parameters:
id
- the object identifier.objectType
- the object type.allowedInnerObjects
- the allowed inner objects types.
-
getType
public IDeployObject.ObjectType getType()
Description copied from interface:IDeployObject
Returns the type of this object.- Specified by:
getType
in interfaceIDeployObject
- Returns:
- the type of this object.
-
accumulateChecksum
public boolean accumulateChecksum()
Description copied from interface:IDeployObject
Indicates whether the checksum of this object should accumulate the subtree.- Specified by:
accumulateChecksum
in interfaceIDeployObject
- Returns:
- whether the checksum of this object should accumulate the subtree.
-
-