Public Member Functions | |
AllianceEntities () | |
AllianceEntities (String entityPath) | |
AllianceEntities (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) |
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 () |
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 () |
Object | getObject (Path entityPath) |
IElephantEntity | getMain (Object entity) |
int | hashCode () |
boolean | equals (Object obj) |
Protected Member Functions | |
Dao | createDao () |
boolean | itsMine (Object entity) |
IElephantEntity | createInstance (String entityPath) |
IElephantEntity | createInstance (Object entity) |
Path | createPath () |
Protected Member Functions inherited from org.turro.entities.DefaultElephantEntity | |
boolean | itsMine (String rootPath) |
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 48 of file AllianceEntities.java.
org.turro.entities.AllianceEntities.AllianceEntities | ( | ) |
org.turro.entities.AllianceEntities.AllianceEntities | ( | String | entityPath | ) |
Definition at line 53 of file AllianceEntities.java.
org.turro.entities.AllianceEntities.AllianceEntities | ( | Object | entity | ) |
Definition at line 57 of file AllianceEntities.java.
boolean org.turro.entities.AllianceEntities.canEdit | ( | IContact | contact | ) |
Checks when contact has permissions to edit the entity.
contact | the contact checked. |
Implements org.turro.entities.IElephantEntity.
Definition at line 225 of file AllianceEntities.java.
boolean org.turro.entities.AllianceEntities.canPublish | ( | IContact | contact | ) |
Checks when contact has permissions to see the entity.
contact | the contact checked. |
Implements org.turro.entities.IElephantEntity.
Definition at line 230 of file AllianceEntities.java.
boolean org.turro.entities.AllianceEntities.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 278 of file AllianceEntities.java.
Object org.turro.entities.AllianceEntities.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 273 of file AllianceEntities.java.
|
protected |
Reimplemented from org.turro.entities.DefaultElephantEntity.
Definition at line 304 of file AllianceEntities.java.
|
protected |
Reimplemented from org.turro.entities.DefaultElephantEntity.
Definition at line 326 of file AllianceEntities.java.
|
protected |
Reimplemented from org.turro.entities.DefaultElephantEntity.
Definition at line 321 of file AllianceEntities.java.
|
protected |
Reimplemented from org.turro.entities.DefaultElephantEntity.
Definition at line 331 of file AllianceEntities.java.
Collection<String> org.turro.entities.AllianceEntities.getAllowedRoots | ( | ) |
Implements org.turro.entities.IElephantEntity.
Definition at line 316 of file AllianceEntities.java.
List<IElephantEntity> org.turro.entities.AllianceEntities.getChildren | ( | ) |
Gets the children for this entity.
Implements org.turro.entities.IElephantEntity.
Definition at line 192 of file AllianceEntities.java.
String org.turro.entities.AllianceEntities.getDescription | ( | ) |
Gets the entity description.
Implements org.turro.entities.IElephantEntity.
Definition at line 132 of file AllianceEntities.java.
Collection org.turro.entities.AllianceEntities.getEntitites | ( | String | root, |
String | search, | ||
int | maxResults, | ||
KeyValueMap | kvm | ||
) |
Implements org.turro.entities.IElephantEntity.
Definition at line 248 of file AllianceEntities.java.
Collection org.turro.entities.AllianceEntities.getEntitites | ( | String | search, |
int | maxResults, | ||
KeyValueMap | kvm | ||
) |
Implements org.turro.entities.IElephantEntity.
Definition at line 237 of file AllianceEntities.java.
Object org.turro.entities.AllianceEntities.getEntity | ( | ) |
Returns the entity for this controller.
Implements org.turro.entities.IElephantEntity.
Definition at line 62 of file AllianceEntities.java.
String org.turro.entities.AllianceEntities.getExtendedPath | ( | ) |
Gets the extended path for this entity.
Implements org.turro.entities.IElephantEntity.
Definition at line 205 of file AllianceEntities.java.
String org.turro.entities.AllianceEntities.getExtendedWebPath | ( | ) |
Returns a unique path for the entity.
Implements org.turro.entities.IElephantEntity.
Definition at line 283 of file AllianceEntities.java.
File org.turro.entities.AllianceEntities.getFile | ( | ) |
Gets the file represented by the entity.
Implements org.turro.entities.IElephantEntity.
Definition at line 210 of file AllianceEntities.java.
String org.turro.entities.AllianceEntities.getHierarchicalPath | ( | ) |
Gets the hierarchical path for this entity. Mostly used for sorting purposes.
Implements org.turro.entities.IElephantEntity.
Definition at line 167 of file AllianceEntities.java.
String org.turro.entities.AllianceEntities.getImage | ( | ) |
Gets the entity image based on its root.
Implements org.turro.entities.IElephantEntity.
Definition at line 145 of file AllianceEntities.java.
String org.turro.entities.AllianceEntities.getLabel | ( | ) |
Gets the entity label, based on its root.
Implements org.turro.entities.IElephantEntity.
Definition at line 110 of file AllianceEntities.java.
Object org.turro.entities.AllianceEntities.getLabelCtrl | ( | ) |
Gets the label control, usually a clickable LabelControl class.
Implements org.turro.entities.IElephantEntity.
Definition at line 137 of file AllianceEntities.java.
String org.turro.entities.AllianceEntities.getName | ( | ) |
Gets the entity name.
Implements org.turro.entities.IElephantEntity.
Definition at line 92 of file AllianceEntities.java.
IElephantEntity org.turro.entities.AllianceEntities.getParent | ( | ) |
Gets the parent for this entity.
Implements org.turro.entities.IElephantEntity.
Definition at line 174 of file AllianceEntities.java.
String org.turro.entities.AllianceEntities.getUserContext | ( | ) |
Returns the user context for this type of entity
Implements org.turro.entities.IElephantEntity.
Definition at line 290 of file AllianceEntities.java.
|
protected |
Reimplemented from org.turro.entities.DefaultElephantEntity.
Definition at line 309 of file AllianceEntities.java.
boolean org.turro.entities.AllianceEntities.showEntity | ( | ) |
Shows the view for the entity.
Implements org.turro.entities.IElephantEntity.
Definition at line 220 of file AllianceEntities.java.
boolean org.turro.entities.AllianceEntities.showPath | ( | ) |
Shows the view for this path.
Implements org.turro.entities.IElephantEntity.
Definition at line 215 of file AllianceEntities.java.