Public Member Functions | |
IElephantEntity | getController (String entityPath) |
IElephantEntity | getController (Object entity) |
boolean | isEmpty () |
String | getTreeLabel () |
String | getStringId () |
Object | getEntity () |
String | getName () |
String | getLabel () |
String | getNameOrLabel () |
String | getDescription () |
Object | getLabelCtrl () |
String | getImage () |
String | getRoot () |
String | getPath () |
String | getHierarchicalPath () |
IElephantEntity | getParent () |
List< IElephantEntity > | getChildren () |
String | getExtendedPath () |
File | getFile () |
boolean | showPath () |
boolean | showEntity () |
boolean | canEdit (IContact contact) |
boolean | canPublish (IContact contact) |
Collection | getEntitites (String search, int maxResults) |
Collection | getEntitites (String root, String search, int maxResults) |
Collection | getEntitites (String search, int maxResults, KeyValueMap kvm) |
Collection | getEntitites (String root, String search, int maxResults, KeyValueMap kvm) |
Collection< String > | getAllowedRoots () |
IElephantSendable | getSendable () |
Object | configureCtrl (Object ctrl, IContact contact) |
boolean | canShowInContext (IContact contact, Object relatedEntity) |
Collection< Object > | getRelatedByRole (EntityRole role, IContact contact) |
boolean | hasRelatedRole (EntityRole role, IContact contact) |
String | getExtendedWebPath () |
String | getEntityUrl () |
String | getMemberUrl () |
String | getAppUrl () |
String | getEntityUrl (LinkType type, String contextPath) |
String | getReadAllUrl (LinkType type, String contextPath) |
String | getLinkRoot () |
String | getUserContext () |
Object | getControl (String name, IConstructor constructor, IContact contact) |
Object | getControl (String name, String entityPath, IContact contact) |
Object | getControl (String name, IContact contact) |
Object | getParticipationControl (IConstructor constructor, ParticipationReason reason) |
Object | getParticipationControl (IConstructor constructor, IContact contact, ParticipationReason reason) |
String | parseSpamCtrl (IConstructor constructor) |
String | parseFollowCtrl (IConstructor constructor) |
EntitySet | getAllChildren () |
Script | getActorScript () |
boolean | isActor (String actor) |
boolean | isActor (IContact contact, String actor) |
ConceptPermission | getConceptPermission (String name) |
Folder | getDeliverables () |
Object | getObject (Path entityPath) |
IElephantEntity | getMain (Object entity) |
Static Public Attributes | |
static final String | EMPTY_ID = "#" |
static final String | PATH_SEPARATOR = ";" |
Definition at line 39 of file IElephantEntity.java.
boolean org.turro.entities.IElephantEntity.canEdit | ( | IContact | contact | ) |
Checks when contact has permissions to edit the entity.
contact | the contact checked. |
Implemented in org.turro.entities.EmptyController, org.turro.entities.StudentsEntities, org.turro.entities.ElephantEntities, org.turro.entities.AllianceEntities, org.turro.entities.PublicationEntities, org.turro.entitites.DossierEntities, org.turro.entities.CrmEntities, org.turro.entities.AttachEntities, org.turro.entities.ContactEntities, and org.turro.entities.FinancialsEntities.
boolean org.turro.entities.IElephantEntity.canPublish | ( | IContact | contact | ) |
Checks when contact has permissions to see the entity.
contact | the contact checked. |
Implemented in org.turro.entities.EmptyController, org.turro.entities.StudentsEntities, org.turro.entities.ElephantEntities, org.turro.entities.AllianceEntities, org.turro.entities.PublicationEntities, org.turro.entitites.DossierEntities, org.turro.entities.CrmEntities, org.turro.entities.AttachEntities, org.turro.entities.ContactEntities, and org.turro.entities.FinancialsEntities.
boolean org.turro.entities.IElephantEntity.canShowInContext | ( | IContact | contact, |
Object | relatedEntity | ||
) |
Checks whether the related entity can be shown to the given contact.
contact | the contact to be checked against. |
relatedEntity | the related entity to be shown. |
Implemented in org.turro.entities.EmptyController, org.turro.entities.StudentsEntities, org.turro.entities.ElephantEntities, org.turro.entities.AllianceEntities, org.turro.entities.PublicationEntities, org.turro.entitites.DossierEntities, org.turro.entities.CrmEntities, org.turro.entities.AttachEntities, org.turro.entities.ContactEntities, and org.turro.entities.FinancialsEntities.
Object org.turro.entities.IElephantEntity.configureCtrl | ( | Object | ctrl, |
IContact | contact | ||
) |
Configures specific entity related controls for the given contact.
ctrl | the control to configure. |
contact | the contact who receive the control. |
Implemented in org.turro.entities.EmptyController, org.turro.entities.StudentsEntities, org.turro.entities.ElephantEntities, org.turro.entities.AllianceEntities, org.turro.entities.PublicationEntities, org.turro.entitites.DossierEntities, org.turro.entities.CrmEntities, org.turro.entities.AttachEntities, org.turro.entities.ContactEntities, and org.turro.entities.FinancialsEntities.
Script org.turro.entities.IElephantEntity.getActorScript | ( | ) |
Implemented in org.turro.entities.EmptyController, org.turro.entities.DefaultElephantEntity, and org.turro.entitites.DossierEntities.
EntitySet org.turro.entities.IElephantEntity.getAllChildren | ( | ) |
Implemented in org.turro.entities.EmptyController, and org.turro.entities.DefaultElephantEntity.
Collection<String> org.turro.entities.IElephantEntity.getAllowedRoots | ( | ) |
Implemented in org.turro.entities.EmptyController, org.turro.entities.StudentsEntities, org.turro.entities.ElephantEntities, org.turro.entities.AllianceEntities, org.turro.entities.PublicationEntities, org.turro.entitites.DossierEntities, org.turro.entities.CrmEntities, org.turro.entities.AttachEntities, org.turro.entities.ContactEntities, and org.turro.entities.FinancialsEntities.
String org.turro.entities.IElephantEntity.getAppUrl | ( | ) |
Returns the app link for this entity.
Implemented in org.turro.entities.EmptyController, and org.turro.entities.DefaultElephantEntity.
List<IElephantEntity> org.turro.entities.IElephantEntity.getChildren | ( | ) |
Gets the children for this entity.
Implemented in org.turro.entities.EmptyController, org.turro.entities.StudentsEntities, org.turro.entities.ElephantEntities, org.turro.entities.AllianceEntities, org.turro.entities.PublicationEntities, org.turro.entitites.DossierEntities, org.turro.entities.CrmEntities, org.turro.entities.AttachEntities, org.turro.entities.ContactEntities, and org.turro.entities.FinancialsEntities.
ConceptPermission org.turro.entities.IElephantEntity.getConceptPermission | ( | String | name | ) |
Object org.turro.entities.IElephantEntity.getControl | ( | String | name, |
IConstructor | constructor, | ||
IContact | contact | ||
) |
Returns a configured control based on this entity
name | control name |
contact | contact viewing this control |
Implemented in org.turro.entities.EmptyController, and org.turro.entities.DefaultElephantEntity.
Object org.turro.entities.IElephantEntity.getControl | ( | String | name, |
IContact | contact | ||
) |
Implemented in org.turro.entities.EmptyController, and org.turro.entities.DefaultElephantEntity.
Object org.turro.entities.IElephantEntity.getControl | ( | String | name, |
String | entityPath, | ||
IContact | contact | ||
) |
Implemented in org.turro.entities.EmptyController, and org.turro.entities.DefaultElephantEntity.
IElephantEntity org.turro.entities.IElephantEntity.getController | ( | Object | entity | ) |
Gets a controller for entity.
entity | the entity object. |
Implemented in org.turro.entities.EmptyController, and org.turro.entities.DefaultElephantEntity.
IElephantEntity org.turro.entities.IElephantEntity.getController | ( | String | entityPath | ) |
Gets a controller for entityPath.
entityPath | representing the path for entity or entity's root. |
Implemented in org.turro.entities.EmptyController, and org.turro.entities.DefaultElephantEntity.
Folder org.turro.entities.IElephantEntity.getDeliverables | ( | ) |
Implemented in org.turro.entities.EmptyController, and org.turro.entities.DefaultElephantEntity.
String org.turro.entities.IElephantEntity.getDescription | ( | ) |
Gets the entity description.
Implemented in org.turro.entities.EmptyController, org.turro.entities.StudentsEntities, org.turro.entities.ElephantEntities, org.turro.entities.AllianceEntities, org.turro.entities.PublicationEntities, org.turro.entitites.DossierEntities, org.turro.entities.CrmEntities, org.turro.entities.AttachEntities, org.turro.entities.ContactEntities, and org.turro.entities.FinancialsEntities.
Collection org.turro.entities.IElephantEntity.getEntitites | ( | String | root, |
String | search, | ||
int | maxResults | ||
) |
Implemented in org.turro.entities.EmptyController, and org.turro.entities.DefaultElephantEntity.
Collection org.turro.entities.IElephantEntity.getEntitites | ( | String | root, |
String | search, | ||
int | maxResults, | ||
KeyValueMap | kvm | ||
) |
Implemented in org.turro.entities.EmptyController, org.turro.entities.StudentsEntities, org.turro.entities.ElephantEntities, org.turro.entities.AllianceEntities, org.turro.entities.PublicationEntities, org.turro.entitites.DossierEntities, org.turro.entities.CrmEntities, org.turro.entities.AttachEntities, org.turro.entities.ContactEntities, and org.turro.entities.FinancialsEntities.
Collection org.turro.entities.IElephantEntity.getEntitites | ( | String | search, |
int | maxResults | ||
) |
Implemented in org.turro.entities.EmptyController, and org.turro.entities.DefaultElephantEntity.
Collection org.turro.entities.IElephantEntity.getEntitites | ( | String | search, |
int | maxResults, | ||
KeyValueMap | kvm | ||
) |
Implemented in org.turro.entities.EmptyController, org.turro.entities.StudentsEntities, org.turro.entities.ElephantEntities, org.turro.entities.AllianceEntities, org.turro.entities.PublicationEntities, org.turro.entitites.DossierEntities, org.turro.entities.CrmEntities, org.turro.entities.AttachEntities, org.turro.entities.ContactEntities, and org.turro.entities.FinancialsEntities.
Object org.turro.entities.IElephantEntity.getEntity | ( | ) |
Returns the entity for this controller.
Implemented in org.turro.entities.EmptyController, org.turro.entities.StudentsEntities, org.turro.entities.ElephantEntities, org.turro.entities.AllianceEntities, org.turro.entities.PublicationEntities, org.turro.entitites.DossierEntities, org.turro.entities.CrmEntities, org.turro.entities.AttachEntities, org.turro.entities.ContactEntities, and org.turro.entities.FinancialsEntities.
String org.turro.entities.IElephantEntity.getEntityUrl | ( | ) |
Returns the web url for this entity.
Implemented in org.turro.entities.EmptyController, and org.turro.entities.DefaultElephantEntity.
String org.turro.entities.IElephantEntity.getEntityUrl | ( | LinkType | type, |
String | contextPath | ||
) |
Returns the web link for this entity.
type | web, member or app. |
contextPath | if specified, will be used instead of defaults. |
Implemented in org.turro.entities.EmptyController, org.turro.entities.StudentsEntities, org.turro.entities.ElephantEntities, and org.turro.entities.DefaultElephantEntity.
String org.turro.entities.IElephantEntity.getExtendedPath | ( | ) |
Gets the extended path for this entity.
Implemented in org.turro.entities.EmptyController, org.turro.entities.StudentsEntities, org.turro.entities.ElephantEntities, org.turro.entities.AllianceEntities, org.turro.entities.PublicationEntities, org.turro.entitites.DossierEntities, org.turro.entities.CrmEntities, org.turro.entities.AttachEntities, org.turro.entities.ContactEntities, and org.turro.entities.FinancialsEntities.
String org.turro.entities.IElephantEntity.getExtendedWebPath | ( | ) |
Returns a unique path for the entity.
Implemented in org.turro.entities.EmptyController, org.turro.entities.StudentsEntities, org.turro.entities.ElephantEntities, org.turro.entities.AllianceEntities, org.turro.entities.PublicationEntities, org.turro.entitites.DossierEntities, org.turro.entities.CrmEntities, org.turro.entities.AttachEntities, org.turro.entities.ContactEntities, and org.turro.entities.FinancialsEntities.
File org.turro.entities.IElephantEntity.getFile | ( | ) |
Gets the file represented by the entity.
Implemented in org.turro.entities.EmptyController, org.turro.entities.StudentsEntities, org.turro.entities.ElephantEntities, org.turro.entities.AllianceEntities, org.turro.entities.PublicationEntities, org.turro.entitites.DossierEntities, org.turro.entities.CrmEntities, org.turro.entities.AttachEntities, org.turro.entities.ContactEntities, and org.turro.entities.FinancialsEntities.
String org.turro.entities.IElephantEntity.getHierarchicalPath | ( | ) |
Gets the hierarchical path for this entity. Mostly used for sorting purposes.
Implemented in org.turro.entities.EmptyController, org.turro.entities.StudentsEntities, org.turro.entities.ElephantEntities, org.turro.entities.AllianceEntities, org.turro.entities.PublicationEntities, org.turro.entitites.DossierEntities, org.turro.entities.CrmEntities, org.turro.entities.AttachEntities, org.turro.entities.ContactEntities, and org.turro.entities.FinancialsEntities.
String org.turro.entities.IElephantEntity.getImage | ( | ) |
Gets the entity image based on its root.
Implemented in org.turro.entities.EmptyController, org.turro.entities.StudentsEntities, org.turro.entities.ElephantEntities, org.turro.entities.AllianceEntities, org.turro.entities.PublicationEntities, org.turro.entitites.DossierEntities, org.turro.entities.CrmEntities, org.turro.entities.AttachEntities, org.turro.entities.ContactEntities, and org.turro.entities.FinancialsEntities.
String org.turro.entities.IElephantEntity.getLabel | ( | ) |
Gets the entity label, based on its root.
Implemented in org.turro.entities.EmptyController, org.turro.entities.StudentsEntities, org.turro.entities.ElephantEntities, org.turro.entities.AllianceEntities, org.turro.entities.PublicationEntities, org.turro.entitites.DossierEntities, org.turro.entities.CrmEntities, org.turro.entities.AttachEntities, org.turro.entities.ContactEntities, and org.turro.entities.FinancialsEntities.
Object org.turro.entities.IElephantEntity.getLabelCtrl | ( | ) |
Gets the label control, usually a clickable LabelControl class.
Implemented in org.turro.entities.EmptyController, org.turro.entities.StudentsEntities, org.turro.entities.ElephantEntities, org.turro.entities.AllianceEntities, org.turro.entities.PublicationEntities, org.turro.entitites.DossierEntities, org.turro.entities.CrmEntities, org.turro.entities.AttachEntities, org.turro.entities.ContactEntities, and org.turro.entities.FinancialsEntities.
String org.turro.entities.IElephantEntity.getLinkRoot | ( | ) |
Returns the link root, defaults to path root.
Implemented in org.turro.entities.EmptyController, org.turro.entities.DefaultElephantEntity, and org.turro.entitites.DossierEntities.
IElephantEntity org.turro.entities.IElephantEntity.getMain | ( | Object | entity | ) |
Implemented in org.turro.entities.EmptyController, org.turro.entities.DefaultElephantEntity, org.turro.entitites.DossierEntities, and org.turro.entities.ContactEntities.
String org.turro.entities.IElephantEntity.getMemberUrl | ( | ) |
Returns the member link for this entity.
Implemented in org.turro.entities.EmptyController, and org.turro.entities.DefaultElephantEntity.
String org.turro.entities.IElephantEntity.getName | ( | ) |
Gets the entity name.
Implemented in org.turro.entities.EmptyController, org.turro.entities.StudentsEntities, org.turro.entities.ElephantEntities, org.turro.entities.AllianceEntities, org.turro.entities.PublicationEntities, org.turro.entitites.DossierEntities, org.turro.entities.CrmEntities, org.turro.entities.AttachEntities, org.turro.entities.ContactEntities, and org.turro.entities.FinancialsEntities.
String org.turro.entities.IElephantEntity.getNameOrLabel | ( | ) |
Gets the entity name or label, if name is null.
Implemented in org.turro.entities.EmptyController, and org.turro.entities.DefaultElephantEntity.
Object org.turro.entities.IElephantEntity.getObject | ( | Path | entityPath | ) |
IElephantEntity org.turro.entities.IElephantEntity.getParent | ( | ) |
Gets the parent for this entity.
Implemented in org.turro.entities.EmptyController, org.turro.entities.StudentsEntities, org.turro.entities.ElephantEntities, org.turro.entities.AllianceEntities, org.turro.entities.PublicationEntities, org.turro.entitites.DossierEntities, org.turro.entities.CrmEntities, org.turro.entities.AttachEntities, org.turro.entities.ContactEntities, and org.turro.entities.FinancialsEntities.
Object org.turro.entities.IElephantEntity.getParticipationControl | ( | IConstructor | constructor, |
IContact | contact, | ||
ParticipationReason | reason | ||
) |
Implemented in org.turro.entities.EmptyController, and org.turro.entities.DefaultElephantEntity.
Object org.turro.entities.IElephantEntity.getParticipationControl | ( | IConstructor | constructor, |
ParticipationReason | reason | ||
) |
Implemented in org.turro.entities.EmptyController, and org.turro.entities.DefaultElephantEntity.
String org.turro.entities.IElephantEntity.getPath | ( | ) |
Gets the entity's path.
Implemented in org.turro.entities.EmptyController, and org.turro.entities.DefaultElephantEntity.
String org.turro.entities.IElephantEntity.getReadAllUrl | ( | LinkType | type, |
String | contextPath | ||
) |
Returns the read all web link for this type of entity.
type | web, member or app. |
contextPath | if specified, will be used instead of defaults. |
Implemented in org.turro.entities.EmptyController, and org.turro.entities.DefaultElephantEntity.
Collection<Object> org.turro.entities.IElephantEntity.getRelatedByRole | ( | EntityRole | role, |
IContact | contact | ||
) |
Gets entities where contact has the specified role.
role | the role to conform. |
contact | the contact to check. |
Implemented in org.turro.entities.EmptyController, org.turro.entities.DefaultElephantEntity, and org.turro.entities.FinancialsEntities.
String org.turro.entities.IElephantEntity.getRoot | ( | ) |
Gets the entity's root.
Implemented in org.turro.entities.EmptyController, and org.turro.entities.DefaultElephantEntity.
IElephantSendable org.turro.entities.IElephantEntity.getSendable | ( | ) |
Gets sendable control for entity.
Implemented in org.turro.entities.EmptyController, org.turro.entities.DefaultElephantEntity, org.turro.entities.PublicationEntities, and org.turro.entities.ContactEntities.
String org.turro.entities.IElephantEntity.getStringId | ( | ) |
Returns de id part of the entity's path.
Implemented in org.turro.entities.EmptyController, and org.turro.entities.DefaultElephantEntity.
String org.turro.entities.IElephantEntity.getTreeLabel | ( | ) |
Returns de string label for the entity or entity's path. Usually a generic when the path is a root, or the entity's name.
Implemented in org.turro.entities.EmptyController, and org.turro.entities.DefaultElephantEntity.
String org.turro.entities.IElephantEntity.getUserContext | ( | ) |
Returns the user context for this type of entity
Implemented in org.turro.entities.EmptyController, org.turro.entities.StudentsEntities, org.turro.entities.ElephantEntities, org.turro.entities.AllianceEntities, org.turro.entities.PublicationEntities, org.turro.entitites.DossierEntities, org.turro.entities.CrmEntities, org.turro.entities.AttachEntities, org.turro.entities.ContactEntities, and org.turro.entities.FinancialsEntities.
boolean org.turro.entities.IElephantEntity.hasRelatedRole | ( | EntityRole | role, |
IContact | contact | ||
) |
Checks whether contact has the specified role.
role | the role to conform. |
contact | the contact to check. |
Implemented in org.turro.entities.EmptyController, org.turro.entities.DefaultElephantEntity, org.turro.entitites.DossierEntities, and org.turro.entities.FinancialsEntities.
boolean org.turro.entities.IElephantEntity.isActor | ( | IContact | contact, |
String | actor | ||
) |
Implemented in org.turro.entities.EmptyController, and org.turro.entities.DefaultElephantEntity.
boolean org.turro.entities.IElephantEntity.isActor | ( | String | actor | ) |
Implemented in org.turro.entities.EmptyController, and org.turro.entities.DefaultElephantEntity.
boolean org.turro.entities.IElephantEntity.isEmpty | ( | ) |
Is the empty controller.
Implemented in org.turro.entities.EmptyController, and org.turro.entities.DefaultElephantEntity.
String org.turro.entities.IElephantEntity.parseFollowCtrl | ( | IConstructor | constructor | ) |
Implemented in org.turro.entities.EmptyController, and org.turro.entities.DefaultElephantEntity.
String org.turro.entities.IElephantEntity.parseSpamCtrl | ( | IConstructor | constructor | ) |
Implemented in org.turro.entities.EmptyController, and org.turro.entities.DefaultElephantEntity.
boolean org.turro.entities.IElephantEntity.showEntity | ( | ) |
Shows the view for the entity.
Implemented in org.turro.entities.EmptyController, org.turro.entities.StudentsEntities, org.turro.entities.ElephantEntities, org.turro.entities.AllianceEntities, org.turro.entities.PublicationEntities, org.turro.entitites.DossierEntities, org.turro.entities.CrmEntities, org.turro.entities.AttachEntities, org.turro.entities.ContactEntities, and org.turro.entities.FinancialsEntities.
boolean org.turro.entities.IElephantEntity.showPath | ( | ) |
Shows the view for this path.
Implemented in org.turro.entities.EmptyController, org.turro.entities.StudentsEntities, org.turro.entities.ElephantEntities, org.turro.entities.AllianceEntities, org.turro.entities.PublicationEntities, org.turro.entitites.DossierEntities, org.turro.entities.CrmEntities, org.turro.entities.AttachEntities, org.turro.entities.ContactEntities, and org.turro.entities.FinancialsEntities.
|
static |
Definition at line 42 of file IElephantEntity.java.
|
static |
Definition at line 43 of file IElephantEntity.java.