sdk/src/com/socialize/entity/SocializeAction.java
public String getDisplayText() {
		if(entity != null) {
			String name = entity.getName();
			String key = entity.getKey();
			if(!StringUtils.isEmpty(name)) {
				return name;
			}
			return key;
		}
		return entityKey;
	}
public String getDisplayText() {
		if(entity != null) {
			String name = entity.getName();
			String key = entity.getKey();
			if(!StringUtils.isEmpty(name)) {
				return name;
			}
			return key;
		}
		return entityKey;
	}
public String getDisplayText ( ) { if ( entity != null ) { String name = entity . getName ( ) ; String key = entity . getKey ( ) ; if ( ! StringUtils . isEmpty ( name ) ) { return name ; } return key ; } return entityKey ; }
Returns the text to display for this action when rendering on screen (e.g. in a list)
@return
Returns the text to display for this action when rendering on screen ( e . g . in a list )