org.broadleafcommerce.common.sandbox.domain
Class SandBoxImpl
java.lang.Object
org.broadleafcommerce.common.sandbox.domain.SandBoxImpl
- All Implemented Interfaces:
- Serializable, AdminMainEntity, SandBox
@Entity
public class SandBoxImpl
- extends Object
- implements SandBox, AdminMainEntity
- See Also:
- Serialized Form
id
protected Long id
name
protected String name
author
protected Long author
sandboxType
protected String sandboxType
parentSandBox
protected SandBox parentSandBox
childSandBoxes
protected List<SandBox> childSandBoxes
color
protected String color
goLiveDate
protected Date goLiveDate
SandBoxImpl
public SandBoxImpl()
getId
public Long getId()
- Specified by:
getId in interface SandBox
setId
public void setId(Long id)
- Specified by:
setId in interface SandBox
getName
public String 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_".
- Specified by:
getName in interface SandBox
- Returns:
- String sandbox name
setName
public void setName(String name)
- Specified by:
setName in interface SandBox
getSandBoxType
public SandBoxType getSandBoxType()
- Specified by:
getSandBoxType in interface SandBox
setSandBoxType
public void setSandBoxType(SandBoxType sandboxType)
- Specified by:
setSandBoxType in interface SandBox
getAuthor
public Long getAuthor()
- Specified by:
getAuthor in interface SandBox
setAuthor
public void setAuthor(Long author)
- Specified by:
setAuthor in interface SandBox
getParentSandBox
public SandBox getParentSandBox()
- Specified by:
getParentSandBox in interface SandBox
setParentSandBox
public void setParentSandBox(SandBox parentSandBox)
- Specified by:
setParentSandBox in interface SandBox
getColor
public String getColor()
- Specified by:
getColor in interface SandBox
setColor
public void setColor(String color)
- Specified by:
setColor in interface SandBox
getGoLiveDate
public Date getGoLiveDate()
- Specified by:
getGoLiveDate in interface SandBox
setGoLiveDate
public void setGoLiveDate(Date goLiveDate)
- Specified by:
setGoLiveDate in interface SandBox
getChildSandBoxes
public List<SandBox> getChildSandBoxes()
- Specified by:
getChildSandBoxes in interface SandBox
setChildSandBoxes
public void setChildSandBoxes(List<SandBox> childSandBoxes)
- Specified by:
setChildSandBoxes in interface SandBox
getSandBoxIdsForUpwardHierarchy
public List<Long> getSandBoxIdsForUpwardHierarchy(boolean includeInherited)
- Specified by:
getSandBoxIdsForUpwardHierarchy in interface SandBox
getSandBoxIdsForUpwardHierarchy
public List<Long> getSandBoxIdsForUpwardHierarchy(boolean includeInherited,
boolean includeCurrent)
- Specified by:
getSandBoxIdsForUpwardHierarchy in interface SandBox
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
getMainEntityName
public String getMainEntityName()
- Specified by:
getMainEntityName in interface AdminMainEntity
- Returns:
- the display name of this entity for the admin screen
Copyright © 2013. All Rights Reserved.