X-Git-Url: https://code.grnet.gr/git/pithos-macos/blobdiff_plain/c6f07a3c5b6392b40227630170e1496e2832d95f..ea506e4bf18ffa9e0a592ac0207f43b9e669297f:/pithos-macos/PithosObjectNode.h diff --git a/pithos-macos/PithosObjectNode.h b/pithos-macos/PithosObjectNode.h index f90522f..024b0ca 100644 --- a/pithos-macos/PithosObjectNode.h +++ b/pithos-macos/PithosObjectNode.h @@ -1,8 +1,8 @@ // -// PithosNode.h +// PithosObjectNode.h // pithos-macos // -// Copyright 2011 GRNET S.A. All rights reserved. +// Copyright 2011-2012 GRNET S.A. All rights reserved. // // Redistribution and use in source and binary forms, with or // without modification, are permitted provided that the following @@ -36,27 +36,41 @@ // or implied, of GRNET S.A. #import "PithosNode.h" +@class ASIPithos; @class ASIPithosContainer; @class ASIPithosObject; @class ASIPithosObjectRequest; @interface PithosObjectNode : PithosNode { + ASIPithos *pithos; ASIPithosContainer *pithosContainer; ASIPithosObject *pithosObject; + NSArray *versions; ASIPithosObjectRequest *applyMetadataObjectRequest; ASIPithosObjectRequest *refreshMetadataObjectRequest; + ASIPithosObjectRequest *refreshVersionsObjectRequest; BOOL isPublic; + NSString *translatedModifiedBy; + NSMutableArray *translatedPermissions; } -- (id)initWithPithosContainer:(ASIPithosContainer *)aPithosContainer pithosObject:(ASIPithosObject *)aPithosObject; +- (id)initWithPithos:(ASIPithos *)aPithos + pithosContainer:(ASIPithosContainer *)aPithosContainer + pithosObject:(ASIPithosObject *)aPithosObject; -@property (nonatomic, retain) ASIPithosContainer *pithosContainer; -@property (nonatomic, retain) ASIPithosObject *pithosObject; +@property (nonatomic, strong) ASIPithos *pithos; +@property (nonatomic, strong) ASIPithosContainer *pithosContainer; +@property (nonatomic, strong) ASIPithosObject *pithosObject; +@property (nonatomic, strong) NSArray *versions; @property (nonatomic, assign) BOOL isPublic; +@property (nonatomic, strong) NSString *translatedModifiedBy; +@property (nonatomic, strong) NSMutableArray *translatedPermissions; - (void)applyInfo; - (void)refreshInfo; +- (void)refreshVersions; +- (void)setLimitedPithosObject:(ASIPithosObject *)aPithosObject; @end \ No newline at end of file