Class OfficeWritePlatformServiceJpaRepositoryImpl
java.lang.Object
org.apache.fineract.organisation.office.service.OfficeWritePlatformServiceJpaRepositoryImpl
- All Implemented Interfaces:
OfficeWritePlatformService
public class OfficeWritePlatformServiceJpaRepositoryImpl
extends Object
implements OfficeWritePlatformService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.fineract.infrastructure.core.data.CommandProcessingResultcreateOffice(org.apache.fineract.infrastructure.core.api.JsonCommand command) org.apache.fineract.infrastructure.core.data.CommandProcessingResultdeleteOfficeTransaction(Long transactionId, org.apache.fineract.infrastructure.core.api.JsonCommand command) org.apache.fineract.infrastructure.security.service.PlatformSecurityContextorg.apache.fineract.infrastructure.core.data.CommandProcessingResultofficeTransaction(org.apache.fineract.infrastructure.core.api.JsonCommand command) org.apache.fineract.infrastructure.core.data.CommandProcessingResultupdateOffice(Long officeId, org.apache.fineract.infrastructure.core.api.JsonCommand command)
-
Constructor Details
-
OfficeWritePlatformServiceJpaRepositoryImpl
public OfficeWritePlatformServiceJpaRepositoryImpl()
-
-
Method Details
-
createOffice
@Transactional @CacheEvict(value="offices",key="T(org.apache.fineract.infrastructure.core.service.ThreadLocalContextUtil).getTenant().getTenantIdentifier().concat(#root.target.context.authenticatedUser().getOffice().getHierarchy()+\'of\')") @CacheEvict(value="officesForDropdown",key="T(org.apache.fineract.infrastructure.core.service.ThreadLocalContextUtil).getTenant().getTenantIdentifier().concat(#root.target.context.authenticatedUser().getOffice().getHierarchy()+\'ofd\')") public org.apache.fineract.infrastructure.core.data.CommandProcessingResult createOffice(org.apache.fineract.infrastructure.core.api.JsonCommand command) - Specified by:
createOfficein interfaceOfficeWritePlatformService
-
updateOffice
@Transactional @CacheEvict(value="offices",key="T(org.apache.fineract.infrastructure.core.service.ThreadLocalContextUtil).getTenant().getTenantIdentifier().concat(#root.target.context.authenticatedUser().getOffice().getHierarchy()+\'of\')") @CacheEvict(value="officesForDropdown",key="T(org.apache.fineract.infrastructure.core.service.ThreadLocalContextUtil).getTenant().getTenantIdentifier().concat(#root.target.context.authenticatedUser().getOffice().getHierarchy()+\'ofd\')") @CacheEvict(value="officesById",key="T(org.apache.fineract.infrastructure.core.service.ThreadLocalContextUtil).getTenant().getTenantIdentifier().concat(#officeId)") public org.apache.fineract.infrastructure.core.data.CommandProcessingResult updateOffice(Long officeId, org.apache.fineract.infrastructure.core.api.JsonCommand command) - Specified by:
updateOfficein interfaceOfficeWritePlatformService
-
officeTransaction
@Transactional public org.apache.fineract.infrastructure.core.data.CommandProcessingResult officeTransaction(org.apache.fineract.infrastructure.core.api.JsonCommand command) - Specified by:
officeTransactionin interfaceOfficeWritePlatformService
-
deleteOfficeTransaction
@Transactional public org.apache.fineract.infrastructure.core.data.CommandProcessingResult deleteOfficeTransaction(Long transactionId, org.apache.fineract.infrastructure.core.api.JsonCommand command) - Specified by:
deleteOfficeTransactionin interfaceOfficeWritePlatformService
-
getContext
public org.apache.fineract.infrastructure.security.service.PlatformSecurityContext getContext()
-