Package com._1c.g5.v8.dt.team.settings
Interface IDevelopmentProcessSettingsManager
-
public interface IDevelopmentProcessSettingsManager
Manager for access to development process settings.- Restriction:
- This interface is not intended to be extended by clients.
- Restriction:
- This interface is not intended to be implemented by clients.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addSettingsChangedListener(IDevelopmentProcessSettingsChangedListener listener)
Register the given listener for notification of list settings changed.IDevelopmentProcessSettings
create()
Creates new development process settings without saving.IDevelopmentProcessSettings
create(String issueTypePrefix)
Creates new development process settings without saving.IDevelopmentProcessSettings
dublicate(IDevelopmentProcessSettings settings)
Dublicate development process settings without saving with new generated unique name.List<IDevelopmentProcessSettings>
getAll()
Returns collection of existed development process settings.List<IDevelopmentProcessSettings>
getDefaults()
Returns default version collection of development process settings.void
remove(IDevelopmentProcessSettings settings)
Removes existed development process settings.void
removeSettingsChangedListener(IDevelopmentProcessSettingsChangedListener listener)
De-register the given listener from receiving notification of list settings changed.IDevelopmentProcessSettings
save(IDevelopmentProcessSettings settings)
Saves development process settings without saving and returns new stored instance of development process settings.
-
-
-
Method Detail
-
create
IDevelopmentProcessSettings create() throws DevelopmentProcessSettingsException
Creates new development process settings without saving.- Returns:
- new development process settings, never
null
- Throws:
DevelopmentProcessSettingsException
- if development prcess settings management failed
-
create
IDevelopmentProcessSettings create(String issueTypePrefix) throws DevelopmentProcessSettingsException
Creates new development process settings without saving.- Parameters:
issueTypePrefix
- the issue type prefix, cennot benull
- Returns:
- new development process settings, never
null
- Throws:
DevelopmentProcessSettingsException
- if development prcess settings management failed
-
dublicate
IDevelopmentProcessSettings dublicate(IDevelopmentProcessSettings settings) throws DevelopmentProcessSettingsException
Dublicate development process settings without saving with new generated unique name.- Parameters:
settings
- the setting for copy values, notnull
- Returns:
- new development process settings, never
null
- Throws:
DevelopmentProcessSettingsException
- if development prcess settings management failed
-
getAll
List<IDevelopmentProcessSettings> getAll() throws DevelopmentProcessSettingsException
Returns collection of existed development process settings.- Returns:
- collection of settings, never
null
- Throws:
DevelopmentProcessSettingsException
- if development prcess settings management failed
-
getDefaults
List<IDevelopmentProcessSettings> getDefaults() throws DevelopmentProcessSettingsException
Returns default version collection of development process settings.- Returns:
- collection of settings, never
null
- Throws:
DevelopmentProcessSettingsException
- if development prcess settings management failed
-
remove
void remove(IDevelopmentProcessSettings settings) throws DevelopmentProcessSettingsException
Removes existed development process settings.- Parameters:
settings
- development process settings, notnull
- Throws:
DevelopmentProcessSettingsException
- if development prcess settings management failed
-
save
IDevelopmentProcessSettings save(IDevelopmentProcessSettings settings) throws DevelopmentProcessSettingsException
Saves development process settings without saving and returns new stored instance of development process settings.- Parameters:
settings
- development process settings, notnull
- Returns:
- saved development process settings, not
null
- Throws:
DevelopmentProcessSettingsException
- if development prcess settings management failed
-
addSettingsChangedListener
void addSettingsChangedListener(IDevelopmentProcessSettingsChangedListener listener)
Register the given listener for notification of list settings changed.- Parameters:
listener
- the settings changed listener to register, cannot benull
-
removeSettingsChangedListener
void removeSettingsChangedListener(IDevelopmentProcessSettingsChangedListener listener)
De-register the given listener from receiving notification of list settings changed.- Parameters:
listener
- the settings changed listener to remove, cannot benull
-
-