org.opoo.press.impl
类 CategoryImpl

java.lang.Object
  继承者 org.opoo.press.impl.CategoryImpl
所有已实现的接口:
Category, PostsHolder

public class CategoryImpl
extends Object
implements Category

作者:
Alex Lin

构造方法摘要
CategoryImpl(String nicename, String name, Category parent, Site site)
           
CategoryImpl(String nicename, String name, Site site)
           
 
方法摘要
 List<Category> getChildren()
           
 String getName()
           
 String getNicename()
           
 Category getParent()
           
 String getPath()
           
 List<Post> getPosts()
           
 String getTitle()
           
 String getUrl()
           
 boolean isNameOrNicename(String nameOrNicename)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

CategoryImpl

public CategoryImpl(String nicename,
                    String name,
                    Site site)

CategoryImpl

public CategoryImpl(String nicename,
                    String name,
                    Category parent,
                    Site site)
方法详细信息

getParent

public Category getParent()
指定者:
接口 Category 中的 getParent
返回:
the parent

getChildren

public List<Category> getChildren()
指定者:
接口 Category 中的 getChildren

getNicename

public String getNicename()
指定者:
接口 Category 中的 getNicename
返回:
the nicename

getName

public String getName()
指定者:
接口 Category 中的 getName
返回:
the name

getPosts

public List<Post> getPosts()
指定者:
接口 PostsHolder 中的 getPosts
返回:
the posts

isNameOrNicename

public boolean isNameOrNicename(String nameOrNicename)
指定者:
接口 Category 中的 isNameOrNicename

getTitle

public String getTitle()
指定者:
接口 Category 中的 getTitle

getUrl

public String getUrl()
指定者:
接口 Category 中的 getUrl

getPath

public String getPath()
指定者:
接口 Category 中的 getPath


Copyright © 2013-2014 Opoo.org. All Rights Reserved.