Package com._1c.g5.v8.dt.md.resource
Class DerivedStateComputerUtil
java.lang.Object
com._1c.g5.v8.dt.md.resource.DerivedStateComputerUtil
DerivedState computer util.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets types (type items) of a business process which serves a provided taskgetEffectiveCommonAttributes
(MdObject target, com.google.common.base.Predicate<CommonAttribute> filter) Returns the effective common attributes for the given target.boolean
isInExchangePlan
(MdObject mdObject) Checks if given md object is in content of any exchange plan object
-
Constructor Details
-
DerivedStateComputerUtil
public DerivedStateComputerUtil()
-
-
Method Details
-
getEffectiveCommonAttributes
public List<CommonAttribute> getEffectiveCommonAttributes(MdObject target, com.google.common.base.Predicate<CommonAttribute> filter) Returns the effective common attributes for the given target. Some kind of stable ordering is imposed on the result.- Parameters:
target
- a metadata object (notnull
)filter
- a filter used to filter down the result, ornull
- Returns:
- the effective common attributes for the given target
(never
null
)
-
getBusinessProcessTypeItems
Gets types (type items) of a business process which serves a provided task- Parameters:
task
- A task to get business process types for. Cannot benull
- Returns:
- List of type items. Cannot be
null
-
isInExchangePlan
Checks if given md object is in content of any exchange plan object- Parameters:
mdObject
- the md-object (notnull
)- Returns:
- true if given md object is in content of any exchange plan object, false otherwise
-