3704c26936923ac16f9797ad63d2bb033b7ecec2
1 package be
.nikiroo
.jvcard
.remote
;
4 * This enum list all the possible {@link Command}s you can send to a jVCard
14 * @return the version of the protocol used by this server
20 * @return the TIME of the remote server with the format yyyy-MM-dd HH:mm:ss
24 * STOP the client communication (the server will now close the
29 * LIST the cards available on this server.
32 * (optional) a search term that, if given, must be in the name
33 * of the card for it to be returned (case insensitive)
35 * @return a LIST of all the cards on the remote server that contain the
36 * search term, or all cards if no search term given
38 * @note The cards are listed each on their own line, preceded by their last
39 * modified time and a space character (" ")
43 * 2016-03-19 11:13:23 Family.vcf
45 * 2016-03-19 11:13:23 CoWorkers.vcf
49 * Internationalised help message.
51 * @return some HELP about the protocol for interactive access
55 * SELECT a resource (a card) to work on (you can issue *_CARD commands when
56 * in SELECT mode), or leave SELECT mode if already enabled.
59 * the resource name (the card name) to work on to enter SELECT
60 * mode, or nothing to leave it
62 * @return the last modified date of the selected card
66 * GET a remote card and return it as VCF data.
72 * Enter into PUT_CARD mode for the selected card (you can issue *_CONTACT
73 * commands when in PUT_CARD mode), or leave PUT_CARD mode if already
76 * @requires SELECT mode must be enabled before
80 * POST a new card to the remote server as the selected resource.
82 * @input will wait for the card content as VCF data
84 * @requires SELECT mode must be enabled before
88 * DELETE the selected contact from the remote server.
90 * @requires SELECT mode must be enabled before
94 * HASH the selected contact and return the hash, or return empty if not
98 * the UID of the contact to hash
100 * @return the hash, or an empty message if not found
102 * @requires PUT_CARD mode must be enabled before
106 * LIST the contacts available in the selected card.
109 * (optional) a search term that, if given, must be present in
110 * the N or FN property of the contact for the contact to be
111 * returned (case insensitive)
113 * @return a LIST of all the contacts in the selected card that contain the
114 * search term, or all contacts if no search term given
116 * @requires PUT_CARD mode must be enabled before
118 * @note The contacts are listed each on their own line, preceded by their
119 * hashes and a space character (" ")
123 * 5d1db4f26410eae670852b53e6ea80be 6pXXHy8T3b
125 * 477eef8e57a12dffeeb4063d5a138c9a FoYJUyDOwM
129 * GET a remote contact if found.
132 * the UID of the contact to return
134 * @return the contact as VCF data or an empty message if the UID was not
137 * @requires PUT_CARD mode must be enabled before
142 * Select the given contact by UID and enter into PUT_CONTACT mode (you can
143 * issue *_DATA commands when in PUT_CONTACT mode), or leave PUT_CONTACT
144 * mode if already enabled.
147 * the UID of the contact to select to enter PUT_CONTACT mode, or
148 * nothing to leave it
150 * @requires PUT_CARD mode must be enabled before
154 * POST a new contact to the remote server in the selected card.
156 * @input will wait for the contact VCF data
158 * @requires PUT_CARD mode must be enabled before
162 * DELETE an existing contact from the remote server.
165 * the UID of the contact to delete
167 * @requires PUT_CARD mode must be enabled before
171 * HASH the data(s) with the given name.
174 * the name of the data(s) you want
176 * @return the hashes of all the datas that correspond to the given name
178 * @requires PUT_CONTACT mode must be enabled before
182 * LIST the datas available in the selected contact.
185 * (optional) a search term that, if given, must be present in
186 * the name of the data for it to be returned (case insensitive)
188 * @return a LIST of all the datas in the selected contact that contain the
189 * search term, or all datas if no search term given
191 * @requires PUT_CONTACT mode must be enabled before
193 * @note The datas' names are listed each on their own line, preceded by
194 * their hashes and a space character (" ")
198 * 5d1db4f26410eae670852b53e6ea80be FN
200 * 477eef8e57a12dffeeb4063d5a138c9a TEL
204 * GET one or more remote data(s) by name.
207 * the name of the data(s) to return
209 * @return the datas as VCF data or an empty message if no data were found
212 * @requires PUT_CONTACT mode must be enabled before
217 * POST a new data to the remote server in the selected contact.
219 * @input will wait for the data VCF data
221 * @requires PUT_CONTACT mode must be enabled before
225 * DELETE an existing data from the remote server.
228 * the hash of the data to delete
230 * @requires PUT_CONTACT mode must be enabled before