All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.togocms.pns.bo.Channel.xml Maven / Gradle / Ivy

The newest version!
<?xml version="1.0" encoding="UTF-8"?>
<bean cache="channel">
	<read name="id">
		select
		id,
		name,
		api_key as "apiKey",
		secret_key as "secretKey",
		key_store as "keyStore",
		key_store_password as "keyStorePassword",
		production
		from
		pns_channel
		where
		id = ${this.id} limit 1
	</read>
	<read name="apiKey">
		select
		id
		from
		pns_channel
		where
		api_key = ${this.apiKey} limit 1
	</read>
	<read name="name">
		select
		id
		from
		pns_channel
		where
		name = ${this.name}
		limit 1
	</read>
	<read-list name="all">
		select id from pns_channel order by name
	</read-list>
	<read-list name="devices">
		select id from pns_device where channel_id = ${this.id} and (disabled is null or disabled = 0)
	</read-list>
</bean>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy