Class SandBoxImpl
java.lang.Object
org.broadleafcommerce.common.sandbox.domain.SandBoxImpl
- All Implemented Interfaces:
Serializable,AdminMainEntity,Status,SandBox
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ArchiveStatusprotected Longprotected Stringprotected Stringprotected Dateprotected Longprotected Stringprotected SandBoxprotected StringFields inherited from interface org.broadleafcommerce.common.admin.domain.AdminMainEntity
MAIN_ENTITY_NAME_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetColor()getId()booleangetName()The name of the sandbox.getSandBoxIdsForUpwardHierarchy(boolean includeInherited) getSandBoxIdsForUpwardHierarchy(boolean includeInherited, boolean includeCurrent) inthashCode()booleanisActive()voidsetArchived(Character archived) voidvoidsetChildSandBoxes(List<SandBox> childSandBoxes) voidvoidsetGoLiveDate(Date goLiveDate) voidvoidvoidsetParentSandBox(SandBox parentSandBox) voidsetSandBoxType(SandBoxType sandboxType)
-
Field Details
-
id
-
name
-
author
-
sandboxType
-
parentSandBox
-
childSandBoxes
-
color
-
description
-
goLiveDate
-
archiveStatus
-
-
Constructor Details
-
SandBoxImpl
public SandBoxImpl()
-
-
Method Details
-
getId
-
setId
-
getName
Description copied from interface:SandBoxThe name of the sandbox. Certain sandbox names are reserved in the system. User created sandboxes cannot start with "", "approve_", or "deploy_". -
setName
-
getSandBoxType
- Specified by:
getSandBoxTypein interfaceSandBox
-
setSandBoxType
- Specified by:
setSandBoxTypein interfaceSandBox
-
getAuthor
-
setAuthor
-
getParentSandBox
- Specified by:
getParentSandBoxin interfaceSandBox
-
setParentSandBox
- Specified by:
setParentSandBoxin interfaceSandBox
-
getColor
-
setColor
-
getGoLiveDate
- Specified by:
getGoLiveDatein interfaceSandBox
-
setGoLiveDate
- Specified by:
setGoLiveDatein interfaceSandBox
-
getChildSandBoxes
- Specified by:
getChildSandBoxesin interfaceSandBox
-
setChildSandBoxes
- Specified by:
setChildSandBoxesin interfaceSandBox
-
getSandBoxIdsForUpwardHierarchy
- Specified by:
getSandBoxIdsForUpwardHierarchyin interfaceSandBox
-
getSandBoxIdsForUpwardHierarchy
- Specified by:
getSandBoxIdsForUpwardHierarchyin interfaceSandBox
-
hashCode
public int hashCode() -
equals
-
getMainEntityName
- Specified by:
getMainEntityNamein interfaceAdminMainEntity- Returns:
- the display name of this entity for the admin screen
-
getIsInDefaultHierarchy
public boolean getIsInDefaultHierarchy()- Specified by:
getIsInDefaultHierarchyin interfaceSandBox- Returns:
- whether or not this sandbox, or any of its parent sandboxes, has type DEFAULT.
-
getArchived
- Specified by:
getArchivedin interfaceSandBox- Specified by:
getArchivedin interfaceStatus
-
setArchived
- Specified by:
setArchivedin interfaceSandBox- Specified by:
setArchivedin interfaceStatus
-
isActive
public boolean isActive()
-