Develop and Download Open Source Software

Browse CVS Repository

Diff of /pal/blog/src/java/jp/sf/pal/blog/bean/BlogTrackbackTitleViewPageBean.java

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.2 by shinsuke, Fri Mar 24 22:10:05 2006 UTC revision 1.3 by tigercat, Wed Feb 6 03:53:02 2008 UTC
# Line 1  Line 1 
1  /*  /*
2   * Copyright 2005-2006 The Portal Application Laboratory Team.   * Copyright 2005-2008 The Portal Application Laboratory Team.
3   *   *
4   * Licensed under the Apache License, Version 2.0 (the "License");   * Licensed under the Apache License, Version 2.0 (the "License");
5   * you may not use this file except in compliance with the License.   * you may not use this file except in compliance with the License.
# Line 26  import javax.faces.model.DataModel; Line 26  import javax.faces.model.DataModel;
26  import jp.sf.pal.blog.BlogConstants;  import jp.sf.pal.blog.BlogConstants;
27  import jp.sf.pal.blog.model.BlogTrackback;  import jp.sf.pal.blog.model.BlogTrackback;
28  import jp.sf.pal.blog.util.BlogMessaging;  import jp.sf.pal.blog.util.BlogMessaging;
29    import jp.sf.pal.blog.util.BlogMessagingKeyToken;
30    
31  import org.apache.commons.logging.Log;  import org.apache.commons.logging.Log;
32  import org.apache.commons.logging.LogFactory;  import org.apache.commons.logging.LogFactory;
# Line 60  public class BlogTrackbackTitleViewPageB Line 61  public class BlogTrackbackTitleViewPageB
61          BlogTrackback blogMsg = (BlogTrackback) blogMap.get("0");          BlogTrackback blogMsg = (BlogTrackback) blogMap.get("0");
62          if (blogMsg != null)          if (blogMsg != null)
63          {          {
64                BlogMessagingKeyToken keyToken = new BlogMessagingKeyToken();
65                keyToken.setPrefix(BlogConstants.BLOG_MESSAGE_ID);
66                keyToken.setOwner(getTrackbackTitleViewSession().getOwner());
67              try              try
68              {              {
69                  BlogMessaging.publishToAll(BlogConstants.BLOG_MESSAGE_ID,                  BlogMessaging.publishToAll(keyToken.toString(),
70                          blogMsg.getBlogMessage().getId());                          blogMsg.getBlogMessage().getId());
71              }              }
72              catch (NotSerializableException e)              catch (NotSerializableException e)

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26