THE GREAT RENAMING! All that was "SIG" should now be "community," except for
the database and the URLs (for backward compatibility). Do a full rebuild after browsing this one!
This commit is contained in:
@@ -42,7 +42,7 @@ public class TopicPosts implements JSPRender
|
||||
*/
|
||||
|
||||
private VeniceEngine engine;
|
||||
private SIGContext sig;
|
||||
private CommunityContext comm;
|
||||
private ConferenceContext conf;
|
||||
private TopicContext topic;
|
||||
private int first;
|
||||
@@ -60,16 +60,16 @@ public class TopicPosts implements JSPRender
|
||||
*--------------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
public TopicPosts(HttpServletRequest request, VeniceEngine engine, SIGContext sig, ConferenceContext conf,
|
||||
TopicContext topic, int first, int last, boolean read_new, boolean show_advanced)
|
||||
throws DataException, AccessError
|
||||
public TopicPosts(HttpServletRequest request, VeniceEngine engine, CommunityContext comm,
|
||||
ConferenceContext conf, TopicContext topic, int first, int last, boolean read_new,
|
||||
boolean show_advanced) throws DataException, AccessError
|
||||
{
|
||||
if (logger.isDebugEnabled())
|
||||
logger.debug("TopicPosts: sig=" + sig.getSIGID() + ", conf=" + conf.getConfID() + ", topic="
|
||||
logger.debug("TopicPosts: comm=" + comm.getCommunityID() + ", conf=" + conf.getConfID() + ", topic="
|
||||
+ topic.getTopicNumber() + ", range=[" + first + ", " + last + "], rnm=" + read_new
|
||||
+ ", shac=" + show_advanced);
|
||||
this.engine = engine;
|
||||
this.sig = sig;
|
||||
this.comm = comm;
|
||||
this.conf = conf;
|
||||
this.topic = topic;
|
||||
this.first = first;
|
||||
@@ -86,7 +86,7 @@ public class TopicPosts implements JSPRender
|
||||
visit_order.visit(topic.getTopicNumber());
|
||||
List aliases = conf.getAliases();
|
||||
topic_stem = (String)(aliases.get(0)) + "." + topic.getTopicNumber() + ".";
|
||||
topic_qid = "go/" + sig.getAlias() + "!" + (String)(aliases.get(0)) + "." + topic.getTopicNumber();
|
||||
topic_qid = "go/" + comm.getAlias() + "!" + (String)(aliases.get(0)) + "." + topic.getTopicNumber();
|
||||
|
||||
} // end constructor
|
||||
|
||||
@@ -171,11 +171,11 @@ public class TopicPosts implements JSPRender
|
||||
|
||||
} // end getMessageBodyText
|
||||
|
||||
public int getSIGID()
|
||||
public int getCommunityID()
|
||||
{
|
||||
return sig.getSIGID();
|
||||
return comm.getCommunityID();
|
||||
|
||||
} // end getSIGID
|
||||
} // end getCommunityID
|
||||
|
||||
public int getConfID()
|
||||
{
|
||||
@@ -201,7 +201,7 @@ public class TopicPosts implements JSPRender
|
||||
public String getConfLocator()
|
||||
{
|
||||
StringBuffer buf = new StringBuffer("sig=");
|
||||
buf.append(sig.getSIGID()).append("&conf=").append(conf.getConfID());
|
||||
buf.append(comm.getCommunityID()).append("&conf=").append(conf.getConfID());
|
||||
return buf.toString();
|
||||
|
||||
} // end getConfLocator
|
||||
@@ -211,7 +211,7 @@ public class TopicPosts implements JSPRender
|
||||
if (cache_locator==null)
|
||||
{ // build up the standard locator
|
||||
StringBuffer buf = new StringBuffer("sig=");
|
||||
buf.append(sig.getSIGID()).append("&conf=").append(conf.getConfID()).append("&top=");
|
||||
buf.append(comm.getCommunityID()).append("&conf=").append(conf.getConfID()).append("&top=");
|
||||
buf.append(topic.getTopicNumber());
|
||||
cache_locator = buf.toString();
|
||||
|
||||
@@ -224,7 +224,7 @@ public class TopicPosts implements JSPRender
|
||||
public String getNextLocator()
|
||||
{
|
||||
StringBuffer buf = new StringBuffer("sig=");
|
||||
buf.append(sig.getSIGID()).append("&conf=").append(conf.getConfID());
|
||||
buf.append(comm.getCommunityID()).append("&conf=").append(conf.getConfID());
|
||||
if (visit_order!=null)
|
||||
buf.append("&top=").append(visit_order.getNext());
|
||||
return buf.toString();
|
||||
|
||||
Reference in New Issue
Block a user