|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.crowd.integration.atlassianuser.UserConfigurationServiceImpl
public class UserConfigurationServiceImpl
Constructor Summary | |
---|---|
UserConfigurationServiceImpl(DynamicUserConfiguration userConfiguration,
UserConfigurationPersister configurationPersister,
CrowdPropertiesPersister crowdPropertiesPersister,
BambooPermissionManager bambooPermissionManager)
|
Method Summary | |
---|---|
void |
changeUserConfigurationType(UserConfigurationType configurationType,
java.util.Properties crowdProperties)
Changes the application to use a new configuration at runtime. |
java.util.Properties |
getCrowdProperties()
Returns Crowd related properties. |
UserConfigurationType |
getUserConfigurationType()
Returns Atlassian User configuration type that is currently active. |
boolean |
isCrowdPropertyWritable(java.lang.String crowdPropertyName)
Returns true if the given Crowd property can be modified. |
boolean |
isCustomConfigurationAvailable()
Returns true if a custom Atlassian User configuration file is available. |
void |
reloadUserConfiguration()
Reloads user configuration using the current configuration. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UserConfigurationServiceImpl(DynamicUserConfiguration userConfiguration, UserConfigurationPersister configurationPersister, CrowdPropertiesPersister crowdPropertiesPersister, BambooPermissionManager bambooPermissionManager)
Method Detail |
---|
public UserConfigurationType getUserConfigurationType()
UserConfigurationService
getUserConfigurationType
in interface UserConfigurationService
public void changeUserConfigurationType(UserConfigurationType configurationType, java.util.Properties crowdProperties) throws java.io.IOException, com.atlassian.user.configuration.ConfigurationException
UserConfigurationService
changeUserConfigurationType
in interface UserConfigurationService
configurationType
- new configuration type to usecrowdProperties
- new crowd configuration properties to use
java.io.IOException
- if the configuration could not be updated
com.atlassian.user.configuration.ConfigurationException
- if the configuration could not be loadedpublic void reloadUserConfiguration() throws com.atlassian.user.configuration.ConfigurationException, java.io.IOException
UserConfigurationService
reloadUserConfiguration
in interface UserConfigurationService
com.atlassian.user.configuration.ConfigurationException
- if the configuration could not be loaded
java.io.IOException
- if the configuration could not be loadedpublic boolean isCustomConfigurationAvailable()
UserConfigurationService
isCustomConfigurationAvailable
in interface UserConfigurationService
public java.util.Properties getCrowdProperties()
UserConfigurationService
getCrowdProperties
in interface UserConfigurationService
public boolean isCrowdPropertyWritable(java.lang.String crowdPropertyName)
UserConfigurationService
isCrowdPropertyWritable
in interface UserConfigurationService
crowdPropertyName
- Crowd property name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |