Line 2: |
Line 2: |
| | | |
| Implementations of this interface must also implement: | | Implementations of this interface must also implement: |
− | ''* org.freedesktop.Telepathy.Connection'' | + | * org.freedesktop.Telepathy.Connection |
| | | |
| | | |
Line 8: |
Line 8: |
| | | |
| | | |
− | '''Methods''':
| + | Methods: |
| | | |
| CreateFileListing ( s: Title, s: PubSubNodeName, s: Description)-> b | | CreateFileListing ( s: Title, s: PubSubNodeName, s: Description)-> b |
Line 122: |
Line 122: |
| | | |
| | | |
− | PublishFile ( s: PubSubNodeToAddFile, s: Filename, q: ItemId, u: Size, as: Metadata, s: Mirrors) -> b | + | PublishFile ( s: PubSubNodeToAddFile, s: Filename, q: ItemId, as: Metadata, s: Mirrors) -> b |
| | | |
| This method is called in order to to add a file to the list of published files. This method returns whether the file was published successfully ('true') or not ('false'). | | This method is called in order to to add a file to the list of published files. This method returns whether the file was published successfully ('true') or not ('false'). |
Line 199: |
Line 199: |
| | | |
| | | |
− | MakeRevision ( s: PubSubNodeHostingFile, s: Filename, q: ItemId, u: Size, s: Modified, s: CheckSum, s: Ckecksumtype, s: Mime, s: Mirrors) -> b | + | MakeRevision ( s: PubSubNodeHostingFile, s: Filename, q: ItemId, as: Metadata, s: Mirrors) -> b |
| | | |
| This method is called in order to make a revision to an existing file on a PubSubNode. Use a different ItemId than the original file. This method returns whether the file was revised successfully ('true') or not ('false'). | | This method is called in order to make a revision to an existing file on a PubSubNode. Use a different ItemId than the original file. This method returns whether the file was revised successfully ('true') or not ('false'). |
Line 215: |
Line 215: |
| This Id is used to create more than one version of the same file. | | This Id is used to create more than one version of the same file. |
| | | |
− | Metadata | + | Metadata - as |
| This list all the metadata about the file which includes Size,Modified,CheckSum,Ckecksumtype and Mime. | | This list all the metadata about the file which includes Size,Modified,CheckSum,Ckecksumtype and Mime. |
| | | |
Line 318: |
Line 318: |
| | | |
| | | |
− | '''Signals''' :
| + | Signals : |
| | | |
| NotificationChange( s: PubSubNodeModified, s: CollectionModified, s: Title, as: Metadata, s: Mirror) | | NotificationChange( s: PubSubNodeModified, s: CollectionModified, s: Title, as: Metadata, s: Mirror) |
Line 345: |
Line 345: |
| | | |
| | | |
− | '''Structure types'''
| + | Structure types |
| | | |
| Metadata ( u: Size, s: Modified, s: CheckSum, s: Checksumtype, s: Mime ) | | Metadata ( u: Size, s: Modified, s: CheckSum, s: Checksumtype, s: Mime ) |