public void addEntityId(long entityId)
    {
        if(this.entityIds == null)
            this.entityIds = new ArrayList<Long>();
        this.entityIds.add(entityId);
    }
public void addEntityId ( long entityId ) { if ( this . entityIds == null ) this . entityIds = new ArrayList < Long > ( ) ; this . entityIds . add ( entityId ) ; }
Adds the given entity id to the list of entities for the widget.
@param entityId The entity id to add to the list of entities