Class SmsCampaign
java.lang.Object
org.apache.fineract.infrastructure.core.domain.AbstractPersistableCustom<Long>
org.apache.fineract.infrastructure.campaigns.sms.domain.SmsCampaign
- 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 SmsCampaign
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 TypeMethodDescriptionvoidactivate(org.apache.fineract.useradministration.domain.AppUser currentUser, DateTimeFormatter formatter, LocalDate activationLocalDate) voidclose(org.apache.fineract.useradministration.domain.AppUser currentUser, DateTimeFormatter dateTimeFormatter, LocalDate closureLocalDate) voiddelete()static SmsCampaigninstance(org.apache.fineract.useradministration.domain.AppUser submittedBy, Report report, org.apache.fineract.infrastructure.core.api.JsonCommand command) booleanisActive()booleanisClosed()booleanisDirect()booleanbooleanbooleanbooleanvoidreactivate(org.apache.fineract.useradministration.domain.AppUser currentUser, DateTimeFormatter dateTimeFormat, LocalDate reactivateLocalDate) voidsetLastTriggerDate(LocalDateTime lastTriggerDate) voidsetNextTriggerDate(LocalDateTime nextTriggerDate) voidsetNotification(boolean isNotification) update(org.apache.fineract.infrastructure.core.api.JsonCommand command) voidupdateBusinessRuleId(Report report) voidupdateIsVisible(boolean isVisible) 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
-
SmsCampaign
public SmsCampaign()
-
-
Method Details
-
instance
public static SmsCampaign instance(org.apache.fineract.useradministration.domain.AppUser submittedBy, Report report, org.apache.fineract.infrastructure.core.api.JsonCommand command) -
update
-
activate
public void activate(org.apache.fineract.useradministration.domain.AppUser currentUser, DateTimeFormatter formatter, LocalDate activationLocalDate) -
close
public void close(org.apache.fineract.useradministration.domain.AppUser currentUser, DateTimeFormatter dateTimeFormatter, LocalDate closureLocalDate) -
reactivate
public void reactivate(org.apache.fineract.useradministration.domain.AppUser currentUser, DateTimeFormatter dateTimeFormat, LocalDate reactivateLocalDate) -
delete
public void delete() -
isActive
public boolean isActive() -
isPending
public boolean isPending() -
isClosed
public boolean isClosed() -
isDirect
public boolean isDirect() -
isSchedule
public boolean isSchedule() -
isTriggered
public boolean isTriggered() -
getSubmittedOnDate
-
getClosureDate
-
getActivationDate
-
getBusinessRuleId
-
getCampaignName
-
getMessage
-
getParamValue
-
getRecurrence
-
getRecurrenceStartDate
-
getRecurrenceStartDateTime
-
setLastTriggerDate
-
setNextTriggerDate
-
getNextTriggerDate
-
getLastTriggerDate
-
updateIsVisible
public void updateIsVisible(boolean isVisible) -
updateBusinessRuleId
-
getProviderId
-
isNotification
public boolean isNotification() -
setNotification
public void setNotification(boolean isNotification)
-