sPFFramework/src/main/java/it/polimi/spf/framework/notification/SPFTriggerTable.java
List<SPFTrigger> getAllTriggers(String appIdentifier) {
		String where = Contract.COLUMN_APP_IDENTIFIER + " = ?";
		String[] whereArgs = { appIdentifier };
		Cursor c = getReadableDatabase().query(Contract.TABLE_NAME, null, where, whereArgs, null, null, null);
		List<SPFTrigger> triggers = new ArrayList<SPFTrigger>();

		while (c.moveToNext()) {
			triggers.add(triggerFromCursor(c));
		}

		c.close();
		return triggers;
	}
List<SPFTrigger> getAllTriggers(String appIdentifier) {
		String where = Contract.COLUMN_APP_IDENTIFIER + " = ?";
		String[] whereArgs = { appIdentifier };
		Cursor c = getReadableDatabase().query(Contract.TABLE_NAME, null, where, whereArgs, null, null, null);
		List<SPFTrigger> triggers = new ArrayList<SPFTrigger>();

		while (c.moveToNext()) {
			triggers.add(triggerFromCursor(c));
		}

		c.close();
		return triggers;
	}
Return all the triggers of the specified application

@param appIdentifier
- the identifier of the application
@return a list of {@link SPFTrigger}