~ubuntu-branches/ubuntu/trusty/libcmis/trusty

« back to all changes in this revision

Viewing changes to src/libcmis/atom-session.hxx

  • Committer: Package Import Robot
  • Author(s): Sebastien Bacher
  • Date: 2014-02-05 14:41:34 UTC
  • mfrom: (1.1.5) (2.1.6 experimental)
  • Revision ID: package-import@ubuntu.com-20140205144134-ffvov1moblfapn82
Tags: 0.4.1-3ubuntu1
* Resynchronize on Debian, remaining change:
* debian/patches/powerpc64le.diff: build on ppc64el

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
 
39
39
    public:
40
40
        AtomPubSession( std::string sAtomPubUrl, std::string repositoryId,
41
 
                        std::string username, std::string password,
 
41
                        std::string username, std::string password, bool noSslCheck = false,
 
42
                        libcmis::OAuth2DataPtr oauth2 = libcmis::OAuth2DataPtr(),
42
43
                        bool verbose =false ) throw ( libcmis::Exception );
43
44
        AtomPubSession( const AtomPubSession& copy );
44
45
        ~AtomPubSession( );
45
46
 
46
47
        AtomPubSession& operator=( const AtomPubSession& copy );
47
48
 
48
 
        static std::list< libcmis::RepositoryPtr > getRepositories( std::string url,
49
 
                        std::string username, std::string password,
50
 
                        bool verbose = false ) throw ( libcmis::Exception );
51
 
 
52
49
        AtomRepositoryPtr getAtomRepository( ) throw ( libcmis::Exception );
53
50
 
54
51
        // Utility methods
59
56
 
60
57
        virtual libcmis::RepositoryPtr getRepository( ) throw ( libcmis::Exception );
61
58
 
 
59
        virtual bool setRepository( std::string repositoryId );
 
60
 
62
61
        virtual libcmis::ObjectPtr getObject( std::string id ) throw ( libcmis::Exception );
63
62
        
64
63
        virtual libcmis::ObjectPtr getObjectByPath( std::string path ) throw ( libcmis::Exception );
65
64
 
66
65
        virtual libcmis::ObjectTypePtr getType( std::string id ) throw ( libcmis::Exception );
67
66
 
68
 
    private:
 
67
    protected:
 
68
 
 
69
        /** Defaults constructor shouldn't be used
 
70
          */
 
71
        AtomPubSession( ); 
 
72
        void parseServiceDocument( const std::string& buf ) throw ( libcmis::Exception );
69
73
 
70
74
        void initialize( ) throw ( libcmis::Exception );
71
75
};