chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From f...@apache.org
Subject svn commit: r1741020 [2/2] - in /chemistry/portcmis/trunk: PortCMIS/binding/ PortCMIS/binding/browser/ PortCMIS/binding/browser/json/ PortCMIS/client/ PortCMIS/const/ PortCMIS/data/ PortCMIS/enum/ PortCMIS/exceptions/ PortCMISWin/binding/
Date Tue, 26 Apr 2016 13:31:44 GMT
Modified: chemistry/portcmis/trunk/PortCMIS/enum/Enums.cs
URL: http://svn.apache.org/viewvc/chemistry/portcmis/trunk/PortCMIS/enum/Enums.cs?rev=1741020&r1=1741019&r2=1741020&view=diff
==============================================================================
--- chemistry/portcmis/trunk/PortCMIS/enum/Enums.cs (original)
+++ chemistry/portcmis/trunk/PortCMIS/enum/Enums.cs Tue Apr 26 13:31:44 2016
@@ -65,10 +65,19 @@ namespace PortCMIS.Enums
     /// </summary>
     public enum CapabilityContentStreamUpdates
     {
+        /// <summary>
+        /// Content can be updated at any time.
+        /// </summary>
         [CmisValue("anytime")]
         Anyime,
+        /// <summary>
+        /// Only the content on PWCs can be updated.
+        /// </summary>
         [CmisValue("pwconly")]
         PWCOnly,
+        /// <summary>
+        /// Content cannot be updated.
+        /// </summary>
         [CmisValue("none")]
         None
     }
@@ -78,12 +87,24 @@ namespace PortCMIS.Enums
     /// </summary>
     public enum CapabilityChanges
     {
+        /// <summary>
+        /// Change log is not supported.
+        /// </summary>
         [CmisValue("none")]
         None,
+        /// <summary>
+        /// The change log only contains object IDs.
+        /// </summary>
         [CmisValue("objectidsonly")]
         ObjectIdsOnly,
+        /// <summary>
+        /// The change log only contains properties.
+        /// </summary>
         [CmisValue("properties")]
         Properties,
+        /// <summary>
+        /// The change log only contains everything.
+        /// </summary>
         [CmisValue("all")]
         All
     }
@@ -93,8 +114,14 @@ namespace PortCMIS.Enums
     /// </summary>
     public enum CapabilityRenditions
     {
+        /// <summary>
+        /// Renditions are not supported.
+        /// </summary>
         [CmisValue("none")]
         None,
+        /// <summary>
+        /// Renditions can be read.
+        /// </summary>
         [CmisValue("read")]
         Read
     }
@@ -104,14 +131,29 @@ namespace PortCMIS.Enums
     /// </summary>
     public enum CapabilityQuery
     {
+        /// <summary>
+        /// Query is not supported.
+        /// </summary>
         [CmisValue("none")]
         None,
+        /// <summary>
+        /// Only metadata queries are supported.
+        /// </summary>
         [CmisValue("metadataonly")]
         MetadataOnly,
+        /// <summary>
+        /// Only fulltext queries are supported.
+        /// </summary>
         [CmisValue("fulltextonly")]
         FulltextOnly,
+        /// <summary>
+        /// Metadata and fulltext queries are supported but only separately.
+        /// </summary>
         [CmisValue("bothseparate")]
         BothSeparate,
+        /// <summary>
+        /// Metadata and fulltext queries are supported.
+        /// </summary>
         [CmisValue("bothcombined")]
         BothCombined
     }
@@ -121,10 +163,19 @@ namespace PortCMIS.Enums
     /// </summary>
     public enum CapabilityJoin
     {
+        /// <summary>
+        /// Joins are not supported.
+        /// </summary>
         [CmisValue("none")]
         None,
+        /// <summary>
+        /// Only inner joins are supported.
+        /// </summary>
         [CmisValue("inneronly")]
         InnerOnly,
+        /// <summary>
+        /// Inner and outer joins are supported.
+        /// </summary>
         [CmisValue("innerandouter")]
         InnerAndOuter
     }
@@ -134,10 +185,19 @@ namespace PortCMIS.Enums
     /// </summary>
     public enum CapabilityAcl
     {
+        /// <summary>
+        /// ACLs are not supported.
+        /// </summary>
         [CmisValue("none")]
         None,
+        /// <summary>
+        /// ACLs can be discovered.
+        /// </summary>
         [CmisValue("discover")]
         Discover,
+        /// <summary>
+        /// ACLs can be managed.
+        /// </summary>
         [CmisValue("manage")]
         Manage
     }
@@ -147,10 +207,19 @@ namespace PortCMIS.Enums
     /// </summary>
     public enum CapabilityOrderBy
     {
+        /// <summary>
+        /// Order by is not supported.
+        /// </summary>
         [CmisValue("none")]
         None,
+        /// <summary>
+        /// Order by is supported for common properties.
+        /// </summary>
         [CmisValue("common")]
         Common,
+        /// <summary>
+        /// Order by is supported for common and custom properties.
+        /// </summary>
         [CmisValue("custom")]
         Custom
     }
@@ -182,10 +251,19 @@ namespace PortCMIS.Enums
     /// </summary>
     public enum AclPropagation
     {
+        /// <summary>
+        /// Repository determines the objects to change.
+        /// </summary>
         [CmisValue("repositorydetermined")]
         RepositoryDetermined,
+        /// <summary>
+        /// ACL is only changed for this object.
+        /// </summary>
         [CmisValue("objectonly")]
         ObjectOnly,
+        /// <summary>
+        /// ACL is changed for this object and propagated to related objects.
+        /// </summary>
         [CmisValue("propagate")]
         Propagate
     }
@@ -195,10 +273,19 @@ namespace PortCMIS.Enums
     /// </summary>
     public enum ContentStreamAllowed
     {
+        /// <summary>
+        /// Documents cannot have content.
+        /// </summary>
         [CmisValue("notallowed")]
         NotAllowed,
+        /// <summary>
+        /// Documents can have content.
+        /// </summary>
         [CmisValue("allowed")]
         Allowed,
+        /// <summary>
+        /// Documents must have content.
+        /// </summary>
         [CmisValue("required")]
         Required
     }
@@ -208,20 +295,44 @@ namespace PortCMIS.Enums
     /// </summary>
     public enum PropertyType
     {
+        /// <summary>
+        /// Boolean.
+        /// </summary>
         [CmisValue("boolean")]
         Boolean,
+        /// <summary>
+        /// ID.
+        /// </summary>
         [CmisValue("id")]
         Id,
+        /// <summary>
+        /// Integer.
+        /// </summary>
         [CmisValue("integer")]
         Integer,
+        /// <summary>
+        /// DateTime.
+        /// </summary>
         [CmisValue("datetime")]
         DateTime,
+        /// <summary>
+        /// Decimal.
+        /// </summary>
         [CmisValue("decimal")]
         Decimal,
+        /// <summary>
+        /// HTML.
+        /// </summary>
         [CmisValue("html")]
         Html,
+        /// <summary>
+        /// String.
+        /// </summary>
         [CmisValue("string")]
         String,
+        /// <summary>
+        /// URI.
+        /// </summary>
         [CmisValue("uri")]
         Uri
     }
@@ -275,10 +386,19 @@ namespace PortCMIS.Enums
     /// </summary>
     public enum DateTimeResolution
     {
+        /// <summary>
+        /// Years only.
+        /// </summary>
         [CmisValue("year")]
         Year,
+        /// <summary>
+        /// Date.
+        /// </summary>
         [CmisValue("date")]
         Date,
+        /// <summary>
+        /// Date and time.
+        /// </summary>
         [CmisValue("time")]
         Time
     }
@@ -288,8 +408,14 @@ namespace PortCMIS.Enums
     /// </summary>
     public enum DecimalPrecision
     {
+        /// <summary>
+        /// 32 bit precision.
+        /// </summary>
         [CmisValue("32")]
         Bits32,
+        /// <summary>
+        /// 64 bit precision.
+        /// </summary>
         [CmisValue("64")]
         Bits64
     }
@@ -299,12 +425,24 @@ namespace PortCMIS.Enums
     /// </summary>
     public enum IncludeRelationships
     {
+        /// <summary>
+        /// Include no relationships.
+        /// </summary>
         [CmisValue("none")]
         None,
+        /// <summary>
+        /// Only relationships in which the objects returned are the source must be returned.
+        /// </summary>
         [CmisValue("source")]
         Source,
+        /// <summary>
+        /// Only relationships in which the objects returned are the target must be returned.
+        /// </summary>
         [CmisValue("target")]
         Target,
+        /// <summary>
+        /// Include all relationships.
+        /// </summary>
         [CmisValue("both")]
         Both
     }
@@ -314,12 +452,24 @@ namespace PortCMIS.Enums
     /// </summary>
     public enum VersioningState
     {
+        /// <summary>
+        /// No version.
+        /// </summary>
         [CmisValue("none")]
         None,
+        /// <summary>
+        /// Major version.
+        /// </summary>
         [CmisValue("major")]
         Major,
+        /// <summary>
+        /// Minor version.
+        /// </summary>
         [CmisValue("minor")]
         Minor,
+        /// <summary>
+        /// Checked out (PWC).
+        /// </summary>
         [CmisValue("checkedout")]
         CheckedOut
     }
@@ -329,10 +479,19 @@ namespace PortCMIS.Enums
     /// </summary>
     public enum UnfileObject
     {
+        /// <summary>
+        /// Unfile all objects.
+        /// </summary>
         [CmisValue("unfile")]
         Unfile,
+        /// <summary>
+        /// Delete single filed object, unfile all others.
+        /// </summary>
         [CmisValue("deletesinglefiled")]
         DeleteSinglefiled,
+        /// <summary>
+        /// Delete all objects.
+        /// </summary>
         [CmisValue("delete")]
         Delete
     }
@@ -342,10 +501,19 @@ namespace PortCMIS.Enums
     /// </summary>
     public enum RelationshipDirection
     {
+        /// <summary>
+        /// Only relationship objects where the specified object is the source object.
+        /// </summary>
         [CmisValue("source")]
         Source,
+        /// <summary>
+        /// Only relationship objects where the specified object is the target object
+        /// </summary>
         [CmisValue("target")]
         Target,
+        /// <summary>
+        /// All relationships.
+        /// </summary>
         [CmisValue("either")]
         Either
     }
@@ -503,7 +671,7 @@ namespace PortCMIS.Enums
     // --- attribute class ---
 
     [AttributeUsage(AttributeTargets.Field)]
-    public class CmisValueAttribute : System.Attribute
+    internal class CmisValueAttribute : System.Attribute
     {
         public CmisValueAttribute(string value)
         {
@@ -519,8 +687,13 @@ namespace PortCMIS.Enums
     /// <summary>
     /// Handles translations from Enums into CMIS values and vice versa.
     /// </summary>
-    public static class CmisValue
+    internal static class CmisValue
     {
+        /// <summary>
+        /// Gets the CMIS value from an enum.
+        /// </summary>
+        /// <param name="value">the enum</param>
+        /// <returns>the CMIS value or <c>null</c> if no value can be determined</returns>
         public static string GetCmisValue(this Enum value)
         {
             FieldInfo fieldInfo = value.GetType().GetRuntimeField(value.ToString());
@@ -528,6 +701,12 @@ namespace PortCMIS.Enums
             return cmisValueAttr.Length > 0 ? cmisValueAttr[0].Value : null;
         }
 
+        /// <summary>
+        /// Gets an enum from a CMIS value.
+        /// </summary>
+        /// <typeparam name="T">the enum type</typeparam>
+        /// <param name="value">the CMIS value</param>
+        /// <returns>the enum value</returns>
         public static T GetCmisEnum<T>(this string value)
         {
             Type type = typeof(T);

Modified: chemistry/portcmis/trunk/PortCMIS/exceptions/Exceptions.cs
URL: http://svn.apache.org/viewvc/chemistry/portcmis/trunk/PortCMIS/exceptions/Exceptions.cs?rev=1741020&r1=1741019&r2=1741020&view=diff
==============================================================================
--- chemistry/portcmis/trunk/PortCMIS/exceptions/Exceptions.cs (original)
+++ chemistry/portcmis/trunk/PortCMIS/exceptions/Exceptions.cs Tue Apr 26 13:31:44 2016
@@ -91,10 +91,9 @@ namespace PortCMIS.Exceptions
         /// <value>The unparsed error message.</value>
         public string ErrorContent { get; protected set; }
 
-        /// <summary>
-        /// The CMIS exception name.
-        /// </summary>
-        /// <value>The CMIS exception name.</value>
+        /// <value>
+        /// The CMIS exception name
+        /// </value>
         public abstract string Name { get; }
 
     }
@@ -104,15 +103,40 @@ namespace PortCMIS.Exceptions
     /// </summary>
     public class CmisConnectionException : CmisBaseException
     {
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisConnectionException() : base() { }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisConnectionException(string message) : base(message) { }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisConnectionException(string message, Exception inner) : base(message, inner)
{ }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisConnectionException(string message, long? code) : base(message) { }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisConnectionException(string message, string errorContent) : base(message)
{ }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisConnectionException(string message, string errorContent, Exception inner)
: base(message, errorContent, inner) { }
 
+        /// <summary>The CMIS exception name</summary>
         public const string ExceptionName = "connection";
 
+        /// <inheritdoc/>
         public override string Name { get { return ExceptionName; } }
     }
 
@@ -121,15 +145,40 @@ namespace PortCMIS.Exceptions
     /// </summary>
     public class CmisConstraintException : CmisBaseException
     {
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisConstraintException() : base() { }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisConstraintException(string message) : base(message) { }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisConstraintException(string message, Exception inner) : base(message, inner)
{ }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisConstraintException(string message, long? code) : base(message) { }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisConstraintException(string message, string errorContent) : base(message)
{ }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisConstraintException(string message, string errorContent, Exception inner)
: base(message, errorContent, inner) { }
 
+        /// <summary>The CMIS exception name</summary>
         public const string ExceptionName = "constraint";
 
+        /// <inheritdoc/>
         public override string Name { get { return ExceptionName; } }
     }
 
@@ -138,15 +187,40 @@ namespace PortCMIS.Exceptions
     /// </summary>
     public class CmisContentAlreadyExistsException : CmisBaseException
     {
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisContentAlreadyExistsException() : base() { }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisContentAlreadyExistsException(string message) : base(message) { }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisContentAlreadyExistsException(string message, Exception inner) : base(message,
inner) { }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisContentAlreadyExistsException(string message, long? code) : base(message)
{ }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisContentAlreadyExistsException(string message, string errorContent) : base(message)
{ }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisContentAlreadyExistsException(string message, string errorContent, Exception
inner) : base(message, errorContent, inner) { }
 
+        /// <summary>The CMIS exception name</summary>
         public const string ExceptionName = "contentAlreadyExists";
 
+        /// <inheritdoc/>
         public override string Name { get { return ExceptionName; } }
     }
 
@@ -155,15 +229,40 @@ namespace PortCMIS.Exceptions
     /// </summary>
     public class CmisFilterNotValidException : CmisBaseException
     {
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisFilterNotValidException() : base() { }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisFilterNotValidException(string message) : base(message) { }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisFilterNotValidException(string message, Exception inner) : base(message,
inner) { }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisFilterNotValidException(string message, long? code) : base(message) {
}
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisFilterNotValidException(string message, string errorContent) : base(message)
{ }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisFilterNotValidException(string message, string errorContent, Exception
inner) : base(message, errorContent, inner) { }
 
+        /// <summary>The CMIS exception name</summary>
         public const string ExceptionName = "filterNotValid";
 
+        /// <inheritdoc/>
         public override string Name { get { return ExceptionName; } }
     }
 
@@ -172,15 +271,40 @@ namespace PortCMIS.Exceptions
     /// </summary>
     public class CmisInvalidArgumentException : CmisBaseException
     {
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisInvalidArgumentException() : base() { }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisInvalidArgumentException(string message) : base(message) { }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisInvalidArgumentException(string message, Exception inner) : base(message,
inner) { }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisInvalidArgumentException(string message, long? code) : base(message) {
}
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisInvalidArgumentException(string message, string errorContent) : base(message)
{ }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisInvalidArgumentException(string message, string errorContent, Exception
inner) : base(message, errorContent, inner) { }
 
+        /// <summary>The CMIS exception name</summary>
         public const string ExceptionName = "invalidArgument";
 
+        /// <inheritdoc/>
         public override string Name { get { return ExceptionName; } }
     }
 
@@ -189,15 +313,40 @@ namespace PortCMIS.Exceptions
     /// </summary>
     public class CmisNameConstraintViolationException : CmisBaseException
     {
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisNameConstraintViolationException() : base() { }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisNameConstraintViolationException(string message) : base(message) { }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisNameConstraintViolationException(string message, Exception inner) : base(message,
inner) { }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisNameConstraintViolationException(string message, long? code) : base(message)
{ }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisNameConstraintViolationException(string message, string errorContent)
: base(message) { }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisNameConstraintViolationException(string message, string errorContent,
Exception inner) : base(message, errorContent, inner) { }
 
+        /// <summary>The CMIS exception name</summary>
         public const string ExceptionName = "nameConstraintViolation";
 
+        /// <inheritdoc/>
         public override string Name { get { return ExceptionName; } }
     }
 
@@ -206,15 +355,40 @@ namespace PortCMIS.Exceptions
     /// </summary>
     public class CmisNotSupportedException : CmisBaseException
     {
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisNotSupportedException() : base() { }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisNotSupportedException(string message) : base(message) { }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisNotSupportedException(string message, Exception inner) : base(message,
inner) { }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisNotSupportedException(string message, long? code) : base(message) { }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisNotSupportedException(string message, string errorContent) : base(message)
{ }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisNotSupportedException(string message, string errorContent, Exception inner)
: base(message, errorContent, inner) { }
 
+        /// <summary>The CMIS exception name</summary>
         public const string ExceptionName = "notSupported";
 
+        /// <inheritdoc/>
         public override string Name { get { return ExceptionName; } }
     }
 
@@ -223,15 +397,40 @@ namespace PortCMIS.Exceptions
     /// </summary>
     public class CmisObjectNotFoundException : CmisBaseException
     {
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisObjectNotFoundException() : base() { }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisObjectNotFoundException(string message) : base(message) { }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisObjectNotFoundException(string message, Exception inner) : base(message,
inner) { }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisObjectNotFoundException(string message, long? code) : base(message) {
}
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisObjectNotFoundException(string message, string errorContent) : base(message)
{ }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisObjectNotFoundException(string message, string errorContent, Exception
inner) : base(message, errorContent, inner) { }
 
+        /// <summary>The CMIS exception name</summary>
         public const string ExceptionName = "objectNotFound";
 
+        /// <inheritdoc/>
         public override string Name { get { return ExceptionName; } }
     }
 
@@ -240,15 +439,40 @@ namespace PortCMIS.Exceptions
     /// </summary>
     public class CmisPermissionDeniedException : CmisBaseException
     {
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisPermissionDeniedException() : base() { }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisPermissionDeniedException(string message) : base(message) { }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisPermissionDeniedException(string message, Exception inner) : base(message,
inner) { }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisPermissionDeniedException(string message, long? code) : base(message)
{ }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisPermissionDeniedException(string message, string errorContent) : base(message)
{ }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisPermissionDeniedException(string message, string errorContent, Exception
inner) : base(message, errorContent, inner) { }
 
+        /// <summary>The CMIS exception name</summary>
         public const string ExceptionName = "permissionDenied";
 
+        /// <inheritdoc/>
         public override string Name { get { return ExceptionName; } }
     }
 
@@ -257,15 +481,40 @@ namespace PortCMIS.Exceptions
     /// </summary>
     public class CmisRuntimeException : CmisBaseException
     {
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisRuntimeException() : base() { }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisRuntimeException(string message) : base(message) { }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisRuntimeException(string message, Exception inner) : base(message, inner)
{ }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisRuntimeException(string message, long? code) : base(message) { }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisRuntimeException(string message, string errorContent) : base(message)
{ }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisRuntimeException(string message, string errorContent, Exception inner)
: base(message, errorContent, inner) { }
 
+        /// <summary>The CMIS exception name</summary>
         public const string ExceptionName = "runtime";
 
+        /// <inheritdoc/>
         public override string Name { get { return ExceptionName; } }
     }
 
@@ -274,15 +523,40 @@ namespace PortCMIS.Exceptions
     /// </summary>
     public class CmisStorageException : CmisBaseException
     {
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisStorageException() : base() { }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisStorageException(string message) : base(message) { }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisStorageException(string message, Exception inner) : base(message, inner)
{ }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisStorageException(string message, long? code) : base(message) { }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisStorageException(string message, string errorContent) : base(message)
{ }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisStorageException(string message, string errorContent, Exception inner)
: base(message, errorContent, inner) { }
 
+        /// <summary>The CMIS exception name</summary>
         public const string ExceptionName = "storage";
 
+        /// <inheritdoc/>
         public override string Name { get { return ExceptionName; } }
     }
 
@@ -291,15 +565,40 @@ namespace PortCMIS.Exceptions
     /// </summary>
     public class CmisStreamNotSupportedException : CmisBaseException
     {
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisStreamNotSupportedException() : base() { }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisStreamNotSupportedException(string message) : base(message) { }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisStreamNotSupportedException(string message, Exception inner) : base(message,
inner) { }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisStreamNotSupportedException(string message, long? code) : base(message)
{ }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisStreamNotSupportedException(string message, string errorContent) : base(message)
{ }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisStreamNotSupportedException(string message, string errorContent, Exception
inner) : base(message, errorContent, inner) { }
 
+        /// <summary>The CMIS exception name</summary>
         public const string ExceptionName = "streamNotSupported";
 
+        /// <inheritdoc/>
         public override string Name { get { return ExceptionName; } }
     }
 
@@ -308,15 +607,40 @@ namespace PortCMIS.Exceptions
     /// </summary>
     public class CmisUpdateConflictException : CmisBaseException
     {
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisUpdateConflictException() : base() { }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisUpdateConflictException(string message) : base(message) { }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisUpdateConflictException(string message, Exception inner) : base(message,
inner) { }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisUpdateConflictException(string message, long? code) : base(message) {
}
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisUpdateConflictException(string message, string errorContent) : base(message)
{ }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisUpdateConflictException(string message, string errorContent, Exception
inner) : base(message, errorContent, inner) { }
 
+        /// <summary>The CMIS exception name</summary>
         public const string ExceptionName = "updateConflict";
 
+        /// <inheritdoc/>
         public override string Name { get { return ExceptionName; } }
     }
 
@@ -325,15 +649,40 @@ namespace PortCMIS.Exceptions
     /// </summary>
     public class CmisVersioningException : CmisBaseException
     {
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisVersioningException() : base() { }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisVersioningException(string message) : base(message) { }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisVersioningException(string message, Exception inner) : base(message, inner)
{ }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisVersioningException(string message, long? code) : base(message) { }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisVersioningException(string message, string errorContent) : base(message)
{ }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisVersioningException(string message, string errorContent, Exception inner)
: base(message, errorContent, inner) { }
 
+        /// <summary>The CMIS exception name</summary>
         public const string ExceptionName = "versioning";
 
+        /// <inheritdoc/>
         public override string Name { get { return ExceptionName; } }
     }
 
@@ -342,11 +691,34 @@ namespace PortCMIS.Exceptions
     /// </summary>
     public class CmisUnauthorizedException : CmisRuntimeException
     {
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisUnauthorizedException() : base() { }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisUnauthorizedException(string message) : base(message) { }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisUnauthorizedException(string message, Exception inner) : base(message,
inner) { }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisUnauthorizedException(string message, long? code) : base(message) { }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisUnauthorizedException(string message, string errorContent) : base(message)
{ }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisUnauthorizedException(string message, string errorContent, Exception inner)
: base(message, errorContent, inner) { }
     }
 
@@ -355,11 +727,34 @@ namespace PortCMIS.Exceptions
     /// </summary>
     public class CmisProxyAuthenticationException : CmisRuntimeException
     {
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisProxyAuthenticationException() : base() { }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisProxyAuthenticationException(string message) : base(message) { }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisProxyAuthenticationException(string message, Exception inner) : base(message,
inner) { }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisProxyAuthenticationException(string message, long? code) : base(message)
{ }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisProxyAuthenticationException(string message, string errorContent) : base(message)
{ }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisProxyAuthenticationException(string message, string errorContent, Exception
inner) : base(message, errorContent, inner) { }
     }
 
@@ -368,11 +763,34 @@ namespace PortCMIS.Exceptions
     /// </summary>
     public class CmisServiceUnavailableException : CmisRuntimeException
     {
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisServiceUnavailableException() : base() { }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisServiceUnavailableException(string message) : base(message) { }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisServiceUnavailableException(string message, Exception inner) : base(message,
inner) { }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisServiceUnavailableException(string message, long? code) : base(message)
{ }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisServiceUnavailableException(string message, string errorContent) : base(message)
{ }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisServiceUnavailableException(string message, string errorContent, Exception
inner) : base(message, errorContent, inner) { }
     }
 
@@ -381,8 +799,19 @@ namespace PortCMIS.Exceptions
     /// </summary>
     public class CmisInvalidServerData : InvalidOperationException
     {
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisInvalidServerData() : base() { }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisInvalidServerData(string message) : base(message) { }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
         public CmisInvalidServerData(string message, Exception inner) : base(message, inner)
{ }
     }
 }

Modified: chemistry/portcmis/trunk/PortCMISWin/binding/WindowsHttp.cs
URL: http://svn.apache.org/viewvc/chemistry/portcmis/trunk/PortCMISWin/binding/WindowsHttp.cs?rev=1741020&r1=1741019&r2=1741020&view=diff
==============================================================================
--- chemistry/portcmis/trunk/PortCMISWin/binding/WindowsHttp.cs (original)
+++ chemistry/portcmis/trunk/PortCMISWin/binding/WindowsHttp.cs Tue Apr 26 13:31:44 2016
@@ -41,26 +41,31 @@ namespace PortCMIS.Binding.Http
         private const string InvokerHttpClient = "org.apache.chemistry.portcmis.invoker.httpclient";
         private object invokerLock = new object();
 
+        /// <inheritdoc/>
         public IResponse InvokeGET(UrlBuilder url, IBindingSession session)
         {
             return Invoke(url, HttpMethod.Get, null, session, null, null, null);
         }
 
+        /// <inheritdoc/>
         public IResponse InvokeGET(UrlBuilder url, IBindingSession session, long? offset,
long? length)
         {
             return Invoke(url, HttpMethod.Get, null, session, offset, length, null);
         }
 
+        /// <inheritdoc/>
         public IResponse InvokePOST(UrlBuilder url, System.Net.Http.HttpContent content,
IBindingSession session)
         {
             return Invoke(url, HttpMethod.Post, content, session, null, null, null);
         }
 
+        /// <inheritdoc/>
         public IResponse InvokePUT(UrlBuilder url, IDictionary<string, string> headers,
System.Net.Http.HttpContent content, IBindingSession session)
         {
             return Invoke(url, HttpMethod.Put, content, session, null, null, headers);
         }
 
+        /// <inheritdoc/>
         public IResponse InvokeDELETE(UrlBuilder url, IBindingSession session)
         {
             return Invoke(url, HttpMethod.Delete, null, session, null, null, null);




Mime
View raw message