...
Code Block | ||
---|---|---|
| ||
@Cacheable(value = "users", key = "T(org.mifosplatform.infrastructure.core.service.ThreadLocalContextUtil).getTenant().getNamegettenantIdentifier().concat(#username)") public UserDetails loadUserByUsername(final String username) throws UsernameNotFoundException, DataAccessException { //method body } |
...
Code Block |
---|
@Transactional @Override @Caching(evict = { @CacheEvict(value = "offices", key = "T(org.mifosplatform.infrastructure.core.service.ThreadLocalContextUtil).getTenant().getNamegettenantIdentifier().concat(#officeId)"), @CacheEvict(value = "office_template", key = "T(org.mifosplatform.infrastructure.core.service.ThreadLocalContextUtil).getTenant().getNamegettenantIdentifier().concat(#officeId)") }) public CommandProcessingResult updateOffice(final Long officeId, final JsonCommand command) { //method body } |
...