Class AbstractModuleConfiguration
java.lang.Object
org.broadleafcommerce.common.config.domain.AbstractModuleConfiguration
- All Implemented Interfaces:
Serializable,AbstractModuleConfigurationAdminPresentation,ModuleConfiguration,Status
- Direct Known Subclasses:
SiteMapConfigurationImpl
@Entity
public abstract class AbstractModuleConfiguration
extends Object
implements ModuleConfiguration, Status, AbstractModuleConfigurationAdminPresentation
Modules that need to be configured via the database should extend this. Classes that
extend this MUST call setModuleConfigurationType(ModuleConfigurationType type) in their
constructor.
- Author:
- Kelly Tisdell
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.broadleafcommerce.common.config.domain.AbstractModuleConfigurationAdminPresentation
AbstractModuleConfigurationAdminPresentation.GroupName, AbstractModuleConfigurationAdminPresentation.GroupOrder, AbstractModuleConfigurationAdminPresentation.TabName, AbstractModuleConfigurationAdminPresentation.TabOrder -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()booleanisActive()booleanvoidsetActiveEndDate(Date endDate) voidsetActiveStartDate(Date startDate) voidsetArchived(Character archived) voidsetAuditable(Auditable auditable) voidvoidsetIsDefault(Boolean isDefault) protected voidsetModuleConfigurationType(ModuleConfigurationType moduleConfigurationType) Subclasses of this must set the ModuleConfigType in their constructor.voidsetModuleName(String name) voidsetPriority(Integer priority)
-
Field Details
-
id
-
moduleName
-
activeStartDate
-
activeEndDate
-
isDefault
-
configType
-
priority
-
auditable
-
archiveStatus
-
-
Constructor Details
-
AbstractModuleConfiguration
public AbstractModuleConfiguration()
-
-
Method Details
-
getId
- Specified by:
getIdin interfaceModuleConfiguration
-
setId
- Specified by:
setIdin interfaceModuleConfiguration
-
getModuleName
- Specified by:
getModuleNamein interfaceModuleConfiguration
-
setModuleName
- Specified by:
setModuleNamein interfaceModuleConfiguration
-
getIsDefault
- Specified by:
getIsDefaultin interfaceModuleConfiguration
-
setIsDefault
- Specified by:
setIsDefaultin interfaceModuleConfiguration
-
isDefault
public boolean isDefault()- Specified by:
isDefaultin interfaceModuleConfiguration
-
getModuleConfigurationType
- Specified by:
getModuleConfigurationTypein interfaceModuleConfiguration
-
setModuleConfigurationType
Subclasses of this must set the ModuleConfigType in their constructor. -
getAuditable
- Specified by:
getAuditablein interfaceModuleConfiguration
-
setAuditable
- Specified by:
setAuditablein interfaceModuleConfiguration
-
getArchived
- Specified by:
getArchivedin interfaceStatus
-
setArchived
- Specified by:
setArchivedin interfaceStatus
-
isActive
public boolean isActive() -
getActiveStartDate
- Specified by:
getActiveStartDatein interfaceModuleConfiguration
-
setActiveStartDate
- Specified by:
setActiveStartDatein interfaceModuleConfiguration
-
getActiveEndDate
- Specified by:
getActiveEndDatein interfaceModuleConfiguration
-
setActiveEndDate
- Specified by:
setActiveEndDatein interfaceModuleConfiguration
-
getPriority
- Specified by:
getPriorityin interfaceModuleConfiguration
-
setPriority
- Specified by:
setPriorityin interfaceModuleConfiguration
-