|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.faq.service.Category
public class Category
| Field Summary | |
|---|---|
static String |
CATEGORY_ID
|
| Constructor Summary | |
|---|---|
Category()
Class constructor specifying id of object is created |
|
| Method Summary | |
|---|---|
Date |
getCreatedDate()
This method will get date of created date category |
String |
getDescription()
This method get description of category |
String |
getId()
This method get id of category object |
long |
getIndex()
|
String[] |
getModerators()
view users or group or membership will right(Users of FAQ Administrator) |
List<String> |
getModeratorsCategory()
This method get all user is administrator of category to field Moderator |
String |
getName()
This method get name of category object. |
String |
getPath()
|
String[] |
getUserPrivate()
|
boolean |
isModerateAnswers()
|
boolean |
isModerateQuestions()
This method get moderate question |
boolean |
isView()
|
boolean |
isViewAuthorInfor()
|
void |
setCreatedDate(Date date)
This method set time system will time create current category |
void |
setDescription(String description)
description will add information of category with user input |
void |
setId(String id)
This method set an id for category object |
void |
setIndex(long index)
|
void |
setModerateAnswers(boolean isModerateAnswers)
|
void |
setModerateQuestions(boolean isMod)
This method set one category is moderate question |
void |
setModerators(String[] mods)
This method set users or group or membership will administrator of that category |
void |
setName(String name)
This method register the name to display on screen |
void |
setPath(String path)
|
void |
setUserPrivate(String[] userPrivate)
|
void |
setView(boolean isView)
|
void |
setViewAuthorInfor(boolean viewAuthorInfor)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String CATEGORY_ID
| Constructor Detail |
|---|
public Category()
| Method Detail |
|---|
public boolean isView()
public void setView(boolean isView)
public String getId()
public void setId(String id)
id - id which you want set for categorypublic String getName()
public void setName(String name)
name - of category with user inputpublic String getDescription()
public void setDescription(String description)
description - public String[] getModerators()
public void setModerators(String[] mods)
mods - is select in selectorpublic Date getCreatedDate()
public void setCreatedDate(Date date)
date - is time computer systempublic void setModerateQuestions(boolean isMod)
isMod - is true when create question in this category will default is not approved
else is approvedpublic boolean isModerateQuestions()
true if check ModerateQuestions else false
public List<String> getModeratorsCategory()
throws Exception
Exceptionpublic boolean isViewAuthorInfor()
public void setViewAuthorInfor(boolean viewAuthorInfor)
public long getIndex()
public void setIndex(long index)
public boolean isModerateAnswers()
public void setModerateAnswers(boolean isModerateAnswers)
public void setPath(String path)
public String getPath()
public String[] getUserPrivate()
public void setUserPrivate(String[] userPrivate)
userPrivate - the userPrivate to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||