

Public Member Functions | |
| DossierEntities () | |
| DossierEntities (String entityPath) | |
| DossierEntities (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) |
| Object | configureCtrl (Object ctrl, IContact contact) |
| boolean | canShowInContext (IContact contact, Object relatedEntity) |
| boolean | hasRelatedRole (EntityRole role, IContact contact) |
| String | getExtendedWebPath () |
| String | getLinkRoot () |
| String | getUserContext () |
| Collection< String > | getAllowedRoots () |
| Script | getActorScript () |
| ConceptPermission | getConceptPermission (String name) |
| 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) |
| IElephantSendable | getSendable () |
| Collection< Object > | getRelatedByRole (EntityRole role, IContact contact) |
| 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 () |
| boolean | isActor (String actor) |
| boolean | isActor (IContact contact, String actor) |
| 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 73 of file DossierEntities.java.
| org.turro.entitites.DossierEntities.DossierEntities | ( | ) |
| org.turro.entitites.DossierEntities.DossierEntities | ( | String | entityPath | ) |
Definition at line 78 of file DossierEntities.java.
| org.turro.entitites.DossierEntities.DossierEntities | ( | Object | entity | ) |
Definition at line 82 of file DossierEntities.java.
| boolean org.turro.entitites.DossierEntities.canEdit | ( | IContact | contact | ) |
Checks when contact has permissions to edit the entity.
| contact | the contact checked. |
Implements org.turro.entities.IElephantEntity.
Definition at line 290 of file DossierEntities.java.

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


| boolean org.turro.entitites.DossierEntities.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 423 of file DossierEntities.java.

| Object org.turro.entitites.DossierEntities.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 348 of file DossierEntities.java.

|
protected |
Reimplemented from org.turro.entities.DefaultElephantEntity.
Definition at line 525 of file DossierEntities.java.
|
protected |
Reimplemented from org.turro.entities.DefaultElephantEntity.
Definition at line 552 of file DossierEntities.java.

|
protected |
Reimplemented from org.turro.entities.DefaultElephantEntity.
Definition at line 547 of file DossierEntities.java.

|
protected |
Reimplemented from org.turro.entities.DefaultElephantEntity.
Definition at line 557 of file DossierEntities.java.

| Script org.turro.entitites.DossierEntities.getActorScript | ( | ) |
Reimplemented from org.turro.entities.DefaultElephantEntity.
Definition at line 562 of file DossierEntities.java.

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

| ConceptPermission org.turro.entitites.DossierEntities.getConceptPermission | ( | String | name | ) |
Reimplemented from org.turro.entities.DefaultElephantEntity.
Definition at line 580 of file DossierEntities.java.

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

| Collection org.turro.entitites.DossierEntities.getEntitites | ( | String | root, |
| String | search, | ||
| int | maxResults, | ||
| KeyValueMap | kvm | ||
| ) |
| Collection org.turro.entitites.DossierEntities.getEntitites | ( | String | search, |
| int | maxResults, | ||
| KeyValueMap | kvm | ||
| ) |
Implements org.turro.entities.IElephantEntity.
Definition at line 320 of file DossierEntities.java.
| Object org.turro.entitites.DossierEntities.getEntity | ( | ) |
Returns the entity for this controller.
Implements org.turro.entities.IElephantEntity.
Definition at line 87 of file DossierEntities.java.


| String org.turro.entitites.DossierEntities.getExtendedPath | ( | ) |
Gets the extended path for this entity.
Implements org.turro.entities.IElephantEntity.
Definition at line 248 of file DossierEntities.java.

| String org.turro.entitites.DossierEntities.getExtendedWebPath | ( | ) |
Returns a unique path for the entity.
Implements org.turro.entities.IElephantEntity.
Definition at line 481 of file DossierEntities.java.

| File org.turro.entitites.DossierEntities.getFile | ( | ) |
Gets the file represented by the entity.
Implements org.turro.entities.IElephantEntity.
Definition at line 253 of file DossierEntities.java.
| String org.turro.entitites.DossierEntities.getHierarchicalPath | ( | ) |
Gets the hierarchical path for this entity. Mostly used for sorting purposes.
Implements org.turro.entities.IElephantEntity.
Definition at line 205 of file DossierEntities.java.

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

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

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

| String org.turro.entitites.DossierEntities.getLinkRoot | ( | ) |
Returns the link root, defaults to path root.
Reimplemented from org.turro.entities.DefaultElephantEntity.
Definition at line 498 of file DossierEntities.java.


| IElephantEntity org.turro.entitites.DossierEntities.getMain | ( | Object | entity | ) |
Reimplemented from org.turro.entities.DefaultElephantEntity.
Definition at line 607 of file DossierEntities.java.

| String org.turro.entitites.DossierEntities.getName | ( | ) |
Gets the entity name.
Implements org.turro.entities.IElephantEntity.
Definition at line 114 of file DossierEntities.java.

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

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

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

| boolean org.turro.entitites.DossierEntities.hasRelatedRole | ( | EntityRole | role, |
| IContact | contact | ||
| ) |
Checks whether contact has the specified role.
| role | the role to conform. |
| contact | the contact to check. |
Reimplemented from org.turro.entities.DefaultElephantEntity.
Definition at line 459 of file DossierEntities.java.

|
protected |
Reimplemented from org.turro.entities.DefaultElephantEntity.
Definition at line 536 of file DossierEntities.java.
|
protected |
Reimplemented from org.turro.entities.DefaultElephantEntity.
Definition at line 530 of file DossierEntities.java.
| boolean org.turro.entitites.DossierEntities.showEntity | ( | ) |
Shows the view for the entity.
Implements org.turro.entities.IElephantEntity.
Definition at line 273 of file DossierEntities.java.

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