

Public Member Functions | |
| ContactEntities () | |
| ContactEntities (String entityPath) | |
| ContactEntities (Object entity) | |
| Object | getEntity () |
| String | getName () |
| String | getLabel () |
| String | getDescription () |
| Object | getLabelCtrl () |
| String | getImage () |
| 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, KeyValueMap kvm) |
| Collection | getEntitites (String root, String search, int maxResults, KeyValueMap kvm) |
| IElephantSendable | getSendable () |
| Object | configureCtrl (Object ctrl, IContact contact) |
| boolean | canShowInContext (IContact contact, Object relatedEntity) |
| String | getExtendedWebPath () |
| String | getUserContext () |
| Collection< String > | getAllowedRoots () |
| Object | getObject (Path entityPath) |
| IElephantEntity | getMain (Object entity) |
Public Member Functions inherited from org.turro.entities.DefaultElephantEntity | |
| DefaultElephantEntity () | |
| DefaultElephantEntity (String entityPath) | |
| DefaultElephantEntity (Object entity) | |
| IElephantEntity | getController (String entityPath) |
| IElephantEntity | getController (Object entity) |
| boolean | isEmpty () |
| String | getStringId () |
| String | getNameOrLabel () |
| String | getRoot () |
| String | getPath () |
| String | getTreeLabel () |
| Collection | getEntitites (String search, int maxResults) |
| Collection | getEntitites (String root, String search, int maxResults) |
| Collection< Object > | getRelatedByRole (EntityRole role, IContact contact) |
| boolean | hasRelatedRole (EntityRole role, IContact contact) |
| String | getLinkRoot () |
| String | getEntityUrl () |
| String | getMemberUrl () |
| String | getAppUrl () |
| String | getEntityUrl (LinkType type, String contextPath) |
| String | getReadAllUrl (LinkType type, String contextPath) |
| Object | getControl (String name, IContact contact) |
| Object | getControl (String name, IConstructor constructor, IContact contact) |
| Object | getControl (String name, String entityPath, 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 () |
| int | hashCode () |
| boolean | equals (Object obj) |
Protected Member Functions | |
| Dao | createDao () |
| boolean | itsMine (String rootPath) |
| boolean | itsMine (Object entity) |
| IElephantEntity | createInstance (String entityPath) |
| IElephantEntity | createInstance (Object entity) |
| Path | createPath () |
Protected Member Functions inherited from org.turro.entities.DefaultElephantEntity | |
| boolean | isValidLongEntity () |
| Dao | getDao () |
Additional Inherited Members | |
Static Public Attributes inherited from org.turro.entities.IElephantEntity | |
| static final String | EMPTY_ID = "#" |
| static final String | PATH_SEPARATOR = ";" |
Protected Attributes inherited from org.turro.entities.DefaultElephantEntity | |
| String | entityPath |
| Path | path |
| Object | entity |
Definition at line 60 of file ContactEntities.java.
| org.turro.entities.ContactEntities.ContactEntities | ( | ) |
| org.turro.entities.ContactEntities.ContactEntities | ( | String | entityPath | ) |
Definition at line 65 of file ContactEntities.java.
| org.turro.entities.ContactEntities.ContactEntities | ( | Object | entity | ) |
Definition at line 69 of file ContactEntities.java.
| boolean org.turro.entities.ContactEntities.canEdit | ( | IContact | contact | ) |
Checks when contact has permissions to edit the entity.
| contact | the contact checked. |
Implements org.turro.entities.IElephantEntity.
Definition at line 270 of file ContactEntities.java.

| boolean org.turro.entities.ContactEntities.canPublish | ( | IContact | contact | ) |
Checks when contact has permissions to see the entity.
| contact | the contact checked. |
Implements org.turro.entities.IElephantEntity.
Definition at line 286 of file ContactEntities.java.

| boolean org.turro.entities.ContactEntities.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. |
Implements org.turro.entities.IElephantEntity.
Definition at line 355 of file ContactEntities.java.
| Object org.turro.entities.ContactEntities.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. |
Implements org.turro.entities.IElephantEntity.
Definition at line 350 of file ContactEntities.java.
|
protected |
Reimplemented from org.turro.entities.DefaultElephantEntity.
Definition at line 370 of file ContactEntities.java.
|
protected |
Reimplemented from org.turro.entities.DefaultElephantEntity.
Definition at line 396 of file ContactEntities.java.

|
protected |
Reimplemented from org.turro.entities.DefaultElephantEntity.
Definition at line 391 of file ContactEntities.java.

|
protected |
Reimplemented from org.turro.entities.DefaultElephantEntity.
Definition at line 401 of file ContactEntities.java.

| Collection<String> org.turro.entities.ContactEntities.getAllowedRoots | ( | ) |
Implements org.turro.entities.IElephantEntity.
Definition at line 386 of file ContactEntities.java.
| List<IElephantEntity> org.turro.entities.ContactEntities.getChildren | ( | ) |
Gets the children for this entity.
Implements org.turro.entities.IElephantEntity.
Definition at line 228 of file ContactEntities.java.

| String org.turro.entities.ContactEntities.getDescription | ( | ) |
Gets the entity description.
Implements org.turro.entities.IElephantEntity.
Definition at line 154 of file ContactEntities.java.

| Collection org.turro.entities.ContactEntities.getEntitites | ( | String | root, |
| String | search, | ||
| int | maxResults, | ||
| KeyValueMap | kvm | ||
| ) |
| Collection org.turro.entities.ContactEntities.getEntitites | ( | String | search, |
| int | maxResults, | ||
| KeyValueMap | kvm | ||
| ) |
Implements org.turro.entities.IElephantEntity.
Definition at line 302 of file ContactEntities.java.

| Object org.turro.entities.ContactEntities.getEntity | ( | ) |
Returns the entity for this controller.
Implements org.turro.entities.IElephantEntity.
Definition at line 74 of file ContactEntities.java.


| String org.turro.entities.ContactEntities.getExtendedPath | ( | ) |
Gets the extended path for this entity.
Implements org.turro.entities.IElephantEntity.
Definition at line 238 of file ContactEntities.java.
| String org.turro.entities.ContactEntities.getExtendedWebPath | ( | ) |
Returns a unique path for the entity.
Implements org.turro.entities.IElephantEntity.
Definition at line 360 of file ContactEntities.java.
| File org.turro.entities.ContactEntities.getFile | ( | ) |
Gets the file represented by the entity.
Implements org.turro.entities.IElephantEntity.
Definition at line 243 of file ContactEntities.java.
| String org.turro.entities.ContactEntities.getHierarchicalPath | ( | ) |
Gets the hierarchical path for this entity. Mostly used for sorting purposes.
Implements org.turro.entities.IElephantEntity.
Definition at line 196 of file ContactEntities.java.

| String org.turro.entities.ContactEntities.getImage | ( | ) |
Gets the entity image based on its root.
Implements org.turro.entities.IElephantEntity.
Definition at line 176 of file ContactEntities.java.

| String org.turro.entities.ContactEntities.getLabel | ( | ) |
Gets the entity label, based on its root.
Implements org.turro.entities.IElephantEntity.
Definition at line 117 of file ContactEntities.java.

| Object org.turro.entities.ContactEntities.getLabelCtrl | ( | ) |
Gets the label control, usually a clickable LabelControl class.
Implements org.turro.entities.IElephantEntity.
Definition at line 166 of file ContactEntities.java.

| IElephantEntity org.turro.entities.ContactEntities.getMain | ( | Object | entity | ) |
Reimplemented from org.turro.entities.DefaultElephantEntity.
Definition at line 418 of file ContactEntities.java.
| String org.turro.entities.ContactEntities.getName | ( | ) |
Gets the entity name.
Implements org.turro.entities.IElephantEntity.
Definition at line 101 of file ContactEntities.java.

| Object org.turro.entities.ContactEntities.getObject | ( | Path | entityPath | ) |
Reimplemented from org.turro.entities.DefaultElephantEntity.
Definition at line 406 of file ContactEntities.java.

| IElephantEntity org.turro.entities.ContactEntities.getParent | ( | ) |
Gets the parent for this entity.
Implements org.turro.entities.IElephantEntity.
Definition at line 216 of file ContactEntities.java.

| IElephantSendable org.turro.entities.ContactEntities.getSendable | ( | ) |
Gets sendable control for entity.
Reimplemented from org.turro.entities.DefaultElephantEntity.
Definition at line 334 of file ContactEntities.java.

| String org.turro.entities.ContactEntities.getUserContext | ( | ) |
Returns the user context for this type of entity
Implements org.turro.entities.IElephantEntity.
Definition at line 365 of file ContactEntities.java.

|
protected |
Reimplemented from org.turro.entities.DefaultElephantEntity.
Definition at line 380 of file ContactEntities.java.
|
protected |
Reimplemented from org.turro.entities.DefaultElephantEntity.
Definition at line 375 of file ContactEntities.java.
| boolean org.turro.entities.ContactEntities.showEntity | ( | ) |
Shows the view for the entity.
Implements org.turro.entities.IElephantEntity.
Definition at line 253 of file ContactEntities.java.

| boolean org.turro.entities.ContactEntities.showPath | ( | ) |
Shows the view for this path.
Implements org.turro.entities.IElephantEntity.
Definition at line 248 of file ContactEntities.java.