Class DistributionDescription.DistributionSupportConfigurationInfo
- java.lang.Object
-
- com._1c.g5.v8.dt.md.distribution.support.DistributionDescription.DistributionSupportConfigurationInfo
-
- Enclosing class:
- DistributionDescription
public static class DistributionDescription.DistributionSupportConfigurationInfo extends Object
Distribution support information of configuration
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DistributionDescription.DistributionSupportConfigurationInfo.DistributionSupportConfigurationItemInfo
Class contains information about distribution support for configuration item
-
Constructor Summary
Constructors Constructor Description DistributionSupportConfigurationInfo(UUID id)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createItem(UUID userId, UUID parentId, UserSupportMode userMode)
CreatesDistributionDescription.DistributionSupportConfigurationInfo.DistributionSupportConfigurationItemInfo
with information about distribution support of configuration elementCollection<UUID>
getChildrenIds(UUID parentId)
Gets set of id corresponding to the configuration items for parent with concrete idString
getConfigName()
Gets name of the configurationString
getConfigRelease()
Gets the configuration release versionUUID
getConfigVersion()
Returns the config version.UUID
getId()
Gets id of the configurationUserSupportMode
getItemUserSupportMode(UUID uuid)
GetsUserSupportMode
of configuration item by its idUserSupportMode
getNewObjectMode()
Gets value of mode corresponding to the possibility of creation new elements in configurationString
getProviderName()
Gets name of configuration providervoid
setConfigName(String configName)
Sets config namevoid
setConfigRelease(String configRelease)
Sets the configuration release versionvoid
setConfigVersion(UUID configVersion)
Sets a new config version.void
setNewObjectMode(UserSupportMode newObjectMode)
Sets value of mode corresponding to the possibility of creation new elements in configurationvoid
setProviderName(String providerName)
Sets name of the configuration provider
-
-
-
Constructor Detail
-
DistributionSupportConfigurationInfo
public DistributionSupportConfigurationInfo(UUID id)
Constructor- Parameters:
id
- id of the configuration, can't benull
-
-
Method Detail
-
getId
public UUID getId()
Gets id of the configuration- Returns:
- id of the configuration, never
null
-
getConfigRelease
public String getConfigRelease()
Gets the configuration release version- Returns:
- the configuration release version, never
null
-
setConfigRelease
public void setConfigRelease(String configRelease)
Sets the configuration release version- Parameters:
configRelease
- release version, can't benull
-
getProviderName
public String getProviderName()
Gets name of configuration provider- Returns:
- name of configuration provider, never
null
-
setProviderName
public void setProviderName(String providerName)
Sets name of the configuration provider- Parameters:
providerName
- configuration provider name, can't benull
-
getConfigName
public String getConfigName()
Gets name of the configuration- Returns:
- name of the configuration, never
null
-
setConfigName
public void setConfigName(String configName)
Sets config name- Parameters:
configName
- name of the configuration, can't benull
-
getConfigVersion
public UUID getConfigVersion()
Returns the config version.- Returns:
- the config version, never
null
-
setConfigVersion
public void setConfigVersion(UUID configVersion)
Sets a new config version.- Parameters:
the
- config version to set, cannot benull
-
getNewObjectMode
public UserSupportMode getNewObjectMode()
Gets value of mode corresponding to the possibility of creation new elements in configuration- Returns:
- value of mode, never
null
-
setNewObjectMode
public void setNewObjectMode(UserSupportMode newObjectMode)
Sets value of mode corresponding to the possibility of creation new elements in configuration- Parameters:
newObjectMode
- new value of mode, can't benull
-
getItemUserSupportMode
public UserSupportMode getItemUserSupportMode(UUID uuid)
GetsUserSupportMode
of configuration item by its id- Parameters:
uuid
- id of the configuration item, can't benull
- Returns:
UserSupportMode
of configuration item by its id, can benull
if there is no information about distribution support for item with this id
-
getChildrenIds
public Collection<UUID> getChildrenIds(UUID parentId)
Gets set of id corresponding to the configuration items for parent with concrete id- Parameters:
parentId
- parent id the configuration item, can't benull
- Returns:
- set of id corresponding to the configuration items for parent with concrete id, never
null
-
createItem
public void createItem(UUID userId, UUID parentId, UserSupportMode userMode)
CreatesDistributionDescription.DistributionSupportConfigurationInfo.DistributionSupportConfigurationItemInfo
with information about distribution support of configuration element- Parameters:
userId
- id of the configuration item, can't benull
parentId
- parent id the configuration item, can't benull
userMode
-UserSupportMode
for the configuration item, can't benull
-
-