PageRenderTime 25ms CodeModel.GetById 15ms app.highlight 6ms RepoModel.GetById 1ms app.codeStats 1ms

/core/externals/update-engine/externals/gdata-objectivec-client/Source/Clients/Docs/GDataEntryDocBase.h

http://macfuse.googlecode.com/
C++ Header | 101 lines | 49 code | 29 blank | 23 comment | 1 complexity | 6fde6226f729d74f4438263c7705ed0a MD5 | raw file
  1/* Copyright (c) 2007 Google Inc.
  2 *
  3 * Licensed under the Apache License, Version 2.0 (the "License");
  4 * you may not use this file except in compliance with the License.
  5 * You may obtain a copy of the License at
  6 *
  7 *     http://www.apache.org/licenses/LICENSE-2.0
  8 *
  9 * Unless required by applicable law or agreed to in writing, software
 10 * distributed under the License is distributed on an "AS IS" BASIS,
 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 12 * See the License for the specific language governing permissions and
 13 * limitations under the License.
 14 */
 15
 16//
 17//  GDataEntryDocBase.h
 18//
 19
 20#if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_DOCS_SERVICE
 21
 22#import "GDataEntryBase.h"
 23#import "GDataFeedLink.h"
 24#import "GDataDocConstants.h"
 25
 26@interface GDataEntryDocBase : GDataEntryBase
 27
 28+ (id)documentEntry;
 29
 30// extensions
 31- (GDataDateTime *)lastViewed;
 32- (void)setLastViewed:(GDataDateTime *)dateTime;
 33
 34- (GDataDateTime *)sharedWithMe;
 35- (void)setSharedWithMe:(GDataDateTime *)dateTime;
 36
 37- (GDataDateTime *)lastModifiedByMe;
 38- (void)setLastModifiedByMe:(GDataDateTime *)dateTime;
 39
 40- (NSNumber *)writersCanInvite; // bool
 41- (void)setWritersCanInvite:(NSNumber *)num;
 42
 43- (GDataPerson *)lastModifiedBy;
 44- (void)setLastModifiedBy:(GDataPerson *)obj;
 45
 46- (NSNumber *)quotaBytesUsed; // long long
 47- (void)setQuotaBytesUsed:(NSNumber *)num;
 48
 49- (NSString *)documentDescription;
 50- (void)setDocumentDescription:(NSString *)str;
 51
 52- (NSString *)MD5Checksum;
 53- (void)setMD5Checksum:(NSString *)str;
 54
 55- (NSString *)filename;
 56- (void)setFilename:(NSString *)str;
 57
 58- (NSString *)suggestedFilename;
 59- (void)setSuggestedFilename:(NSString *)str;
 60
 61- (GDataDateTime *)lastCommented;
 62- (void)setLastCommented:(GDataDateTime *)str;
 63
 64- (NSNumber *)changestamp; // long long
 65- (void)setChangestamp:(NSNumber *)num;
 66
 67- (BOOL)isRemoved;
 68- (void)setIsRemoved:(BOOL)flag;
 69
 70- (BOOL)hasPathToRoot;
 71- (void)setHasPathToRoot:(BOOL)flag;
 72
 73// categories
 74- (BOOL)isStarred;
 75- (void)setIsStarred:(BOOL)flag;
 76
 77- (BOOL)isHidden;
 78- (void)setIsHidden:(BOOL)flag;
 79
 80- (BOOL)isViewed;
 81- (void)setIsViewed:(BOOL)flag;
 82
 83- (BOOL)isShared;
 84- (void)setIsShared:(BOOL)flag;
 85
 86// convenience accessors
 87- (NSArray *)parentLinks;
 88
 89- (GDataLink *)thumbnailLink;
 90
 91// An alternate self link. Used only in GDataEntryDocBase subclasses that
 92// appear in GDataFeedDocChange. The value is the selfLink of the
 93// GDataEntryDocBase.
 94- (GDataLink *)alternateSelfLink;
 95
 96- (GDataFeedLink *)ACLFeedLink;
 97- (GDataFeedLink *)revisionFeedLink;
 98
 99@end
100
101#endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_DOCS_SERVICE