Examples of TagBean


Examples of com.liusoft.dlog4j.beans.TagBean

            if(tag_count>=MAX_TAG_COUNT)
              break;
            String tag_name = (String)tags.get(i);
            if(tag_name.getBytes().length > MAX_TAG_LENGTH)
              continue;
            TagBean tag = new TagBean();
            tag.setSite(journal.getSite());
            tag.setRefId(journal.getId());
            tag.setRefType(DiaryBean.TYPE_DIARY);
            tag.setName(tag_name);
            ssn.save(tag);
            tag_count ++;
          }
        }
      }
View Full Code Here

Examples of com.liusoft.dlog4j.beans.TagBean

              if(tag_count>=MAX_TAG_COUNT)
                break;
              String tag_name = (String)tags.get(i);
              if(tag_name.getBytes().length > MAX_TAG_LENGTH)
                continue;
              TagBean tag = new TagBean();
              tag.setSite(diary.getSite());
              tag.setRefId(diary.getId());
              tag.setRefType(DiaryBean.TYPE_DIARY);
              tag.setName((String)tags.get(i));
              diary.getTags().add(tag);
              tag_count ++;
            }
          }
        }
View Full Code Here

Examples of com.liusoft.dlog4j.beans.TagBean

          if(tag_count>=MAX_TAG_COUNT)
            break;
          String tag_name = (String)tags.get(i);
          if(tag_name.getBytes().length > MAX_TAG_LENGTH)
            continue;
          TagBean tag = new TagBean();
          tag.setSite(topic.getSite());
          tag.setRefId(topic.getId());
          tag.setRefType(DiaryBean.TYPE_BBS);
          tag.setName(tag_name);
          ssn.save(tag);
          tag_count ++;
        }
      }     
     
View Full Code Here

Examples of com.liusoft.dlog4j.beans.TagBean

            if(tag_count>=MAX_TAG_COUNT)
              break;
            String tag_name = (String)tags.get(i);
            if(tag_name.getBytes().length > MAX_TAG_LENGTH)
              continue;
            TagBean tag = new TagBean();
            tag.setSite(topic.getSite());
            tag.setRefId(topic.getId());
            tag.setRefType(DiaryBean.TYPE_BBS);
            tag.setName((String)tags.get(i));
            topic.getTags().add(tag);
            tag_count ++;
          }
        }
      }
View Full Code Here

Examples of com.liusoft.dlog4j.beans.TagBean

              if(tag_count>=MAX_TAG_COUNT)
                break;
              String tag_name = (String)tags.get(i);
              if(tag_name.getBytes().length > MAX_TAG_LENGTH)
                continue;
              TagBean tag = new TagBean();
              tag.setSite(photo.getSite());
              tag.setRefId(photo.getId());
              tag.setRefType(DiaryBean.TYPE_PHOTO);
              tag.setName((String)tags.get(i));
              //System.out.println("************************ tagName: "+tag.getName());
              photo.getTags().add(tag);
              tag_count ++;
            }
          }
View Full Code Here

Examples of com.liusoft.dlog4j.beans.TagBean

            if(tag_count>=MAX_TAG_COUNT)
              break;
            String tag_name = (String)tags.get(i);
            if(tag_name.getBytes().length > MAX_TAG_LENGTH)
              continue;
            TagBean tag = new TagBean();
            tag.setSite(photo.getSite());
            tag.setRefId(photo.getId());
            tag.setRefType(DiaryBean.TYPE_PHOTO);
            tag.setName(tag_name);
            ssn.save(tag);
            tag_count ++;
          }
        }
      }
View Full Code Here

Examples of com.sogou.qadev.service.cynthia.bean.TagBean

      pstm = conn.prepareStatement(sql);
      pstm.setString(1, userName);
      rs = pstm.executeQuery();

      while(rs.next()){
        TagBean tb = new TagBean();
        tb.setId(rs.getString("id"));
        tb.setTagName(rs.getString("name"));
        tb.setCreateUsers(rs.getString("user_name"));
        tb.setTagColor(rs.getString("color"));
        allTagList.add(tb);
      }
    }catch(Exception e)
    {
      e.printStackTrace();
View Full Code Here

Examples of com.sogou.qadev.service.cynthia.bean.TagBean

      pstm.setString(1, userName);
      pstm.setString(2, dataId);
      rs = pstm.executeQuery();
     
      while(rs.next()){
        TagBean tBean = new TagBean();
        tBean.setId(rs.getString("id"));
        tBean.setTagName(rs.getString("name"));
        tBean.setTagColor(rs.getString("color"));
        allTagList.add(tBean);
      }
    }catch(Exception e)
    {
      e.printStackTrace();
View Full Code Here

Examples of gdurelle.gadget.tagcloud.server.tags.TagBean

                    exists = true;
                    tb.increaseNumberOfOccurences();
                }
            }
            if (!exists) {
                TagBean t = new WordTagBean(tag);
                pm.makePersistent(t);
            }
        } finally {
            extent.closeAll();
            pm.close();
View Full Code Here

Examples of org.ajax4jsf.builder.config.TagBean

      addResources(localBeanInstance, rendererBean, config);

      String componentName = null;
     
      TagBean tag = componentBean.getTag();
      if (tag != null) {
        componentName = tag.getName();
      }
     
      if (componentName == null) {
        TagHandlerBean taghandler = componentBean.getTaghandler();
        if (taghandler != null) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.