|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sakaiproject.entitybroker.entityprovider.extension.BrowseEntity
public class BrowseEntity
This is an object to hold data about a browseable entity type
| Nested Class Summary | |
|---|---|
static class |
BrowseEntity.PrefixComparator
|
static class |
BrowseEntity.TitleComparator
|
| Constructor Summary | |
|---|---|
BrowseEntity(String prefix)
Minimal constructor |
|
BrowseEntity(String prefix,
String title,
String description)
Constructor for types with no children or access provider |
|
BrowseEntity(String prefix,
String title,
String description,
String[] nestedPrefixes,
String[] entityViewKeys)
Constructor for complete types with most optional information, all optionals can be null |
|
| Method Summary | |
|---|---|
void |
addEntityViewKeys(String entityViewKey)
Adds a view key which is known to be supported by this entity types access provider |
void |
addNestedPrefix(String prefix)
Adds a nested prefix which is a child of this entity type |
boolean |
equals(Object obj)
|
String |
getDescription()
|
List<String> |
getEntityAccessViews()
Get the list of entity access views (e.g. |
List<String> |
getNestedPrefixes()
Gets all the nested children prefixes for this entity type (if there are any) |
String |
getParentPrefix()
|
String |
getPrefix()
|
String |
getTitle()
|
int |
hashCode()
|
void |
setEntityViewKeys(String[] entityViewKeys)
|
void |
setNestedPrefixes(String[] nestedPrefixes)
|
void |
setParentPrefix(String parentPrefix)
|
void |
setTitleDesc(String title,
String description)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BrowseEntity(String prefix)
prefix - an entity prefix
public BrowseEntity(String prefix,
String title,
String description)
prefix - an entity prefixtitle - a display titledescription - (optional) display description
public BrowseEntity(String prefix,
String title,
String description,
String[] nestedPrefixes,
String[] entityViewKeys)
prefix - an entity prefixtitle - a display titledescription - (optional) display descriptionnestedPrefixes - (optional) the list of nested (children) prefixesentityViewKeys - (optional) the list of handled views for the access provider| Method Detail |
|---|
public void setTitleDesc(String title,
String description)
public void setNestedPrefixes(String[] nestedPrefixes)
public void setEntityViewKeys(String[] entityViewKeys)
public void addNestedPrefix(String prefix)
prefix - an entity prefixpublic void addEntityViewKeys(String entityViewKey)
entityViewKey - an entity view key (e.g. EntityView.VIEW_NEW)public void setParentPrefix(String parentPrefix)
public String getPrefix()
public String getTitle()
public String getDescription()
public String getParentPrefix()
public List<String> getNestedPrefixes()
public List<String> getEntityAccessViews()
EntityView.VIEW_NEW) that are known to be handled by this entity type
public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||