public class QuestionPoolFacade extends Object implements Serializable, QuestionPoolDataIfc, Cloneable
| Modifier and Type | Field and Description |
|---|---|
static Long |
ACCESS_DENIED |
static Long |
ADMIN |
static Long |
DEFAULT_INTELLECTUAL_PROPERTYID |
static Long |
DEFAULT_TYPEID |
static Long |
READ_COPY |
static Long |
READ_ONLY |
static Long |
READ_WRITE |
static Long |
ROOT_POOL |
| Constructor and Description |
|---|
QuestionPoolFacade()
Creates a new QuestionPoolFacade object.
|
QuestionPoolFacade(org.osid.shared.Id id,
org.osid.shared.Id parentId)
Constructor.
|
QuestionPoolFacade(Long id,
Long parentId)
Constructor.
|
QuestionPoolFacade(Long id,
String title)
IMPORTANT: this constructor do not have "data", this constructor is
merely used for holding questionPoolId, Title
for displaying purpose (used by the pulldown list in authoring).
|
QuestionPoolFacade(Long id,
String title,
Long parentId)
IMPORTANT: this constructor do not have "data", this constructor is
merely used for holding questionPoolId, Title, parentId
for validation question pool
This constructor does not persist data (which it has none) to DB
|
QuestionPoolFacade(QuestionPoolDataIfc data) |
public static final Long ACCESS_DENIED
public static final Long READ_ONLY
public static final Long READ_COPY
public static final Long READ_WRITE
public static final Long ADMIN
public static final Long DEFAULT_TYPEID
public static final Long DEFAULT_INTELLECTUAL_PROPERTYID
public static final Long ROOT_POOL
public QuestionPoolFacade()
public QuestionPoolFacade(org.osid.shared.Id id,
org.osid.shared.Id parentId)
newId - the idnewParentId - the id of its parentpublic QuestionPoolFacade(Long id, Long parentId)
newId - the idnewParentId - the id of its parentpublic QuestionPoolFacade(QuestionPoolDataIfc data)
public QuestionPoolFacade(Long id, String title)
id - title - public QuestionPoolFacade(Long id, String title, Long parentId)
id - title - parentid - public String getDisplayName() throws DataFacadeException
DataFacadeExceptionpublic void updateDisplayName(String displayName) throws DataFacadeException
pdisplayName - the display name for the question poolDataFacadeExceptionpublic String getDescription()
getDescription in interface QuestionPoolDataIfcpublic void updateDescription(String description) throws DataFacadeException
pdescription - the description for the question poolDataFacadeExceptionpublic void setDescription(String description)
setDescription in interface QuestionPoolDataIfcpublic QuestionPoolDataIfc getData()
public void updateData(QuestionPoolDataIfc data)
data - public void setData(QuestionPoolDataIfc data)
data - public TypeIfc getQuestionPoolType() throws DataFacadeException
DataFacadeExceptionpublic void updateQuestionPoolType(TypeIfc questionPoolType) throws DataFacadeException
DataFacadeExceptionpublic org.osid.shared.Id getParentId()
throws DataFacadeException
QuestionPoolExceptionDataFacadeExceptionpublic void setParentId(org.osid.shared.Id parentId)
throws DataFacadeException
DataFacadeExceptionpublic Long getQuestionPoolId() throws DataFacadeException
getQuestionPoolId in interface QuestionPoolDataIfcDataFacadeExceptionpublic void setQuestionPoolId(Long questionPoolId)
setQuestionPoolId in interface QuestionPoolDataIfcitemId - public String getTitle()
getTitle in interface QuestionPoolDataIfcpublic void setTitle(String title)
setTitle in interface QuestionPoolDataIfcpublic Long getParentPoolId()
getParentPoolId in interface QuestionPoolDataIfcpublic void setParentPoolId(Long parentPoolId)
setParentPoolId in interface QuestionPoolDataIfcpublic String getOwnerId()
getOwnerId in interface QuestionPoolDataIfcpublic void setOwnerId(String ownerId)
setOwnerId in interface QuestionPoolDataIfcpublic AgentDataIfc getOwner()
getOwner in interface QuestionPoolDataIfcpublic void setOwner(AgentDataIfc owner)
setOwner in interface QuestionPoolDataIfcpublic Date getDateCreated()
getDateCreated in interface QuestionPoolDataIfcpublic void setDateCreated(Date dateCreated)
setDateCreated in interface QuestionPoolDataIfcpublic Date getLastModified()
getLastModified in interface QuestionPoolDataIfcpublic void setLastModified(Date lastModified)
setLastModified in interface QuestionPoolDataIfcpublic String getLastModifiedById()
getLastModifiedById in interface QuestionPoolDataIfcpublic void setLastModifiedById(String lastModifiedById)
setLastModifiedById in interface QuestionPoolDataIfcpublic AgentDataIfc getLastModifiedBy()
getLastModifiedBy in interface QuestionPoolDataIfcpublic void setLastModifiedBy(AgentDataIfc lastModifiedBy)
setLastModifiedBy in interface QuestionPoolDataIfcpublic Long getAccessTypeId()
getAccessTypeId in interface QuestionPoolDataIfcpublic void setAccessTypeId(Long accessTypeId)
setAccessTypeId in interface QuestionPoolDataIfcpublic TypeIfc getAccessType()
getAccessType in interface QuestionPoolDataIfcpublic void setAccessType(TypeIfc accessType)
setAccessType in interface QuestionPoolDataIfcpublic String getObjectives()
getObjectives in interface QuestionPoolDataIfcpublic void setObjectives(String objectives)
setObjectives in interface QuestionPoolDataIfcpublic String getKeywords()
getKeywords in interface QuestionPoolDataIfcpublic void setKeywords(String keywords)
setKeywords in interface QuestionPoolDataIfcpublic String getRubric()
getRubric in interface QuestionPoolDataIfcpublic void setRubric(String rubric)
setRubric in interface QuestionPoolDataIfcpublic Long getTypeId()
getTypeId in interface QuestionPoolDataIfcpublic void setTypeId(Long typeId)
setTypeId in interface QuestionPoolDataIfcpublic TypeIfc getType()
getType in interface QuestionPoolDataIfcpublic void setType(TypeIfc type)
setType in interface QuestionPoolDataIfcpublic Long getIntellectualPropertyId()
getIntellectualPropertyId in interface QuestionPoolDataIfcpublic void setIntellectualPropertyId(Long intellectualPropertyId)
setIntellectualPropertyId in interface QuestionPoolDataIfcpublic String getOrganizationName()
getOrganizationName in interface QuestionPoolDataIfcpublic void setOrganizationName(String organizationName)
setOrganizationName in interface QuestionPoolDataIfcpublic Set getQuestionPoolItems()
getQuestionPoolItems in interface QuestionPoolDataIfcpublic void setQuestionPoolItems(Set questionPoolItems)
setQuestionPoolItems in interface QuestionPoolDataIfcpublic void addQuestionPoolItem(QuestionPoolItemIfc queestionPoolItem)
addQuestionPoolItem in interface QuestionPoolDataIfcpublic Collection getQuestions()
getQuestions in interface QuestionPoolDataIfcpublic void setQuestions(Collection items)
setQuestions in interface QuestionPoolDataIfcpublic Integer getQuestionSize()
getQuestionSize in interface QuestionPoolDataIfcpublic void setSubPoolSize(Integer subPoolSize)
setSubPoolSize in interface QuestionPoolDataIfcpublic Integer getSubPoolSize()
getSubPoolSize in interface QuestionPoolDataIfcpublic Object clone()
clone in interface QuestionPoolDataIfcclone in class Objectpublic String getOwnerDisplayName()
Copyright © 2005-2014 Sakai Project. All Rights Reserved.