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 ArchiveStatus
protected Long
protected String
protected String
protected Date
protected Long
protected String
protected SandBox
protected String
Fields inherited from interface org.broadleafcommerce.common.admin.domain.AdminMainEntity
MAIN_ENTITY_NAME_PROPERTY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
getColor()
getId()
boolean
getName()
The name of the sandbox.getSandBoxIdsForUpwardHierarchy
(boolean includeInherited) getSandBoxIdsForUpwardHierarchy
(boolean includeInherited, boolean includeCurrent) int
hashCode()
boolean
isActive()
void
setArchived
(Character archived) void
void
setChildSandBoxes
(List<SandBox> childSandBoxes) void
void
setGoLiveDate
(Date goLiveDate) void
void
void
setParentSandBox
(SandBox parentSandBox) void
setSandBoxType
(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:SandBox
The 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:
getSandBoxType
in interfaceSandBox
-
setSandBoxType
- Specified by:
setSandBoxType
in interfaceSandBox
-
getAuthor
-
setAuthor
-
getParentSandBox
- Specified by:
getParentSandBox
in interfaceSandBox
-
setParentSandBox
- Specified by:
setParentSandBox
in interfaceSandBox
-
getColor
-
setColor
-
getGoLiveDate
- Specified by:
getGoLiveDate
in interfaceSandBox
-
setGoLiveDate
- Specified by:
setGoLiveDate
in interfaceSandBox
-
getChildSandBoxes
- Specified by:
getChildSandBoxes
in interfaceSandBox
-
setChildSandBoxes
- Specified by:
setChildSandBoxes
in interfaceSandBox
-
getSandBoxIdsForUpwardHierarchy
- Specified by:
getSandBoxIdsForUpwardHierarchy
in interfaceSandBox
-
getSandBoxIdsForUpwardHierarchy
- Specified by:
getSandBoxIdsForUpwardHierarchy
in interfaceSandBox
-
hashCode
public int hashCode() -
equals
-
getMainEntityName
- Specified by:
getMainEntityName
in interfaceAdminMainEntity
- Returns:
- the display name of this entity for the admin screen
-
getIsInDefaultHierarchy
public boolean getIsInDefaultHierarchy()- Specified by:
getIsInDefaultHierarchy
in interfaceSandBox
- Returns:
- whether or not this sandbox, or any of its parent sandboxes, has type DEFAULT.
-
getArchived
- Specified by:
getArchived
in interfaceSandBox
- Specified by:
getArchived
in interfaceStatus
-
setArchived
- Specified by:
setArchived
in interfaceSandBox
- Specified by:
setArchived
in interfaceStatus
-
isActive
public boolean isActive()
-