1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- //
- // CCMetadata.m
- // Crypto Cloud Technology Nextcloud
- //
- // Created by Marino Faggiana on 04/09/14.
- // Copyright (c) 2017 TWS. All rights reserved.
- //
- // Author Marino Faggiana <m.faggiana@twsweb.it>
- //
- // This program is free software: you can redistribute it and/or modify
- // it under the terms of the GNU General Public License as published by
- // the Free Software Foundation, either version 3 of the License, or
- // (at your option) any later version.
- //
- // This program is distributed in the hope that it will be useful,
- // but WITHOUT ANY WARRANTY; without even the implied warranty of
- // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- // GNU General Public License for more details.
- //
- // You should have received a copy of the GNU General Public License
- // along with this program. If not, see <http://www.gnu.org/licenses/>.
- //
- #import "CCMetadata.h"
- @implementation CCMetadataNet
- - (id)init
- {
- self = [super init];
- self.priority = NSOperationQueuePriorityNormal;
- return self;
- }
- - (id)initWithAccount:(NSString *)withAccount
- {
- self = [super init];
-
- if (self) {
-
- _account = withAccount;
- _priority = NSOperationQueuePriorityNormal;
- }
-
- return self;
- }
- /*
- - (id)copyWithZone: (NSZone *) zone
- {
- CCMetadataNet *metadataNet = [[CCMetadataNet allocWithZone: zone] init];
-
- [metadataNet setAccount: self.account];
- [metadataNet setAction: self.action];
- [metadataNet setAssetLocalIdentifier: self.assetLocalIdentifier];
- [metadataNet setCryptated: self.cryptated];
- [metadataNet setDate: self.date];
- [metadataNet setDelegate: self.delegate];
- [metadataNet setDirectory: self.directory];
- [metadataNet setDirectoryID: self.directoryID];
- [metadataNet setDirectoryIDTo: self.directoryIDTo];
- [metadataNet setDownloadData: self.downloadData];
- [metadataNet setDownloadPlist: self.downloadPlist];
- [metadataNet setErrorCode: self.errorCode];
- [metadataNet setErrorRetry: self.errorRetry];
- [metadataNet setExpirationTime: self.expirationTime];
- [metadataNet setFileID: self.fileID];
- [metadataNet setFileName: self.fileName];
- [metadataNet setFileNameTo: self.fileNameTo];
- [metadataNet setFileNameLocal: self.fileNameLocal];
- [metadataNet setFileNamePrint: self.fileNamePrint];
- [metadataNet setMetadata: self.metadata];
- [metadataNet setOptions: self.options];
- [metadataNet setPassword: self.password];
- [metadataNet setPathFolder: self.pathFolder];
- [metadataNet setPriority: self.priority];
- [metadataNet setQueue: self.queue];
- [metadataNet setRev:self.rev];
- [metadataNet setServerUrl: self.serverUrl];
- [metadataNet setServerUrlTo: self.serverUrlTo];
- [metadataNet setSelector: self.selector];
- [metadataNet setSelectorPost: self.selectorPost];
- [metadataNet setSession: self.session];
- [metadataNet setSessionID: self.sessionID];
- [metadataNet setShare: self.share];
- [metadataNet setShareeType: self.shareeType];
- [metadataNet setSharePermission: self.sharePermission];
- [metadataNet setSize: self.size];
- [metadataNet setTaskStatus: self.taskStatus];
-
- return metadataNet;
- }
- */
- @end
|