Public Member Functions | |
FinancialsEntities () | |
FinancialsEntities (String entityPath) | |
FinancialsEntities (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) |
Collection< Object > | getRelatedByRole (EntityRole role, IContact contact) |
boolean | hasRelatedRole (EntityRole role, IContact contact) |
String | getExtendedWebPath () |
String | getUserContext () |
Collection< String > | getAllowedRoots () |
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 () |
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 () |
Object | getObject (Path entityPath) |
IElephantEntity | getMain (Object entity) |
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 65 of file FinancialsEntities.java.
org.turro.entities.FinancialsEntities.FinancialsEntities | ( | ) |
org.turro.entities.FinancialsEntities.FinancialsEntities | ( | String | entityPath | ) |
Definition at line 70 of file FinancialsEntities.java.
org.turro.entities.FinancialsEntities.FinancialsEntities | ( | Object | entity | ) |
Definition at line 74 of file FinancialsEntities.java.
boolean org.turro.entities.FinancialsEntities.canEdit | ( | IContact | contact | ) |
Checks when contact has permissions to edit the entity.
contact | the contact checked. |
Implements org.turro.entities.IElephantEntity.
Definition at line 333 of file FinancialsEntities.java.
boolean org.turro.entities.FinancialsEntities.canPublish | ( | IContact | contact | ) |
Checks when contact has permissions to see the entity.
contact | the contact checked. |
Implements org.turro.entities.IElephantEntity.
Definition at line 355 of file FinancialsEntities.java.
boolean org.turro.entities.FinancialsEntities.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 442 of file FinancialsEntities.java.
Object org.turro.entities.FinancialsEntities.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 403 of file FinancialsEntities.java.
|
protected |
Reimplemented from org.turro.entities.DefaultElephantEntity.
Definition at line 492 of file FinancialsEntities.java.
|
protected |
Reimplemented from org.turro.entities.DefaultElephantEntity.
Definition at line 525 of file FinancialsEntities.java.
|
protected |
Reimplemented from org.turro.entities.DefaultElephantEntity.
Definition at line 520 of file FinancialsEntities.java.
|
protected |
Reimplemented from org.turro.entities.DefaultElephantEntity.
Definition at line 530 of file FinancialsEntities.java.
Collection<String> org.turro.entities.FinancialsEntities.getAllowedRoots | ( | ) |
Implements org.turro.entities.IElephantEntity.
Definition at line 514 of file FinancialsEntities.java.
List<IElephantEntity> org.turro.entities.FinancialsEntities.getChildren | ( | ) |
Gets the children for this entity.
Implements org.turro.entities.IElephantEntity.
Definition at line 278 of file FinancialsEntities.java.
String org.turro.entities.FinancialsEntities.getDescription | ( | ) |
Gets the entity description.
Implements org.turro.entities.IElephantEntity.
Definition at line 198 of file FinancialsEntities.java.
Collection org.turro.entities.FinancialsEntities.getEntitites | ( | String | root, |
String | search, | ||
int | maxResults, | ||
KeyValueMap | kvm | ||
) |
Implements org.turro.entities.IElephantEntity.
Definition at line 384 of file FinancialsEntities.java.
Collection org.turro.entities.FinancialsEntities.getEntitites | ( | String | search, |
int | maxResults, | ||
KeyValueMap | kvm | ||
) |
Implements org.turro.entities.IElephantEntity.
Definition at line 375 of file FinancialsEntities.java.
Object org.turro.entities.FinancialsEntities.getEntity | ( | ) |
Returns the entity for this controller.
Implements org.turro.entities.IElephantEntity.
Definition at line 79 of file FinancialsEntities.java.
String org.turro.entities.FinancialsEntities.getExtendedPath | ( | ) |
Gets the extended path for this entity.
Implements org.turro.entities.IElephantEntity.
Definition at line 289 of file FinancialsEntities.java.
String org.turro.entities.FinancialsEntities.getExtendedWebPath | ( | ) |
Returns a unique path for the entity.
Implements org.turro.entities.IElephantEntity.
Definition at line 475 of file FinancialsEntities.java.
File org.turro.entities.FinancialsEntities.getFile | ( | ) |
Gets the file represented by the entity.
Implements org.turro.entities.IElephantEntity.
Definition at line 294 of file FinancialsEntities.java.
String org.turro.entities.FinancialsEntities.getHierarchicalPath | ( | ) |
Gets the hierarchical path for this entity. Mostly used for sorting purposes.
Implements org.turro.entities.IElephantEntity.
Definition at line 254 of file FinancialsEntities.java.
String org.turro.entities.FinancialsEntities.getImage | ( | ) |
Gets the entity image based on its root.
Implements org.turro.entities.IElephantEntity.
Definition at line 222 of file FinancialsEntities.java.
String org.turro.entities.FinancialsEntities.getLabel | ( | ) |
Gets the entity label, based on its root.
Implements org.turro.entities.IElephantEntity.
Definition at line 162 of file FinancialsEntities.java.
Object org.turro.entities.FinancialsEntities.getLabelCtrl | ( | ) |
Gets the label control, usually a clickable LabelControl class.
Implements org.turro.entities.IElephantEntity.
Definition at line 208 of file FinancialsEntities.java.
String org.turro.entities.FinancialsEntities.getName | ( | ) |
Gets the entity name.
Implements org.turro.entities.IElephantEntity.
Definition at line 130 of file FinancialsEntities.java.
IElephantEntity org.turro.entities.FinancialsEntities.getParent | ( | ) |
Gets the parent for this entity.
Implements org.turro.entities.IElephantEntity.
Definition at line 266 of file FinancialsEntities.java.
Collection<Object> org.turro.entities.FinancialsEntities.getRelatedByRole | ( | EntityRole | role, |
IContact | contact | ||
) |
Gets entities where contact has the specified role.
role | the role to conform. |
contact | the contact to check. |
Reimplemented from org.turro.entities.DefaultElephantEntity.
Definition at line 447 of file FinancialsEntities.java.
String org.turro.entities.FinancialsEntities.getUserContext | ( | ) |
Returns the user context for this type of entity
Implements org.turro.entities.IElephantEntity.
Definition at line 487 of file FinancialsEntities.java.
boolean org.turro.entities.FinancialsEntities.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 456 of file FinancialsEntities.java.
|
protected |
Reimplemented from org.turro.entities.DefaultElephantEntity.
Definition at line 504 of file FinancialsEntities.java.
|
protected |
Reimplemented from org.turro.entities.DefaultElephantEntity.
Definition at line 497 of file FinancialsEntities.java.
boolean org.turro.entities.FinancialsEntities.showEntity | ( | ) |
Shows the view for the entity.
Implements org.turro.entities.IElephantEntity.
Definition at line 304 of file FinancialsEntities.java.
boolean org.turro.entities.FinancialsEntities.showPath | ( | ) |
Shows the view for this path.
Implements org.turro.entities.IElephantEntity.
Definition at line 299 of file FinancialsEntities.java.