2 Copyright (C) 2002-2004 SKYRIX Software AG
4 This file is part of OpenGroupware.org.
6 OGo is free software; you can redistribute it and/or modify it under
7 the terms of the GNU Lesser General Public License as published by the
8 Free Software Foundation; either version 2, or (at your option) any
11 OGo is distributed in the hope that it will be useful, but WITHOUT ANY
12 WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
14 License for more details.
16 You should have received a copy of the GNU Lesser General Public
17 License along with OGo; see the file COPYING. If not, write to the
18 Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
23 #ifndef __SoObjects_WOContext_SoObjects_H__
24 #define __SoObjects_WOContext_SoObjects_H__
26 #include <NGObjWeb/WOContext.h>
31 The WOContext is the central access point for SOPE too. It has several new
32 variables representing publishing state like the client object or the
33 traversal path. You also access global SOPE objects using the context, for
34 example the security manager.
38 @class SoSecurityManager, SoSubContext;
40 @interface WOContext(SoObjects)
44 - (SoSecurityManager *)soSecurityManager;
48 - (void)addObjectToTraversalStack:(id)_object;
49 - (NSArray *)objectTraversalStack;
52 - (void)setClientObject:(id)_object;
55 - (void)setObjectDispatcher:(id)_dispatcher;
56 - (id)objectDispatcher;
58 - (void)setSoRequestType:(NSString *)_rqType;
59 - (NSString *)soRequestType;
60 - (void)setSoRequestTraversalPath:(NSArray *)_path;
61 - (NSArray *)soRequestTraversalPath;
63 - (void)setPathInfo:(NSString *)_pi;
64 - (NSString *)pathInfo;
68 - (SoSubContext *)createSubContext;
69 - (WOContext *)parentContext;
70 - (WOContext *)rootContext;
74 /* all the following methods are convenience methods that access WOContext */
76 #include <NGObjWeb/WOComponent.h>
77 #include <NGObjWeb/WODirectAction.h>
79 @interface WOComponent(SoObjects)
80 - (void)setClientObject:(id)_object;
84 @interface WODirectAction(SoObjects)
88 #endif /* __SoObjects_WOContext_SoObjects_H__ */