@Entity public class AgendaBo extends Object implements AgendaDefinitionContract, Serializable
Modifier and Type | Field and Description |
---|---|
static String |
AGENDA_SEQ_NAME |
Constructor and Description |
---|
AgendaBo() |
Modifier and Type | Method and Description |
---|---|
AgendaBo |
copyAgenda(String newAgendaName,
String dateTimeStamp)
Returns of copy of this agenda, with the given newAgendaName and new ids.
|
boolean |
getActive() |
AgendaBo |
getAgenda() |
Set<AgendaAttributeBo> |
getAttributeBos() |
Map<String,String> |
getAttributes()
This method returns a list of custom/remote attributes associated with the
agenda.
|
ContextBo |
getContext() |
String |
getContextId()
Returns the context id of the Agenda.
|
AgendaItemBo |
getFirstItem() |
String |
getFirstItemId()
Returns the fist agenda item id to be executed in the Agenda.
|
String |
getId()
The unique identifier for an object.
|
List<AgendaItemBo> |
getItems() |
String |
getName()
Returns the name of the Agenda.
|
String |
getTypeId()
Returns the KRMS type id of the Agenda.
|
Long |
getVersionNumber()
Returns the version number for this object.
|
boolean |
isActive()
The active indicator for an object.
|
void |
setActive(boolean active) |
void |
setAttributeBos(Set<AgendaAttributeBo> attributeBos) |
void |
setAttributes(Map<String,String> attributes) |
void |
setContext(ContextBo context) |
void |
setContextId(String contextId) |
void |
setFirstItem(AgendaItemBo firstItem) |
void |
setFirstItemId(String firstItemId) |
void |
setId(String id) |
void |
setItems(List<AgendaItemBo> items) |
void |
setName(String name) |
void |
setTypeId(String typeId) |
void |
setVersionNumber(Long versionNumber) |
static AgendaDefinition |
to(AgendaBo bo)
Converts a mutable bo to it's immutable counterpart
|
public static final String AGENDA_SEQ_NAME
public AgendaBo()
public Map<String,String> getAttributes()
AgendaDefinitionContract
getAttributes
in interface AgendaDefinitionContract
public void setAttributes(Map<String,String> attributes)
public AgendaBo copyAgenda(String newAgendaName, String dateTimeStamp)
newAgendaName
- name of the newly copied AgendaBodateTimeStamp
- to append to the names of objectspublic static AgendaDefinition to(AgendaBo bo)
bo
- the mutable business objectpublic String getId()
Identifiable
getId
in interface Identifiable
public String getName()
AgendaDefinitionContract
getName
in interface AgendaDefinitionContract
public String getTypeId()
AgendaDefinitionContract
getTypeId
in interface AgendaDefinitionContract
public String getContextId()
AgendaDefinitionContract
getContextId
in interface AgendaDefinitionContract
public void setContextId(String contextId)
public boolean getActive()
public boolean isActive()
Inactivatable
isActive
in interface Inactivatable
public void setActive(boolean active)
public String getFirstItemId()
AgendaDefinitionContract
getFirstItemId
in interface AgendaDefinitionContract
public void setFirstItemId(String firstItemId)
public AgendaItemBo getFirstItem()
public void setFirstItem(AgendaItemBo firstItem)
public Set<AgendaAttributeBo> getAttributeBos()
public void setAttributeBos(Set<AgendaAttributeBo> attributeBos)
public List<AgendaItemBo> getItems()
public void setItems(List<AgendaItemBo> items)
public ContextBo getContext()
public void setContext(ContextBo context)
public Long getVersionNumber()
Versioned
getVersionNumber
in interface Versioned
public void setVersionNumber(Long versionNumber)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.