Class Guarantor
java.lang.Object
org.apache.fineract.infrastructure.core.domain.AbstractPersistableCustom<Long>
org.apache.fineract.portfolio.loanaccount.guarantor.domain.Guarantor
- All Implemented Interfaces:
Serializable,Cloneable,org.eclipse.persistence.descriptors.changetracking.ChangeTracker,org.eclipse.persistence.internal.descriptors.PersistenceEntity,org.eclipse.persistence.internal.descriptors.PersistenceObject,org.eclipse.persistence.internal.weaving.PersistenceWeaved,org.eclipse.persistence.internal.weaving.PersistenceWeavedChangeTracking,org.eclipse.persistence.internal.weaving.PersistenceWeavedFetchGroups,org.eclipse.persistence.queries.FetchGroupTracker,org.springframework.data.domain.Persistable<Long>
@Entity
public class Guarantor
extends org.apache.fineract.infrastructure.core.domain.AbstractPersistableCustom<Long>
- See Also:
-
Field Summary
Fields inherited from class org.apache.fineract.infrastructure.core.domain.AbstractPersistableCustom
_persistence_cacheKey, _persistence_fetchGroup, _persistence_listener, _persistence_primaryKey, _persistence_session, _persistence_shouldRefreshFetchGroup -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddFundingDetails(List<GuarantorFundingDetails> fundingDetails) static GuarantorfromJson(org.apache.fineract.portfolio.loanaccount.domain.Loan loan, org.apache.fineract.infrastructure.codes.domain.CodeValue clientRelationshipType, org.apache.fineract.infrastructure.core.api.JsonCommand command, List<GuarantorFundingDetails> fundingDetails) org.apache.fineract.infrastructure.codes.domain.CodeValuegetGuarantorFundingDetail(Long fundingDetailId) org.apache.fineract.portfolio.loanaccount.domain.LoangetLoan()booleanhasGuarantor(Long savingsId) booleanisActive()booleanbooleanbooleanbooleanupdate(org.apache.fineract.infrastructure.core.api.JsonCommand command) voidupdateClientRelationshipType(org.apache.fineract.infrastructure.codes.domain.CodeValue clientRelationshipType) voidupdateStatus(boolean status) voidupdateStatus(GuarantorFundingDetails guarantorFundingDetails, org.apache.fineract.portfolio.loanaccount.guarantor.domain.GuarantorFundStatusType fundStatusType) Methods inherited from class org.apache.fineract.infrastructure.core.domain.AbstractPersistableCustom
_persistence_checkFetched, _persistence_checkFetchedForSet, _persistence_get, _persistence_get_id, _persistence_getCacheKey, _persistence_getFetchGroup, _persistence_getId, _persistence_getPropertyChangeListener, _persistence_getSession, _persistence_isAttributeFetched, _persistence_new, _persistence_post_clone, _persistence_propertyChange, _persistence_resetFetchGroup, _persistence_set, _persistence_set_id, _persistence_setCacheKey, _persistence_setFetchGroup, _persistence_setId, _persistence_setPropertyChangeListener, _persistence_setSession, _persistence_setShouldRefreshFetchGroup, _persistence_shallow_clone, _persistence_shouldRefreshFetchGroup, getId, isNew, setId
-
Constructor Details
-
Guarantor
protected Guarantor()
-
-
Method Details
-
fromJson
public static Guarantor fromJson(org.apache.fineract.portfolio.loanaccount.domain.Loan loan, org.apache.fineract.infrastructure.codes.domain.CodeValue clientRelationshipType, org.apache.fineract.infrastructure.core.api.JsonCommand command, List<GuarantorFundingDetails> fundingDetails) -
update
-
isExistingCustomer
public boolean isExistingCustomer() -
isExistingEmployee
public boolean isExistingEmployee() -
isExternalGuarantor
public boolean isExternalGuarantor() -
getEntityId
-
getLoanId
-
getClientId
-
getOfficeId
-
getClientRelationshipType
public org.apache.fineract.infrastructure.codes.domain.CodeValue getClientRelationshipType() -
updateClientRelationshipType
public void updateClientRelationshipType(org.apache.fineract.infrastructure.codes.domain.CodeValue clientRelationshipType) -
getGurantorType
-
isActive
public boolean isActive() -
updateStatus
public void updateStatus(boolean status) -
addFundingDetails
-
updateStatus
public void updateStatus(GuarantorFundingDetails guarantorFundingDetails, org.apache.fineract.portfolio.loanaccount.guarantor.domain.GuarantorFundStatusType fundStatusType) -
getGuarantorFundingDetail
-
getLoan
public org.apache.fineract.portfolio.loanaccount.domain.Loan getLoan() -
getGuarantorFundDetails
-
hasGuarantor
-
isSelfGuarantee
public boolean isSelfGuarantee()
-