com.atlassian.sal.api.transaction.TransactionTemplate Java Examples
The following examples show how to use
com.atlassian.sal.api.transaction.TransactionTemplate.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: LivingDocConfluenceManager.java From livingdoc-confluence with GNU General Public License v3.0 | 5 votes |
/** * Constructor for IoC * * Note: The qualifier for {@link PageManager} is needed because * there are multiple implementations. */ public LivingDocConfluenceManager(LivingDocPersistenceService livingDocServerService, LoginManager loginManager, ConfluenceUserManager confluenceUserManager, TransactionTemplate transactionTemplate, SettingsManager settingsManager, AtlassianBootstrapManager bootstrapManager, ContentPropertyManager contentPropertyManager, ContentPermissionManager contentPermissionManager, WikiStyleRenderer wikiStyleRenderer, PageManager pageManager, SpaceManager spaceManager, SpacePermissionManager spacePermissionManager, LabelManager labelManager, UserAccessor userAccessor, FormatSettingsManager formatSettingsManager, LocaleManager localeManager, Renderer viewRenderer) { this.livingDocPersistenceService = livingDocServerService; this.loginManager = loginManager; this.confluenceUserManager = confluenceUserManager; this.transactionTemplate = transactionTemplate; this.settingsManager = settingsManager; this.bootstrapManager = bootstrapManager; this.contentPropertyManager = contentPropertyManager; this.contentPermissionManager = contentPermissionManager; this.wikiStyleRenderer = wikiStyleRenderer; this.pageManager = pageManager; this.spaceManager = spaceManager; this.spacePermissionManager = spacePermissionManager; this.labelManager = labelManager; this.userAccessor = userAccessor; this.formatSettingsManager = formatSettingsManager; this.localeManager = localeManager; this.viewRenderer = viewRenderer; }
Example #2
Source File: LdapDirectorySynchronizer.java From adam with GNU Lesser General Public License v3.0 | 5 votes |
@Autowired public LdapDirectorySynchronizer( @Nonnull ExtendingLDAPDirectoryInstanceLoader loader, @Nonnull CrowdDirectoryService crowdDirectoryService, @Nonnull TransactionTemplate transactionTemplate, @Nonnull DirectoryHelper directoryHelper, @Nonnull ProfileProvider profileProvider, @Nonnull ElementRenderer elementRenderer) { _loader = loader; _crowdDirectoryService = crowdDirectoryService; _transactionTemplate = transactionTemplate; _directoryHelper = directoryHelper; _profileProvider = profileProvider; _elementRenderer = elementRenderer; }
Example #3
Source File: AdminConfigDao.java From stash-token-auth with GNU General Public License v3.0 | 4 votes |
public AdminConfigDao(PluginSettingsFactory pluginSettingsFactory, TransactionTemplate transactionTemplate) { this.pluginSettingsFactory = pluginSettingsFactory; this.transactionTemplate = transactionTemplate; setDefaults(); }
Example #4
Source File: AdminConfigResource.java From stash-token-auth with GNU General Public License v3.0 | 4 votes |
public AdminConfigResource(TransactionTemplate transactionTemplate, UserManager userManager, AdminConfigDao adminDao, UserConfigDao userDao) { this.transactionTemplate = transactionTemplate; this.userManager = userManager; this.adminDao = adminDao; this.userDao = userDao; }
Example #5
Source File: UserConfigDao.java From stash-token-auth with GNU General Public License v3.0 | 4 votes |
public UserConfigDao(PluginSettingsFactory pluginSettingsFactory, TransactionTemplate transactionTemplate) { this.pluginSettingsFactory = pluginSettingsFactory; this.transactionTemplate = transactionTemplate; }
Example #6
Source File: LivingDocConfluenceManager.java From livingdoc-confluence with GNU General Public License v3.0 | 4 votes |
public TransactionTemplate getTransactionTemplate() { return transactionTemplate; }