|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectatg.svc.repository.beans._Solution_Impl
public abstract class _Solution_Impl
| Constructor Summary | |
|---|---|
_Solution_Impl()
|
|
| Method Summary | |
|---|---|
java.lang.String |
_getItemDescriptorName()
|
java.lang.Class |
_getObjectInterfaceClass()
|
void |
addTopic(java.lang.String topicId)
Adds a topic to the solution given the topic id |
void |
copyTo(Solution destination)
Copies the property values of this instance to another instance of the same data type. |
java.lang.String |
getDisplayId()
Gets the displayable solution id - for new solutions this matches the repository id. |
java.lang.String |
getDisplayTitle()
Gets the title for the Solution truncated to the configured maximum number of characters. |
java.util.List |
getExternallyVisiblePropertyFields()
Gets the property fields visible to all external users |
java.util.List |
getExternallyVisibleStatementFields()
Gets the statement fields visible to all external users |
java.lang.Object |
getFieldValue(java.lang.String name)
Gets a value for the given property on the solution. |
boolean |
getIsEditable()
|
boolean |
getIsExternallyVisible()
|
boolean |
getIsExternallyVisible(java.lang.String segmentName)
|
boolean |
getIsVisible()
|
java.lang.String |
getTitle()
Gets the computed title for the Solution. |
java.util.Set |
getTopics()
Returns Topic objects instead of topic ids. |
java.lang.Integer |
getVersion()
|
java.util.List |
getVisibleFields()
|
java.util.List |
getVisiblePropertyFields()
Returns the non-statement and non-text fields that are visible to the current user. |
java.util.List |
getVisibleStatementFields()
Returns the statement and text fields that are visible to the current user. |
boolean |
isRemoved()
Returns true if the underlying object has been removed. |
void |
setFieldValue(java.lang.String name,
java.lang.Object value)
Sets a value for the given property on the solution. |
void |
setInternalAudience(java.lang.String[] orgValIds)
Sets the internal audience on the Solution given a list of OrganizationValue repository ids. |
void |
setOwningGroup(java.lang.String orgValId)
Sets the owning group on the Solution given an OrganizationValue repository id. |
void |
setSolutionClass(java.lang.String solutionClassId)
Sets the SolutionClass on the Solution given the SolutionClass repository id. |
void |
setTitle(java.lang.String title)
Sets the title for the Solution. |
void |
setTopics(java.util.Set topics)
Updates the solution's topicIds given a set of Topic objects. |
void |
updateTopicIds(java.util.Set topicIds)
Adds/Removes topics to/from the solution given a new set of topic ids. |
void |
validate()
Performs validation on the Solution |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface atg.svc.repository.beans.pv.Solution_PV |
|---|
_isMutable, getAudience, getAudienceSorted, getAuthor, getDateCreated, getDateModified, getFields, getId, getInternalAudience, getInternalAudienceSorted, getLanguage, getLegacyId, getModifiedBy, getOwningGroup, getRawTitle, getRecognition, getRecommendedAnswers, getSolutionClass, getSolutionRelevance, getStatus, getTopicIds, getTopicPaths, isBestBet, prepareInstanceForWrite, setAudience, setAuthor, setBestBet, setDateCreated, setDateModified, setFields, setId, setInternalAudience, setLanguage, setLegacyId, setModifiedBy, setOwningGroup, setRawTitle, setRecognition, setSolutionClass, setStatus, setTopicIds, writeInstance |
| Methods inherited from interface javax.ejb.EJBLocalObject |
|---|
getEJBLocalHome, getPrimaryKey, isIdentical, remove |
| Constructor Detail |
|---|
public _Solution_Impl()
| Method Detail |
|---|
public boolean isRemoved()
throws javax.ejb.EJBException
atg.svc.repository.beans.pv.Solution_PV
isRemoved in interface atg.svc.repository.beans.pv.Solution_PVisRemoved in interface Solutionjavax.ejb.EJBExceptionpublic java.lang.String _getItemDescriptorName()
public java.lang.Class _getObjectInterfaceClass()
public void copyTo(Solution destination)
throws javax.ejb.EJBException
atg.svc.repository.beans.pv.Solution_PV
copyTo in interface atg.svc.repository.beans.pv.Solution_PVcopyTo in interface Solutionjavax.ejb.EJBException
public boolean getIsVisible()
throws javax.ejb.EJBException
getIsVisible in interface atg.svc.repository.beans.pv.Solution_PVgetIsVisible in interface Solutionjavax.ejb.EJBException - A system-level error occurred
public boolean getIsExternallyVisible()
throws javax.ejb.EJBException
getIsExternallyVisible in interface atg.svc.repository.beans.pv.Solution_PVgetIsExternallyVisible in interface Solutionjavax.ejb.EJBException - A system-level error occurred
public boolean getIsExternallyVisible(java.lang.String segmentName)
throws javax.ejb.EJBException
getIsExternallyVisible in interface atg.svc.repository.beans.pv.Solution_PVgetIsExternallyVisible in interface Solutionjavax.ejb.EJBException - A system-level error occurred
public boolean getIsEditable()
throws javax.ejb.EJBException
getIsEditable in interface atg.svc.repository.beans.pv.Solution_PVgetIsEditable in interface Solutionjavax.ejb.EJBException - A system-level error occurred
public java.util.List getVisibleFields()
throws javax.ejb.EJBException
getVisibleFields in interface atg.svc.repository.beans.pv.Solution_PVgetVisibleFields in interface Solutionjavax.ejb.EJBException - A system-level error occurred
public java.util.List getVisibleStatementFields()
throws javax.ejb.EJBException
atg.svc.repository.beans.pv.Solution_PV
getVisibleStatementFields in interface atg.svc.repository.beans.pv.Solution_PVgetVisibleStatementFields in interface Solutionjavax.ejb.EJBException - A system-level error occurred
public java.util.List getVisiblePropertyFields()
throws javax.ejb.EJBException
atg.svc.repository.beans.pv.Solution_PV
getVisiblePropertyFields in interface atg.svc.repository.beans.pv.Solution_PVgetVisiblePropertyFields in interface Solutionjavax.ejb.EJBException - A system-level error occurred
public java.util.List getExternallyVisibleStatementFields()
throws javax.ejb.EJBException
atg.svc.repository.beans.pv.Solution_PV
getExternallyVisibleStatementFields in interface atg.svc.repository.beans.pv.Solution_PVgetExternallyVisibleStatementFields in interface Solutionjavax.ejb.EJBException - A system-level error occurred
public java.util.List getExternallyVisiblePropertyFields()
throws javax.ejb.EJBException
atg.svc.repository.beans.pv.Solution_PV
getExternallyVisiblePropertyFields in interface atg.svc.repository.beans.pv.Solution_PVgetExternallyVisiblePropertyFields in interface Solutionjavax.ejb.EJBException - A system-level error occurred
public void setFieldValue(java.lang.String name,
java.lang.Object value)
throws atg.beans.PropertyNotFoundException,
javax.ejb.EJBException
atg.svc.repository.beans.pv.Solution_PV
setFieldValue in interface atg.svc.repository.beans.pv.Solution_PVsetFieldValue in interface Solutionname - The name of the property to set. Formatting: see atg.beans.DynamicBeansvalue - The value to set
atg.beans.PropertyNotFoundException
javax.ejb.EJBException - A system-level error occurred
public java.lang.Object getFieldValue(java.lang.String name)
throws atg.beans.PropertyNotFoundException,
javax.ejb.EJBException
atg.svc.repository.beans.pv.Solution_PV
getFieldValue in interface atg.svc.repository.beans.pv.Solution_PVgetFieldValue in interface Solutionname - The name of the property to get. Formatting: see atg.beans.DynamicBeans
atg.beans.PropertyNotFoundException
javax.ejb.EJBException - A system-level error occurred
public java.lang.String getTitle()
throws javax.ejb.EJBException
atg.svc.repository.beans.pv.Solution_PV
getTitle in interface atg.svc.repository.beans.pv.Solution_PVgetTitle in interface Solutionjavax.ejb.EJBException - A system-level error occurred
public void setTitle(java.lang.String title)
throws javax.ejb.EJBException
atg.svc.repository.beans.pv.Solution_PV
setTitle in interface atg.svc.repository.beans.pv.Solution_PVsetTitle in interface Solutiontitle - The title
javax.ejb.EJBException - A system-level error occurred
public java.lang.String getDisplayTitle()
throws javax.ejb.EJBException
atg.svc.repository.beans.pv.Solution_PV
getDisplayTitle in interface atg.svc.repository.beans.pv.Solution_PVgetDisplayTitle in interface Solutionjavax.ejb.EJBException - A system-level error occurred
public java.util.Set getTopics()
throws javax.ejb.EJBException
atg.svc.repository.beans.pv.Solution_PV
getTopics in interface atg.svc.repository.beans.pv.Solution_PVgetTopics in interface Solutionjavax.ejb.EJBException - A system-level error occurred
public void setTopics(java.util.Set topics)
throws javax.ejb.EJBException
atg.svc.repository.beans.pv.Solution_PV
setTopics in interface atg.svc.repository.beans.pv.Solution_PVsetTopics in interface Solutiontopics - Set of atg.searchadmin.repository.beans.Topic
javax.ejb.EJBException - A system-level error occurred
public void setSolutionClass(java.lang.String solutionClassId)
throws ObjectNotFoundException,
javax.ejb.EJBException
atg.svc.repository.beans.pv.Solution_PV
setSolutionClass in interface atg.svc.repository.beans.pv.Solution_PVsetSolutionClass in interface SolutionsolutionClassId - The repository id of the SolutionClass
ObjectNotFoundException
javax.ejb.EJBException - A system-level error occurred
public void setOwningGroup(java.lang.String orgValId)
throws ObjectNotFoundException,
javax.ejb.EJBException
atg.svc.repository.beans.pv.Solution_PV
setOwningGroup in interface atg.svc.repository.beans.pv.Solution_PVsetOwningGroup in interface SolutionorgValId - The repository id of the OrganizationValue to set as the owning group
ObjectNotFoundException
javax.ejb.EJBException - A system-level error occurred
public void setInternalAudience(java.lang.String[] orgValIds)
throws ObjectNotFoundException,
javax.ejb.EJBException
atg.svc.repository.beans.pv.Solution_PV
setInternalAudience in interface atg.svc.repository.beans.pv.Solution_PVsetInternalAudience in interface SolutionorgValIds - The repository ids of the OrganizationValues to set as the internal audience or null/empty to clear
ObjectNotFoundException
javax.ejb.EJBException - A system-level error occurred
public void addTopic(java.lang.String topicId)
throws ObjectNotFoundException,
javax.ejb.EJBException
atg.svc.repository.beans.pv.Solution_PV
addTopic in interface atg.svc.repository.beans.pv.Solution_PVaddTopic in interface SolutiontopicId - The id of the topic
ObjectNotFoundException
javax.ejb.EJBException - A system-level error occurred
public void updateTopicIds(java.util.Set topicIds)
throws ObjectNotFoundException,
javax.ejb.EJBException
atg.svc.repository.beans.pv.Solution_PV
updateTopicIds in interface atg.svc.repository.beans.pv.Solution_PVupdateTopicIds in interface SolutiontopicIds - A set of topic ids
ObjectNotFoundException
javax.ejb.EJBException - A system-level error occurred
public void validate()
throws atg.svc.validation.ValidationException,
javax.ejb.EJBException
atg.svc.repository.beans.pv.Solution_PV
validate in interface atg.svc.repository.beans.pv.Solution_PVvalidate in interface Solutionatg.svc.validation.ValidationException
javax.ejb.EJBException - A system-level error occurred
public java.lang.String getDisplayId()
throws javax.ejb.EJBException
atg.svc.repository.beans.pv.Solution_PV
getDisplayId in interface atg.svc.repository.beans.pv.Solution_PVgetDisplayId in interface Solutionjavax.ejb.EJBException - A system-level error occurred
public java.lang.Integer getVersion()
throws javax.ejb.EJBException
getVersion in interface atg.svc.repository.beans.pv.Solution_PVgetVersion in interface Solutionjavax.ejb.EJBException - A system-level error occurred
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||