|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dlese.dpc.suggest.SuggestHelper org.dlese.dpc.suggest.comment.SuggestCommentHelper
public class SuggestCommentHelper
Provides services for SuggestComment Client.
Field Summary | |
---|---|
protected WebServiceClient |
searchServiceClient
NOT YET DOCUMENTED |
protected String |
searchServiceUrl
NOT YET DOCUMENTED |
Fields inherited from class org.dlese.dpc.suggest.SuggestHelper |
---|
dcsStatus, dcsStatusNote, recordTemplate, schemaHelper |
Constructor Summary | |
---|---|
SuggestCommentHelper(File recordTemplate,
SchemaHelper schemaHelper)
SuggestCommentHelper Constructor. |
Method Summary | |
---|---|
Map |
getItemRecordProps(String id)
Gets the itemRecordProps attribute of the SuggestCommentHelper object |
WebServiceClient |
getSearchServiceClient()
Gets the searchServiceClient attribute of the SuggestCommentHelper object |
String |
getXmlFormat()
Gets the xmlFormat attribute of the SuggestCommentHelper object |
CommentRecord |
newRecord()
Creates a new ResourceRecord instance by reading from the
recordTemplate. |
String |
putRecordToDCS(SuggestionRecord rec)
Insert a suggested record into the DCS specified by client configuration. |
static void |
setDebug(boolean db)
Sets the debug attribute of the SuggestCommentHelper object |
void |
setSearchServiceClient(WebServiceClient wsc)
Sets the searchServiceClient attribute of the SuggestCommentHelper object |
Methods inherited from class org.dlese.dpc.suggest.SuggestHelper |
---|
getDateStamp, getDestCollection, getEmailFrom, getEmailTo, getMailServer, getRepositoryServiceClient, getSchemaHelper, getViewBaseUrl, prtlnErr, setDcsStatus, setDcsStatusNote, setDestCollection, setEmailFrom, setEmailTo, setMailServer, setRepositoryServiceClient |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String searchServiceUrl
protected WebServiceClient searchServiceClient
Constructor Detail |
---|
public SuggestCommentHelper(File recordTemplate, SchemaHelper schemaHelper)
org.dlese.dpc.suggest.SuggestCommentHelper
).
recordTemplate
- NOT YET DOCUMENTEDschemaHelper
- NOT YET DOCUMENTEDMethod Detail |
---|
public String getXmlFormat()
getXmlFormat
in class SuggestHelper
public CommentRecord newRecord() throws Exception
ResourceRecord
instance by reading from the
recordTemplate. We don't call readRecord (file) because we don't want the
id to be set for the new record
newRecord
in class SuggestHelper
Exception
- NOT YET DOCUMENTEDpublic Map getItemRecordProps(String id) throws Exception
id
- NOT YET DOCUMENTED
Exception
- NOT YET DOCUMENTEDpublic String putRecordToDCS(SuggestionRecord rec) throws Exception
putRecordToDCS
in class SuggestHelper
rec
- NOT YET DOCUMENTED
Exception
- Description of the Exceptionpublic WebServiceClient getSearchServiceClient()
public void setSearchServiceClient(WebServiceClient wsc)
wsc
- The new searchServiceClient valuepublic static void setDebug(boolean db)
db
- The new debug value
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |