|
||||||||||
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_PV
isRemoved
in interface Solution
javax.ejb.EJBException
public 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_PV
copyTo
in interface Solution
javax.ejb.EJBException
public boolean getIsVisible() throws javax.ejb.EJBException
getIsVisible
in interface atg.svc.repository.beans.pv.Solution_PV
getIsVisible
in interface Solution
javax.ejb.EJBException
- A system-level error occurredpublic boolean getIsExternallyVisible() throws javax.ejb.EJBException
getIsExternallyVisible
in interface atg.svc.repository.beans.pv.Solution_PV
getIsExternallyVisible
in interface Solution
javax.ejb.EJBException
- A system-level error occurredpublic boolean getIsExternallyVisible(java.lang.String segmentName) throws javax.ejb.EJBException
getIsExternallyVisible
in interface atg.svc.repository.beans.pv.Solution_PV
getIsExternallyVisible
in interface Solution
javax.ejb.EJBException
- A system-level error occurredpublic boolean getIsEditable() throws javax.ejb.EJBException
getIsEditable
in interface atg.svc.repository.beans.pv.Solution_PV
getIsEditable
in interface Solution
javax.ejb.EJBException
- A system-level error occurredpublic java.util.List getVisibleFields() throws javax.ejb.EJBException
getVisibleFields
in interface atg.svc.repository.beans.pv.Solution_PV
getVisibleFields
in interface Solution
javax.ejb.EJBException
- A system-level error occurredpublic java.util.List getVisibleStatementFields() throws javax.ejb.EJBException
atg.svc.repository.beans.pv.Solution_PV
getVisibleStatementFields
in interface atg.svc.repository.beans.pv.Solution_PV
getVisibleStatementFields
in interface Solution
javax.ejb.EJBException
- A system-level error occurredpublic java.util.List getVisiblePropertyFields() throws javax.ejb.EJBException
atg.svc.repository.beans.pv.Solution_PV
getVisiblePropertyFields
in interface atg.svc.repository.beans.pv.Solution_PV
getVisiblePropertyFields
in interface Solution
javax.ejb.EJBException
- A system-level error occurredpublic java.util.List getExternallyVisibleStatementFields() throws javax.ejb.EJBException
atg.svc.repository.beans.pv.Solution_PV
getExternallyVisibleStatementFields
in interface atg.svc.repository.beans.pv.Solution_PV
getExternallyVisibleStatementFields
in interface Solution
javax.ejb.EJBException
- A system-level error occurredpublic java.util.List getExternallyVisiblePropertyFields() throws javax.ejb.EJBException
atg.svc.repository.beans.pv.Solution_PV
getExternallyVisiblePropertyFields
in interface atg.svc.repository.beans.pv.Solution_PV
getExternallyVisiblePropertyFields
in interface Solution
javax.ejb.EJBException
- A system-level error occurredpublic 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_PV
setFieldValue
in interface Solution
name
- 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 occurredpublic 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_PV
getFieldValue
in interface Solution
name
- The name of the property to get. Formatting: see atg.beans.DynamicBeans
atg.beans.PropertyNotFoundException
javax.ejb.EJBException
- A system-level error occurredpublic java.lang.String getTitle() throws javax.ejb.EJBException
atg.svc.repository.beans.pv.Solution_PV
getTitle
in interface atg.svc.repository.beans.pv.Solution_PV
getTitle
in interface Solution
javax.ejb.EJBException
- A system-level error occurredpublic 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_PV
setTitle
in interface Solution
title
- The title
javax.ejb.EJBException
- A system-level error occurredpublic java.lang.String getDisplayTitle() throws javax.ejb.EJBException
atg.svc.repository.beans.pv.Solution_PV
getDisplayTitle
in interface atg.svc.repository.beans.pv.Solution_PV
getDisplayTitle
in interface Solution
javax.ejb.EJBException
- A system-level error occurredpublic java.util.Set getTopics() throws javax.ejb.EJBException
atg.svc.repository.beans.pv.Solution_PV
getTopics
in interface atg.svc.repository.beans.pv.Solution_PV
getTopics
in interface Solution
javax.ejb.EJBException
- A system-level error occurredpublic 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_PV
setTopics
in interface Solution
topics
- Set of atg.searchadmin.repository.beans.Topic
javax.ejb.EJBException
- A system-level error occurredpublic 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_PV
setSolutionClass
in interface Solution
solutionClassId
- The repository id of the SolutionClass
ObjectNotFoundException
javax.ejb.EJBException
- A system-level error occurredpublic 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_PV
setOwningGroup
in interface Solution
orgValId
- The repository id of the OrganizationValue to set as the owning group
ObjectNotFoundException
javax.ejb.EJBException
- A system-level error occurredpublic 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_PV
setInternalAudience
in interface Solution
orgValIds
- 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 occurredpublic 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_PV
addTopic
in interface Solution
topicId
- The id of the topic
ObjectNotFoundException
javax.ejb.EJBException
- A system-level error occurredpublic 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_PV
updateTopicIds
in interface Solution
topicIds
- A set of topic ids
ObjectNotFoundException
javax.ejb.EJBException
- A system-level error occurredpublic 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_PV
validate
in interface Solution
atg.svc.validation.ValidationException
javax.ejb.EJBException
- A system-level error occurredpublic java.lang.String getDisplayId() throws javax.ejb.EJBException
atg.svc.repository.beans.pv.Solution_PV
getDisplayId
in interface atg.svc.repository.beans.pv.Solution_PV
getDisplayId
in interface Solution
javax.ejb.EJBException
- A system-level error occurredpublic java.lang.Integer getVersion() throws javax.ejb.EJBException
getVersion
in interface atg.svc.repository.beans.pv.Solution_PV
getVersion
in interface Solution
javax.ejb.EJBException
- A system-level error occurred
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |