19 package org.turro.entities;
22 import java.util.Collection;
23 import java.util.Collections;
24 import java.util.HashMap;
25 import java.util.List;
26 import org.turro.action.IElephantSendable;
27 import org.turro.action.LinkType;
28 import org.turro.collections.KeyValueMap;
29 import org.turro.elephant.context.IConstructor;
30 import org.turro.file.Folder;
31 import org.turro.participation.ParticipationReason;
32 import org.turro.path.Path;
33 import org.turro.plugin.contacts.IContact;
34 import org.turro.script.Script;
35 import org.turro.security.ConceptPermission;
125 return Collections.EMPTY_LIST;
160 return Collections.EMPTY_LIST;
170 return getEntitites(search, maxResults,
new KeyValueMap(
new HashMap()));
174 public Collection
getEntitites(String root, String search,
int maxResults) {
175 return getEntitites(root, search, maxResults,
new KeyValueMap(
new HashMap()));
179 public Collection
getEntitites(String search,
int maxResults, KeyValueMap kvm) {
180 return Collections.EMPTY_LIST;
184 public Collection
getEntitites(String root, String search,
int maxResults, KeyValueMap kvm) {
185 return Collections.EMPTY_LIST;
285 return (
EntitySet) Collections.EMPTY_SET;
boolean canShowInContext(IContact contact, Object relatedEntity)
Collection< String > getAllowedRoots()
Collection getEntitites(String root, String search, int maxResults, KeyValueMap kvm)
boolean canEdit(IContact contact)
IElephantSendable getSendable()
boolean isActor(IContact contact, String actor)
String getEntityUrl(LinkType type, String contextPath)
Object getObject(Path entityPath)
String getHierarchicalPath()
EntitySet getAllChildren()
Object getControl(String name, IConstructor constructor, IContact contact)
Collection getEntitites(String search, int maxResults, KeyValueMap kvm)
Collection getEntitites(String root, String search, int maxResults)
Object getParticipationControl(IConstructor constructor, IContact contact, ParticipationReason reason)
String parseFollowCtrl(IConstructor constructor)
boolean isActor(String actor)
boolean hasRelatedRole(EntityRole role, IContact contact)
boolean canPublish(IContact contact)
String getExtendedWebPath()
List< IElephantEntity > getChildren()
String parseSpamCtrl(IConstructor constructor)
IElephantEntity getParent()
Collection getEntitites(String search, int maxResults)
IElephantEntity getMain(Object entity)
Object configureCtrl(Object ctrl, IContact contact)
String getReadAllUrl(LinkType type, String contextPath)
Collection< Object > getRelatedByRole(EntityRole role, IContact contact)
ConceptPermission getConceptPermission(String name)
Object getControl(String name, IContact contact)
Object getControl(String name, String entityPath, IContact contact)
IElephantEntity getController(Object entity)
IElephantEntity getController(String entityPath)
Object getParticipationControl(IConstructor constructor, ParticipationReason reason)
static final String EMPTY_ID