You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@chemistry.apache.org by dc...@apache.org on 2010/04/16 16:11:21 UTC
svn commit: r934892 [2/3] - in
/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons:
./ api/ enums/ exceptions/
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/PolicyService.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/PolicyService.java?rev=934892&r1=934891&r2=934892&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/PolicyService.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/PolicyService.java Fri Apr 16 14:11:19 2010
@@ -20,24 +20,22 @@ package org.apache.chemistry.opencmis.co
import java.util.List;
-
/**
* Policy Service interface. See CMIS 1.0 domain model for details.
*
* @author <a href="mailto:fmueller@opentext.com">Florian Müller</a>
*
- * @see <a href="http://www.oasis-open.org/committees/tc_home.php?wg_abbrev=cmis">OASIS CMIS
- * Technical Committee</a>
+ * @see <a
+ * href="http://www.oasis-open.org/committees/tc_home.php?wg_abbrev=cmis">OASIS
+ * CMIS Technical Committee</a>
*/
public interface PolicyService {
- public void applyPolicy(String repositoryId, String policyId, String objectId,
- ExtensionsData extension);
+ public void applyPolicy(String repositoryId, String policyId, String objectId, ExtensionsData extension);
- public void removePolicy(String repositoryId, String policyId, String objectId,
- ExtensionsData extension);
+ public void removePolicy(String repositoryId, String policyId, String objectId, ExtensionsData extension);
- public List<ObjectData> getAppliedPolicies(String repositoryId, String objectId, String filter,
- ExtensionsData extension);
+ public List<ObjectData> getAppliedPolicies(String repositoryId, String objectId, String filter,
+ ExtensionsData extension);
}
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/Principal.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/Principal.java?rev=934892&r1=934891&r2=934892&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/Principal.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/Principal.java Fri Apr 16 14:11:19 2010
@@ -18,13 +18,12 @@
*/
package org.apache.chemistry.opencmis.commons.api;
-
/**
* @author <a href="mailto:fmueller@opentext.com">Florian Müller</a>
*
*/
public interface Principal extends ExtensionsData {
- String getId();
+ String getId();
}
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/Properties.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/Properties.java?rev=934892&r1=934891&r2=934892&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/Properties.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/Properties.java Fri Apr 16 14:11:19 2010
@@ -20,8 +20,7 @@ package org.apache.chemistry.opencmis.co
import java.util.Map;
-
public interface Properties extends ExtensionsData {
- Map<String, PropertyData<?>> getProperties();
+ Map<String, PropertyData<?>> getProperties();
}
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/PropertyBoolean.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/PropertyBoolean.java?rev=934892&r1=934891&r2=934892&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/PropertyBoolean.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/PropertyBoolean.java Fri Apr 16 14:11:19 2010
@@ -18,7 +18,6 @@
*/
package org.apache.chemistry.opencmis.commons.api;
-
public interface PropertyBoolean extends PropertyData<Boolean> {
}
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/PropertyBooleanDefinition.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/PropertyBooleanDefinition.java?rev=934892&r1=934891&r2=934892&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/PropertyBooleanDefinition.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/PropertyBooleanDefinition.java Fri Apr 16 14:11:19 2010
@@ -18,6 +18,5 @@
*/
package org.apache.chemistry.opencmis.commons.api;
-
public interface PropertyBooleanDefinition extends PropertyDefinition<Boolean> {
}
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/PropertyData.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/PropertyData.java?rev=934892&r1=934891&r2=934892&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/PropertyData.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/PropertyData.java Fri Apr 16 14:11:19 2010
@@ -20,7 +20,6 @@ package org.apache.chemistry.opencmis.co
import java.util.List;
-
/**
* Base property interface.
*
@@ -29,46 +28,47 @@ import java.util.List;
*/
public interface PropertyData<T> extends ExtensionsData {
- /**
- * Returns the property id.
- *
- * @return the property id
- */
- String getId();
-
- /**
- * Returns the local name.
- *
- * @return the local name or <code>null</code>
- */
- String getLocalName();
-
- /**
- * Returns the display name.
- *
- * @return the display name or <code>null</code>
- */
- String getDisplayName();
-
- /**
- * Returns the query name.
- *
- * @return the query name or <code>null</code>
- */
- String getQueryName();
-
- /**
- * Returns the list of values of this property. For a single value property this is a list with
- * one entry.
- *
- * @return the list of values or (in rare cases) <code>null</code>
- */
- List<T> getValues();
-
- /**
- * Returns the first entry of the list of values.
- *
- * @return first entry of the list of values or (in rare cases) <code>null</code>
- */
- T getFirstValue();
+ /**
+ * Returns the property id.
+ *
+ * @return the property id
+ */
+ String getId();
+
+ /**
+ * Returns the local name.
+ *
+ * @return the local name or <code>null</code>
+ */
+ String getLocalName();
+
+ /**
+ * Returns the display name.
+ *
+ * @return the display name or <code>null</code>
+ */
+ String getDisplayName();
+
+ /**
+ * Returns the query name.
+ *
+ * @return the query name or <code>null</code>
+ */
+ String getQueryName();
+
+ /**
+ * Returns the list of values of this property. For a single value property
+ * this is a list with one entry.
+ *
+ * @return the list of values or (in rare cases) <code>null</code>
+ */
+ List<T> getValues();
+
+ /**
+ * Returns the first entry of the list of values.
+ *
+ * @return first entry of the list of values or (in rare cases)
+ * <code>null</code>
+ */
+ T getFirstValue();
}
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/PropertyDateTimeDefinition.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/PropertyDateTimeDefinition.java?rev=934892&r1=934891&r2=934892&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/PropertyDateTimeDefinition.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/PropertyDateTimeDefinition.java Fri Apr 16 14:11:19 2010
@@ -24,5 +24,5 @@ import org.apache.chemistry.opencmis.com
public interface PropertyDateTimeDefinition extends PropertyDefinition<GregorianCalendar> {
- DateTimeResolution getDateTimeResolution();
+ DateTimeResolution getDateTimeResolution();
}
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/PropertyDecimalDefinition.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/PropertyDecimalDefinition.java?rev=934892&r1=934891&r2=934892&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/PropertyDecimalDefinition.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/PropertyDecimalDefinition.java Fri Apr 16 14:11:19 2010
@@ -24,9 +24,9 @@ import org.apache.chemistry.opencmis.com
public interface PropertyDecimalDefinition extends PropertyDefinition<BigDecimal> {
- BigDecimal getMinValue();
+ BigDecimal getMinValue();
- BigDecimal getMaxValue();
+ BigDecimal getMaxValue();
- DecimalPrecision getPrecision();
+ DecimalPrecision getPrecision();
}
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/PropertyDefinition.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/PropertyDefinition.java?rev=934892&r1=934891&r2=934892&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/PropertyDefinition.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/PropertyDefinition.java Fri Apr 16 14:11:19 2010
@@ -33,125 +33,126 @@ import org.apache.chemistry.opencmis.com
*/
public interface PropertyDefinition<T> extends Serializable, ExtensionsData {
- /**
- * Returns the property definition id.
- *
- * @return the property definition id
- */
- String getId();
-
- /**
- * Returns the local name.
- *
- * @return the local name
- */
- String getLocalName();
-
- /**
- * Returns the local namespace.
- *
- * @return the local namespace
- */
- String getLocalNamespace();
-
- /**
- * Returns the display name.
- *
- * @return the display name
- */
- String getDisplayName();
-
- /**
- * Returns the query name
- *
- * @return the query name
- */
- String getQueryName();
-
- /**
- * Returns the property description.
- *
- * @return returns the description
- */
- String getDescription();
-
- /**
- * Returns the property type.
- *
- * @return the property type
- */
- PropertyType getPropertyType();
-
- /**
- * Returns the cardinality.
- *
- * @return the cardinality
- */
- Cardinality getCardinality();
-
- /**
- * Returns the updatability.
- *
- * @return the updatability
- */
- Updatability getUpdatability();
-
- /**
- * Returns if the property is inherited by a parent type.
- *
- * @return <code>true</code> - is inherited;
- * <code>false</false> - is not inherited; <code>null</code> - unknown (noncompliant
- * repository)
- */
- Boolean isInherited();
-
- /**
- * Returns if the property is required.
- *
- * @return <code>true</code> - is required;
- * <code>false</false> - is not required; <code>null</code> - unknown (noncompliant
- * repository)
- */
- Boolean isRequired();
-
- /**
- * Returns if the property is queryable.
- *
- * @return <code>true</code> - is queryable;
- * <code>false</false> - is not queryable; <code>null</code> - unknown (noncompliant
- * repository)
- */
- Boolean isQueryable();
-
- /**
- * Returns if the property is Orderable.
- *
- * @return <code>true</code> - is Orderable;
- * <code>false</false> - is not Orderable; <code>null</code> - unknown (noncompliant
- * repository)
- */
- Boolean isOrderable();
-
- /**
- * Returns if the property supports open choice.
- *
- * @return <code>true</code> - supports open choice;
- * <code>false</false> - does not support open choice; <code>null</code> - unknown or not
- * applicable
- */
- Boolean isOpenChoice();
-
- /**
- * Returns the default value.
- *
- * @return the default value (list) or <code>null</code> if no default value is defined
- */
- List<T> getDefaultValue();
-
- /**
- * Returns the choices for this property.
- *
- * @return the choices or <code>null</code> if no choices are defined
- */
- List<Choice<T>> getChoices();
+ /**
+ * Returns the property definition id.
+ *
+ * @return the property definition id
+ */
+ String getId();
+
+ /**
+ * Returns the local name.
+ *
+ * @return the local name
+ */
+ String getLocalName();
+
+ /**
+ * Returns the local namespace.
+ *
+ * @return the local namespace
+ */
+ String getLocalNamespace();
+
+ /**
+ * Returns the display name.
+ *
+ * @return the display name
+ */
+ String getDisplayName();
+
+ /**
+ * Returns the query name
+ *
+ * @return the query name
+ */
+ String getQueryName();
+
+ /**
+ * Returns the property description.
+ *
+ * @return returns the description
+ */
+ String getDescription();
+
+ /**
+ * Returns the property type.
+ *
+ * @return the property type
+ */
+ PropertyType getPropertyType();
+
+ /**
+ * Returns the cardinality.
+ *
+ * @return the cardinality
+ */
+ Cardinality getCardinality();
+
+ /**
+ * Returns the updatability.
+ *
+ * @return the updatability
+ */
+ Updatability getUpdatability();
+
+ /**
+ * Returns if the property is inherited by a parent type.
+ *
+ * @return <code>true</code> - is inherited;
+ * <code>false</false> - is not inherited; <code>null</code> -
+ * unknown (noncompliant repository)
+ */
+ Boolean isInherited();
+
+ /**
+ * Returns if the property is required.
+ *
+ * @return <code>true</code> - is required;
+ * <code>false</false> - is not required; <code>null</code> -
+ * unknown (noncompliant repository)
+ */
+ Boolean isRequired();
+
+ /**
+ * Returns if the property is queryable.
+ *
+ * @return <code>true</code> - is queryable;
+ * <code>false</false> - is not queryable; <code>null</code> -
+ * unknown (noncompliant repository)
+ */
+ Boolean isQueryable();
+
+ /**
+ * Returns if the property is Orderable.
+ *
+ * @return <code>true</code> - is Orderable;
+ * <code>false</false> - is not Orderable; <code>null</code> -
+ * unknown (noncompliant repository)
+ */
+ Boolean isOrderable();
+
+ /**
+ * Returns if the property supports open choice.
+ *
+ * @return <code>true</code> - supports open choice;
+ * <code>false</false> - does not support open choice; <code>null</code>
+ * - unknown or not applicable
+ */
+ Boolean isOpenChoice();
+
+ /**
+ * Returns the default value.
+ *
+ * @return the default value (list) or <code>null</code> if no default value
+ * is defined
+ */
+ List<T> getDefaultValue();
+
+ /**
+ * Returns the choices for this property.
+ *
+ * @return the choices or <code>null</code> if no choices are defined
+ */
+ List<Choice<T>> getChoices();
}
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/PropertyHtmlDefinition.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/PropertyHtmlDefinition.java?rev=934892&r1=934891&r2=934892&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/PropertyHtmlDefinition.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/PropertyHtmlDefinition.java Fri Apr 16 14:11:19 2010
@@ -18,6 +18,5 @@
*/
package org.apache.chemistry.opencmis.commons.api;
-
public interface PropertyHtmlDefinition extends PropertyDefinition<String> {
}
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/PropertyIdDefinition.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/PropertyIdDefinition.java?rev=934892&r1=934891&r2=934892&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/PropertyIdDefinition.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/PropertyIdDefinition.java Fri Apr 16 14:11:19 2010
@@ -18,6 +18,5 @@
*/
package org.apache.chemistry.opencmis.commons.api;
-
public interface PropertyIdDefinition extends PropertyDefinition<String> {
}
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/PropertyIntegerDefinition.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/PropertyIntegerDefinition.java?rev=934892&r1=934891&r2=934892&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/PropertyIntegerDefinition.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/PropertyIntegerDefinition.java Fri Apr 16 14:11:19 2010
@@ -20,10 +20,9 @@ package org.apache.chemistry.opencmis.co
import java.math.BigInteger;
-
public interface PropertyIntegerDefinition extends PropertyDefinition<BigInteger> {
- BigInteger getMinValue();
+ BigInteger getMinValue();
- BigInteger getMaxValue();
+ BigInteger getMaxValue();
}
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/PropertyStringDefinition.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/PropertyStringDefinition.java?rev=934892&r1=934891&r2=934892&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/PropertyStringDefinition.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/PropertyStringDefinition.java Fri Apr 16 14:11:19 2010
@@ -20,8 +20,7 @@ package org.apache.chemistry.opencmis.co
import java.math.BigInteger;
-
public interface PropertyStringDefinition extends PropertyDefinition<String> {
- BigInteger getMaxLength();
+ BigInteger getMaxLength();
}
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/PropertyUri.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/PropertyUri.java?rev=934892&r1=934891&r2=934892&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/PropertyUri.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/PropertyUri.java Fri Apr 16 14:11:19 2010
@@ -18,7 +18,6 @@
*/
package org.apache.chemistry.opencmis.commons.api;
-
public interface PropertyUri extends PropertyData<String> {
}
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/PropertyUriDefinition.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/PropertyUriDefinition.java?rev=934892&r1=934891&r2=934892&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/PropertyUriDefinition.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/PropertyUriDefinition.java Fri Apr 16 14:11:19 2010
@@ -18,6 +18,5 @@
*/
package org.apache.chemistry.opencmis.commons.api;
-
public interface PropertyUriDefinition extends PropertyDefinition<String> {
}
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/RelationshipService.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/RelationshipService.java?rev=934892&r1=934891&r2=934892&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/RelationshipService.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/RelationshipService.java Fri Apr 16 14:11:19 2010
@@ -27,14 +27,14 @@ import org.apache.chemistry.opencmis.com
*
* @author <a href="mailto:fmueller@opentext.com">Florian Müller</a>
*
- * @see <a href="http://www.oasis-open.org/committees/tc_home.php?wg_abbrev=cmis">OASIS CMIS
- * Technical Committee</a>
+ * @see <a
+ * href="http://www.oasis-open.org/committees/tc_home.php?wg_abbrev=cmis">OASIS
+ * CMIS Technical Committee</a>
*/
public interface RelationshipService {
- public ObjectList getObjectRelationships(String repositoryId, String objectId,
- Boolean includeSubRelationshipTypes, RelationshipDirection relationshipDirection,
- String typeId, String filter, Boolean includeAllowableActions, BigInteger maxItems,
- BigInteger skipCount, ExtensionsData extension);
+ public ObjectList getObjectRelationships(String repositoryId, String objectId, Boolean includeSubRelationshipTypes,
+ RelationshipDirection relationshipDirection, String typeId, String filter, Boolean includeAllowableActions,
+ BigInteger maxItems, BigInteger skipCount, ExtensionsData extension);
}
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/RelationshipTypeDefinition.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/RelationshipTypeDefinition.java?rev=934892&r1=934891&r2=934892&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/RelationshipTypeDefinition.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/RelationshipTypeDefinition.java Fri Apr 16 14:11:19 2010
@@ -22,7 +22,7 @@ import java.util.List;
public interface RelationshipTypeDefinition extends TypeDefinition {
- List<String> getAllowedSourceTypeIds();
+ List<String> getAllowedSourceTypeIds();
- List<String> getAllowedTargetTypeIds();
+ List<String> getAllowedTargetTypeIds();
}
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/RenditionData.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/RenditionData.java?rev=934892&r1=934891&r2=934892&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/RenditionData.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/RenditionData.java Fri Apr 16 14:11:19 2010
@@ -20,22 +20,21 @@ package org.apache.chemistry.opencmis.co
import java.math.BigInteger;
-
public interface RenditionData extends ExtensionsData {
- String getStreamId();
+ String getStreamId();
- String getMimeType();
+ String getMimeType();
- BigInteger getBigLength();
+ BigInteger getBigLength();
- String getKind();
+ String getKind();
- String getTitle();
+ String getTitle();
- BigInteger getBigHeight();
+ BigInteger getBigHeight();
- BigInteger getBigWidth();
+ BigInteger getBigWidth();
- String getRenditionDocumentId();
+ String getRenditionDocumentId();
}
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/RepositoryCapabilities.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/RepositoryCapabilities.java?rev=934892&r1=934891&r2=934892&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/RepositoryCapabilities.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/RepositoryCapabilities.java Fri Apr 16 14:11:19 2010
@@ -29,44 +29,44 @@ import org.apache.chemistry.opencmis.com
public interface RepositoryCapabilities extends Serializable, ExtensionsData {
- // Object
+ // Object
- CapabilityContentStreamUpdates getContentStreamUpdatesCapability();
+ CapabilityContentStreamUpdates getContentStreamUpdatesCapability();
- CapabilityChanges getChangesCapability();
+ CapabilityChanges getChangesCapability();
- CapabilityRenditions getRenditionsCapability();
+ CapabilityRenditions getRenditionsCapability();
- // Navigation
+ // Navigation
- Boolean isGetDescendantsSupported();
+ Boolean isGetDescendantsSupported();
- Boolean isGetFolderTreeSupported();
+ Boolean isGetFolderTreeSupported();
- // Filing
+ // Filing
- Boolean isMultifilingSupported();
+ Boolean isMultifilingSupported();
- Boolean isUnfilingSupported();
+ Boolean isUnfilingSupported();
- Boolean isVersionSpecificFilingSupported();
+ Boolean isVersionSpecificFilingSupported();
- // Versioning
+ // Versioning
- Boolean isPwcSearchableSupported();
+ Boolean isPwcSearchableSupported();
- Boolean isPwcUpdatableSupported();
+ Boolean isPwcUpdatableSupported();
- Boolean isAllVersionsSearchableSupported();
+ Boolean isAllVersionsSearchableSupported();
- // Query
+ // Query
- CapabilityQuery getQueryCapability();
+ CapabilityQuery getQueryCapability();
- CapabilityJoin getJoinCapability();
+ CapabilityJoin getJoinCapability();
- // ACLs
+ // ACLs
- CapabilityAcl getAclCapability();
+ CapabilityAcl getAclCapability();
}
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/RepositoryInfo.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/RepositoryInfo.java?rev=934892&r1=934891&r2=934892&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/RepositoryInfo.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/RepositoryInfo.java Fri Apr 16 14:11:19 2010
@@ -25,35 +25,35 @@ import org.apache.chemistry.opencmis.com
public interface RepositoryInfo extends Serializable, ExtensionsData {
- String getId();
+ String getId();
- String getName();
+ String getName();
- String getDescription();
+ String getDescription();
- String getVendorName();
+ String getVendorName();
- String getProductName();
+ String getProductName();
- String getProductVersion();
+ String getProductVersion();
- String getRootFolderId();
+ String getRootFolderId();
- RepositoryCapabilities getCapabilities();
+ RepositoryCapabilities getCapabilities();
- AclCapabilities getAclCapabilities();
+ AclCapabilities getAclCapabilities();
- String getLatestChangeLogToken();
+ String getLatestChangeLogToken();
- String getCmisVersionSupported();
+ String getCmisVersionSupported();
- String getThinClientUri();
+ String getThinClientUri();
- Boolean getChangesIncomplete();
+ Boolean getChangesIncomplete();
- List<BaseTypeId> getChangesOnType();
+ List<BaseTypeId> getChangesOnType();
- String getPrincipalIdAnonymous();
+ String getPrincipalIdAnonymous();
- String getPrincipalIdAnyone();
+ String getPrincipalIdAnyone();
}
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/RepositoryService.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/RepositoryService.java?rev=934892&r1=934891&r2=934892&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/RepositoryService.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/RepositoryService.java Fri Apr 16 14:11:19 2010
@@ -21,27 +21,26 @@ package org.apache.chemistry.opencmis.co
import java.math.BigInteger;
import java.util.List;
-
/**
* Repository Service interface. See CMIS 1.0 domain model for details.
*
* @author <a href="mailto:fmueller@opentext.com">Florian Müller</a>
*
- * @see <a href="http://www.oasis-open.org/committees/tc_home.php?wg_abbrev=cmis">OASIS CMIS
- * Technical Committee</a>
+ * @see <a
+ * href="http://www.oasis-open.org/committees/tc_home.php?wg_abbrev=cmis">OASIS
+ * CMIS Technical Committee</a>
*/
public interface RepositoryService {
- List<RepositoryInfo> getRepositoryInfos(ExtensionsData extension);
+ List<RepositoryInfo> getRepositoryInfos(ExtensionsData extension);
- RepositoryInfo getRepositoryInfo(String repositoryId, ExtensionsData extension);
+ RepositoryInfo getRepositoryInfo(String repositoryId, ExtensionsData extension);
- TypeDefinitionList getTypeChildren(String repositoryId, String typeId,
- Boolean includePropertyDefinitions, BigInteger maxItems, BigInteger skipCount,
- ExtensionsData extension);
+ TypeDefinitionList getTypeChildren(String repositoryId, String typeId, Boolean includePropertyDefinitions,
+ BigInteger maxItems, BigInteger skipCount, ExtensionsData extension);
- List<TypeDefinitionContainer> getTypeDescendants(String repositoryId, String typeId,
- BigInteger depth, Boolean includePropertyDefinitions, ExtensionsData extension);
+ List<TypeDefinitionContainer> getTypeDescendants(String repositoryId, String typeId, BigInteger depth,
+ Boolean includePropertyDefinitions, ExtensionsData extension);
- TypeDefinition getTypeDefinition(String repositoryId, String typeId, ExtensionsData extension);
+ TypeDefinition getTypeDefinition(String repositoryId, String typeId, ExtensionsData extension);
}
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/TypeDefinition.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/TypeDefinition.java?rev=934892&r1=934891&r2=934892&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/TypeDefinition.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/TypeDefinition.java Fri Apr 16 14:11:19 2010
@@ -31,126 +31,131 @@ import org.apache.chemistry.opencmis.com
*/
public interface TypeDefinition extends Serializable, ExtensionsData {
- /**
- * Returns the type id.
- *
- * @return the type id
- */
- String getId();
-
- /**
- * Returns the local name.
- *
- * @return the local name
- */
- String getLocalName();
-
- /**
- * Returns the local namespace.
- *
- * @return the local namespace
- */
- String getLocalNamespace();
-
- /**
- * Returns the display name.
- *
- * @return the display name
- */
- String getDisplayName();
-
- /**
- * Returns the query name
- *
- * @return the query name
- */
- String getQueryName();
-
- /**
- * Returns the property description.
- *
- * @return returns the description
- */
- String getDescription();
-
- /**
- * Returns the base object type id.
- *
- * @return the base object type id
- */
- BaseTypeId getBaseTypeId();
-
- /**
- * Returns the parent type id.
- *
- * @return the parent type id or <code>null</code> if the type is a base type
- */
- String getParentTypeId();
-
- /**
- * Returns if an object of this type can be created.
- *
- * @return <code>true</code> if an object of this type can be created; <code>false</code> if
- * creation of objects of this type is not possible; <code>null</code> - unknown
- * (noncompliant repository)
- */
- Boolean isCreatable();
-
- /**
- * Returns if an object of this type can be filed.
- *
- * @return <code>true</code> if an object of this type can be filed; <code>false</code> if an
- * object of this type cannot be filed; <code>null</code> - unknown (noncompliant
- * repository)
- */
- Boolean isFileable();
-
- /**
- * Returns if this type is queryable.
- *
- * @return <code>true</code> if this type is queryable; <code>false</code> if this type is not
- * queryable; <code>null</code> - unknown (noncompliant repository)
- */
- Boolean isQueryable();
-
- /**
- * Returns if this type is full text indexed.
- *
- * @return <code>true</code> if this type is full text indexed; <code>false</code> if this type is
- * not full text indexed; <code>null</code> - unknown (noncompliant repository)
- */
- Boolean isFulltextIndexed();
-
- /**
- * Returns if this type is included in queries that query the super type.
- *
- * @return <code>true</code> if this type is included; <code>false</code> if this type is not
- * included; <code>null</code> - unknown (noncompliant repository)
- */
- Boolean isIncludedInSupertypeQuery();
-
- /**
- * Returns if objects of this type are controllable by policies.
- *
- * @return <code>true</code> if objects are controllable by policies; <code>false</code> if
- * objects are not controllable by policies; <code>null</code> - unknown (noncompliant
- * repository)
- */
- Boolean isControllablePolicy();
-
- /**
- * Returns if objects of this type are controllable by ACLs.
- *
- * @return <code>true</code> if objects are controllable by ACLs; <code>false</code> if objects
- * are not controllable by ACLs; <code>null</code> - unknown (noncompliant repository)
- */
- Boolean isControllableAcl();
-
- /**
- * Returns the property definitions of this type.
- *
- * @return the property definitions or <code>null</code> if the property definitions were not
- * requested
- */
- Map<String, PropertyDefinition<?>> getPropertyDefinitions();
+ /**
+ * Returns the type id.
+ *
+ * @return the type id
+ */
+ String getId();
+
+ /**
+ * Returns the local name.
+ *
+ * @return the local name
+ */
+ String getLocalName();
+
+ /**
+ * Returns the local namespace.
+ *
+ * @return the local namespace
+ */
+ String getLocalNamespace();
+
+ /**
+ * Returns the display name.
+ *
+ * @return the display name
+ */
+ String getDisplayName();
+
+ /**
+ * Returns the query name
+ *
+ * @return the query name
+ */
+ String getQueryName();
+
+ /**
+ * Returns the property description.
+ *
+ * @return returns the description
+ */
+ String getDescription();
+
+ /**
+ * Returns the base object type id.
+ *
+ * @return the base object type id
+ */
+ BaseTypeId getBaseTypeId();
+
+ /**
+ * Returns the parent type id.
+ *
+ * @return the parent type id or <code>null</code> if the type is a base
+ * type
+ */
+ String getParentTypeId();
+
+ /**
+ * Returns if an object of this type can be created.
+ *
+ * @return <code>true</code> if an object of this type can be created;
+ * <code>false</code> if creation of objects of this type is not
+ * possible; <code>null</code> - unknown (noncompliant repository)
+ */
+ Boolean isCreatable();
+
+ /**
+ * Returns if an object of this type can be filed.
+ *
+ * @return <code>true</code> if an object of this type can be filed;
+ * <code>false</code> if an object of this type cannot be filed;
+ * <code>null</code> - unknown (noncompliant repository)
+ */
+ Boolean isFileable();
+
+ /**
+ * Returns if this type is queryable.
+ *
+ * @return <code>true</code> if this type is queryable; <code>false</code>
+ * if this type is not queryable; <code>null</code> - unknown
+ * (noncompliant repository)
+ */
+ Boolean isQueryable();
+
+ /**
+ * Returns if this type is full text indexed.
+ *
+ * @return <code>true</code> if this type is full text indexed;
+ * <code>false</code> if this type is not full text indexed;
+ * <code>null</code> - unknown (noncompliant repository)
+ */
+ Boolean isFulltextIndexed();
+
+ /**
+ * Returns if this type is included in queries that query the super type.
+ *
+ * @return <code>true</code> if this type is included; <code>false</code> if
+ * this type is not included; <code>null</code> - unknown
+ * (noncompliant repository)
+ */
+ Boolean isIncludedInSupertypeQuery();
+
+ /**
+ * Returns if objects of this type are controllable by policies.
+ *
+ * @return <code>true</code> if objects are controllable by policies;
+ * <code>false</code> if objects are not controllable by policies;
+ * <code>null</code> - unknown (noncompliant repository)
+ */
+ Boolean isControllablePolicy();
+
+ /**
+ * Returns if objects of this type are controllable by ACLs.
+ *
+ * @return <code>true</code> if objects are controllable by ACLs;
+ * <code>false</code> if objects are not controllable by ACLs;
+ * <code>null</code> - unknown (noncompliant repository)
+ */
+ Boolean isControllableAcl();
+
+ /**
+ * Returns the property definitions of this type.
+ *
+ * @return the property definitions or <code>null</code> if the property
+ * definitions were not requested
+ */
+ Map<String, PropertyDefinition<?>> getPropertyDefinitions();
}
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/TypeDefinitionContainer.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/TypeDefinitionContainer.java?rev=934892&r1=934891&r2=934892&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/TypeDefinitionContainer.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/TypeDefinitionContainer.java Fri Apr 16 14:11:19 2010
@@ -20,10 +20,9 @@ package org.apache.chemistry.opencmis.co
import java.util.List;
-
public interface TypeDefinitionContainer extends ExtensionsData {
- TypeDefinition getTypeDefinition();
+ TypeDefinition getTypeDefinition();
- List<TypeDefinitionContainer> getChildren();
+ List<TypeDefinitionContainer> getChildren();
}
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/TypeDefinitionList.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/TypeDefinitionList.java?rev=934892&r1=934891&r2=934892&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/TypeDefinitionList.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/TypeDefinitionList.java Fri Apr 16 14:11:19 2010
@@ -21,12 +21,11 @@ package org.apache.chemistry.opencmis.co
import java.math.BigInteger;
import java.util.List;
-
public interface TypeDefinitionList extends ExtensionsData {
- List<TypeDefinition> getList();
+ List<TypeDefinition> getList();
- Boolean hasMoreItems();
+ Boolean hasMoreItems();
- BigInteger getNumItems();
+ BigInteger getNumItems();
}
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/VersioningService.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/VersioningService.java?rev=934892&r1=934891&r2=934892&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/VersioningService.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/VersioningService.java Fri Apr 16 14:11:19 2010
@@ -27,33 +27,31 @@ import org.apache.chemistry.opencmis.com
*
* @author <a href="mailto:fmueller@opentext.com">Florian Müller</a>
*
- * @see <a href="http://www.oasis-open.org/committees/tc_home.php?wg_abbrev=cmis">OASIS CMIS
- * Technical Committee</a>
+ * @see <a
+ * href="http://www.oasis-open.org/committees/tc_home.php?wg_abbrev=cmis">OASIS
+ * CMIS Technical Committee</a>
*/
public interface VersioningService {
- public void checkOut(String repositoryId, Holder<String> objectId, ExtensionsData extension,
- Holder<Boolean> contentCopied);
+ public void checkOut(String repositoryId, Holder<String> objectId, ExtensionsData extension,
+ Holder<Boolean> contentCopied);
- public void cancelCheckOut(String repositoryId, String objectId, ExtensionsData extension);
+ public void cancelCheckOut(String repositoryId, String objectId, ExtensionsData extension);
- public void checkIn(String repositoryId, Holder<String> objectId, Boolean major,
- Properties properties, ContentStream contentStream, String checkinComment,
- List<String> policies, Acl addAces, Acl removeAces,
- ExtensionsData extension);
-
- public ObjectData getObjectOfLatestVersion(String repositoryId, String versionSeriesId,
- Boolean major, String filter, Boolean includeAllowableActions,
- IncludeRelationships includeRelationships, String renditionFilter, Boolean includePolicyIds,
- Boolean includeAcl, ExtensionsData extension);
-
- public Properties getPropertiesOfLatestVersion(String repositoryId, String versionSeriesId,
- Boolean major, String filter, ExtensionsData extension);
-
- public List<ObjectData> getAllVersions(String repositoryId, String objectId,
- String versionSeriesId, String filter, Boolean includeAllowableActions,
- ExtensionsData extension);
-
- @Deprecated
- public List<ObjectData> getAllVersions(String repositoryId, String versionSeriesId,
- String filter, Boolean includeAllowableActions, ExtensionsData extension);
+ public void checkIn(String repositoryId, Holder<String> objectId, Boolean major, Properties properties,
+ ContentStream contentStream, String checkinComment, List<String> policies, Acl addAces, Acl removeAces,
+ ExtensionsData extension);
+
+ public ObjectData getObjectOfLatestVersion(String repositoryId, String versionSeriesId, Boolean major,
+ String filter, Boolean includeAllowableActions, IncludeRelationships includeRelationships,
+ String renditionFilter, Boolean includePolicyIds, Boolean includeAcl, ExtensionsData extension);
+
+ public Properties getPropertiesOfLatestVersion(String repositoryId, String versionSeriesId, Boolean major,
+ String filter, ExtensionsData extension);
+
+ public List<ObjectData> getAllVersions(String repositoryId, String objectId, String versionSeriesId, String filter,
+ Boolean includeAllowableActions, ExtensionsData extension);
+
+ @Deprecated
+ public List<ObjectData> getAllVersions(String repositoryId, String versionSeriesId, String filter,
+ Boolean includeAllowableActions, ExtensionsData extension);
}
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/AclPropagation.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/AclPropagation.java?rev=934892&r1=934891&r2=934892&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/AclPropagation.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/AclPropagation.java Fri Apr 16 14:11:19 2010
@@ -26,24 +26,24 @@ package org.apache.chemistry.opencmis.co
*/
public enum AclPropagation {
- REPOSITORYDETERMINED("repositorydetermined"), OBJECTONLY("objectonly"), PROPAGATE("propagate");
- private final String value;
+ REPOSITORYDETERMINED("repositorydetermined"), OBJECTONLY("objectonly"), PROPAGATE("propagate");
+ private final String value;
- AclPropagation(String v) {
- value = v;
- }
+ AclPropagation(String v) {
+ value = v;
+ }
- public String value() {
- return value;
- }
+ public String value() {
+ return value;
+ }
- public static AclPropagation fromValue(String v) {
- for (AclPropagation c : AclPropagation.values()) {
- if (c.value.equals(v)) {
- return c;
- }
- }
- throw new IllegalArgumentException(v);
- }
+ public static AclPropagation fromValue(String v) {
+ for (AclPropagation c : AclPropagation.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
}
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/Action.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/Action.java?rev=934892&r1=934891&r2=934892&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/Action.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/Action.java Fri Apr 16 14:11:19 2010
@@ -20,52 +20,52 @@ package org.apache.chemistry.opencmis.co
public enum Action {
- CAN_DELETE_OBJECT("canDeleteObject"), //
- CAN_UPDATE_PROPERTIES("canUpdateProperties"), //
- CAN_GET_PROPERTIES("canGetProperties"), //
- CAN_GET_OBJECT_RELATIONSHIPS("canGetObjectRelationships"), //
- CAN_GET_OBJECT_PARENTS("canGetObjectParents"), //
- CAN_GET_FOLDER_PARENT("canGetFolderParent"), //
- CAN_GET_FOLDER_TREE("canGetFolderTree"), //
- CAN_GET_DESCENDANTS("canGetDescendants"), //
- CAN_MOVE_OBJECT("canMoveObject"), //
- CAN_DELETE_CONTENT_STREAM("canDeleteContentStream"), //
- CAN_CHECK_OUT("canCheckOut"), //
- CAN_CANCEL_CHECK_OUT("canCancelCheckOut"), //
- CAN_CHECK_IN("canCheckIn"), //
- CAN_SET_CONTENT_STREAM("canSetContentStream"), //
- CAN_GET_ALL_VERSIONS("canGetAllVersions"), //
- CAN_ADD_OBJECT_TO_FOLDER("canAddObjectToFolder"), //
- CAN_REMOVE_OBJECT_FROM_FOLDER("canRemoveObjectFromFolder"), //
- CAN_GET_CONTENT_STREAM("canGetContentStream"), //
- CAN_APPLY_POLICY("canApplyPolicy"), //
- CAN_GET_APPLIED_POLICIES("canGetAppliedPolicies"), //
- CAN_REMOVE_POLICY("canRemovePolicy"), //
- CAN_GET_CHILDREN("canGetChildren"), //
- CAN_CREATE_DOCUMENT("canCreateDocument"), //
- CAN_CREATE_FOLDER("canCreateFolder"), //
- CAN_CREATE_RELATIONSHIP("canCreateRelationship"), //
- CAN_DELETE_TREE("canDeleteTree"), //
- CAN_GET_RENDITIONS("canGetRenditions"), //
- CAN_GET_ACL("canGetACL"), //
- CAN_APPLY_ACL("canApplyACL");
-
- private final String value;
-
- Action(String v) {
- value = v;
- }
-
- public String value() {
- return value;
- }
-
- public static Action fromValue(String v) {
- for (Action c : Action.values()) {
- if (c.value.equals(v)) {
- return c;
- }
- }
- throw new IllegalArgumentException(v);
- }
+ CAN_DELETE_OBJECT("canDeleteObject"), //
+ CAN_UPDATE_PROPERTIES("canUpdateProperties"), //
+ CAN_GET_PROPERTIES("canGetProperties"), //
+ CAN_GET_OBJECT_RELATIONSHIPS("canGetObjectRelationships"), //
+ CAN_GET_OBJECT_PARENTS("canGetObjectParents"), //
+ CAN_GET_FOLDER_PARENT("canGetFolderParent"), //
+ CAN_GET_FOLDER_TREE("canGetFolderTree"), //
+ CAN_GET_DESCENDANTS("canGetDescendants"), //
+ CAN_MOVE_OBJECT("canMoveObject"), //
+ CAN_DELETE_CONTENT_STREAM("canDeleteContentStream"), //
+ CAN_CHECK_OUT("canCheckOut"), //
+ CAN_CANCEL_CHECK_OUT("canCancelCheckOut"), //
+ CAN_CHECK_IN("canCheckIn"), //
+ CAN_SET_CONTENT_STREAM("canSetContentStream"), //
+ CAN_GET_ALL_VERSIONS("canGetAllVersions"), //
+ CAN_ADD_OBJECT_TO_FOLDER("canAddObjectToFolder"), //
+ CAN_REMOVE_OBJECT_FROM_FOLDER("canRemoveObjectFromFolder"), //
+ CAN_GET_CONTENT_STREAM("canGetContentStream"), //
+ CAN_APPLY_POLICY("canApplyPolicy"), //
+ CAN_GET_APPLIED_POLICIES("canGetAppliedPolicies"), //
+ CAN_REMOVE_POLICY("canRemovePolicy"), //
+ CAN_GET_CHILDREN("canGetChildren"), //
+ CAN_CREATE_DOCUMENT("canCreateDocument"), //
+ CAN_CREATE_FOLDER("canCreateFolder"), //
+ CAN_CREATE_RELATIONSHIP("canCreateRelationship"), //
+ CAN_DELETE_TREE("canDeleteTree"), //
+ CAN_GET_RENDITIONS("canGetRenditions"), //
+ CAN_GET_ACL("canGetACL"), //
+ CAN_APPLY_ACL("canApplyACL");
+
+ private final String value;
+
+ Action(String v) {
+ value = v;
+ }
+
+ public String value() {
+ return value;
+ }
+
+ public static Action fromValue(String v) {
+ for (Action c : Action.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
}
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/BaseTypeId.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/BaseTypeId.java?rev=934892&r1=934891&r2=934892&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/BaseTypeId.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/BaseTypeId.java Fri Apr 16 14:11:19 2010
@@ -20,33 +20,33 @@ package org.apache.chemistry.opencmis.co
/**
* Base Object Type Ids Enum.
- *
+ *
* @author <a href="mailto:fmueller@opentext.com">Florian Müller</a>
- *
+ *
*/
public enum BaseTypeId {
- CMIS_DOCUMENT("cmis:document"), //
- CMIS_FOLDER("cmis:folder"), //
- CMIS_RELATIONSHIP("cmis:relationship"), //
- CMIS_POLICY("cmis:policy");
-
- private final String value;
-
- BaseTypeId(String v) {
- value = v;
- }
-
- public String value() {
- return value;
- }
-
- public static BaseTypeId fromValue(String v) {
- for (BaseTypeId c : BaseTypeId.values()) {
- if (c.value.equals(v)) {
- return c;
- }
- }
- throw new IllegalArgumentException(v);
- }
+ CMIS_DOCUMENT("cmis:document"), //
+ CMIS_FOLDER("cmis:folder"), //
+ CMIS_RELATIONSHIP("cmis:relationship"), //
+ CMIS_POLICY("cmis:policy");
+
+ private final String value;
+
+ BaseTypeId(String v) {
+ value = v;
+ }
+
+ public String value() {
+ return value;
+ }
+
+ public static BaseTypeId fromValue(String v) {
+ for (BaseTypeId c : BaseTypeId.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
}
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/CapabilityAcl.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/CapabilityAcl.java?rev=934892&r1=934891&r2=934892&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/CapabilityAcl.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/CapabilityAcl.java Fri Apr 16 14:11:19 2010
@@ -26,24 +26,24 @@ package org.apache.chemistry.opencmis.co
*/
public enum CapabilityAcl {
- NONE("none"), DISCOVER("discover"), MANAGE("manage");
- private final String value;
+ NONE("none"), DISCOVER("discover"), MANAGE("manage");
+ private final String value;
- CapabilityAcl(String v) {
- value = v;
- }
+ CapabilityAcl(String v) {
+ value = v;
+ }
- public String value() {
- return value;
- }
+ public String value() {
+ return value;
+ }
- public static CapabilityAcl fromValue(String v) {
- for (CapabilityAcl c : CapabilityAcl.values()) {
- if (c.value.equals(v)) {
- return c;
- }
- }
- throw new IllegalArgumentException(v);
- }
+ public static CapabilityAcl fromValue(String v) {
+ for (CapabilityAcl c : CapabilityAcl.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
}
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/CapabilityChanges.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/CapabilityChanges.java?rev=934892&r1=934891&r2=934892&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/CapabilityChanges.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/CapabilityChanges.java Fri Apr 16 14:11:19 2010
@@ -26,24 +26,24 @@ package org.apache.chemistry.opencmis.co
*/
public enum CapabilityChanges {
- NONE("none"), OBJECTIDSONLY("objectidsonly"), PROPERTIES("properties"), ALL("all");
- private final String value;
+ NONE("none"), OBJECTIDSONLY("objectidsonly"), PROPERTIES("properties"), ALL("all");
+ private final String value;
- CapabilityChanges(String v) {
- value = v;
- }
+ CapabilityChanges(String v) {
+ value = v;
+ }
- public String value() {
- return value;
- }
+ public String value() {
+ return value;
+ }
- public static CapabilityChanges fromValue(String v) {
- for (CapabilityChanges c : CapabilityChanges.values()) {
- if (c.value.equals(v)) {
- return c;
- }
- }
- throw new IllegalArgumentException(v);
- }
+ public static CapabilityChanges fromValue(String v) {
+ for (CapabilityChanges c : CapabilityChanges.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
}
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/CapabilityContentStreamUpdates.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/CapabilityContentStreamUpdates.java?rev=934892&r1=934891&r2=934892&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/CapabilityContentStreamUpdates.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/CapabilityContentStreamUpdates.java Fri Apr 16 14:11:19 2010
@@ -26,24 +26,24 @@ package org.apache.chemistry.opencmis.co
*/
public enum CapabilityContentStreamUpdates {
- ANYTIME("anytime"), PWCONLY("pwconly"), NONE("none");
- private final String value;
+ ANYTIME("anytime"), PWCONLY("pwconly"), NONE("none");
+ private final String value;
- CapabilityContentStreamUpdates(String v) {
- value = v;
- }
+ CapabilityContentStreamUpdates(String v) {
+ value = v;
+ }
- public String value() {
- return value;
- }
+ public String value() {
+ return value;
+ }
- public static CapabilityContentStreamUpdates fromValue(String v) {
- for (CapabilityContentStreamUpdates c : CapabilityContentStreamUpdates.values()) {
- if (c.value.equals(v)) {
- return c;
- }
- }
- throw new IllegalArgumentException(v);
- }
+ public static CapabilityContentStreamUpdates fromValue(String v) {
+ for (CapabilityContentStreamUpdates c : CapabilityContentStreamUpdates.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
}
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/CapabilityJoin.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/CapabilityJoin.java?rev=934892&r1=934891&r2=934892&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/CapabilityJoin.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/CapabilityJoin.java Fri Apr 16 14:11:19 2010
@@ -26,24 +26,24 @@ package org.apache.chemistry.opencmis.co
*/
public enum CapabilityJoin {
- NONE("none"), INNERONLY("inneronly"), INNERANDOUTER("innerandouter");
- private final String value;
+ NONE("none"), INNERONLY("inneronly"), INNERANDOUTER("innerandouter");
+ private final String value;
- CapabilityJoin(String v) {
- value = v;
- }
+ CapabilityJoin(String v) {
+ value = v;
+ }
- public String value() {
- return value;
- }
+ public String value() {
+ return value;
+ }
- public static CapabilityJoin fromValue(String v) {
- for (CapabilityJoin c : CapabilityJoin.values()) {
- if (c.value.equals(v)) {
- return c;
- }
- }
- throw new IllegalArgumentException(v);
- }
+ public static CapabilityJoin fromValue(String v) {
+ for (CapabilityJoin c : CapabilityJoin.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
}
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/CapabilityQuery.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/CapabilityQuery.java?rev=934892&r1=934891&r2=934892&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/CapabilityQuery.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/CapabilityQuery.java Fri Apr 16 14:11:19 2010
@@ -26,25 +26,25 @@ package org.apache.chemistry.opencmis.co
*/
public enum CapabilityQuery {
- NONE("none"), METADATAONLY("metadataonly"), FULLTEXTONLY("fulltextonly"), BOTHSEPARATE(
- "bothseparate"), BOTHCOMBINED("bothcombined");
- private final String value;
+ NONE("none"), METADATAONLY("metadataonly"), FULLTEXTONLY("fulltextonly"), BOTHSEPARATE("bothseparate"), BOTHCOMBINED(
+ "bothcombined");
+ private final String value;
- CapabilityQuery(String v) {
- value = v;
- }
+ CapabilityQuery(String v) {
+ value = v;
+ }
- public String value() {
- return value;
- }
+ public String value() {
+ return value;
+ }
- public static CapabilityQuery fromValue(String v) {
- for (CapabilityQuery c : CapabilityQuery.values()) {
- if (c.value.equals(v)) {
- return c;
- }
- }
- throw new IllegalArgumentException(v);
- }
+ public static CapabilityQuery fromValue(String v) {
+ for (CapabilityQuery c : CapabilityQuery.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
}
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/CapabilityRenditions.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/CapabilityRenditions.java?rev=934892&r1=934891&r2=934892&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/CapabilityRenditions.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/CapabilityRenditions.java Fri Apr 16 14:11:19 2010
@@ -26,24 +26,24 @@ package org.apache.chemistry.opencmis.co
*/
public enum CapabilityRenditions {
- NONE("none"), READ("read");
- private final String value;
+ NONE("none"), READ("read");
+ private final String value;
- CapabilityRenditions(String v) {
- value = v;
- }
+ CapabilityRenditions(String v) {
+ value = v;
+ }
- public String value() {
- return value;
- }
+ public String value() {
+ return value;
+ }
- public static CapabilityRenditions fromValue(String v) {
- for (CapabilityRenditions c : CapabilityRenditions.values()) {
- if (c.value.equals(v)) {
- return c;
- }
- }
- throw new IllegalArgumentException(v);
- }
+ public static CapabilityRenditions fromValue(String v) {
+ for (CapabilityRenditions c : CapabilityRenditions.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
}
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/ChangeType.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/ChangeType.java?rev=934892&r1=934891&r2=934892&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/ChangeType.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/ChangeType.java Fri Apr 16 14:11:19 2010
@@ -20,24 +20,24 @@ package org.apache.chemistry.opencmis.co
public enum ChangeType {
- CREATED("created"), UPDATED("updated"), DELETED("deleted"), SECURITY("security");
- private final String value;
+ CREATED("created"), UPDATED("updated"), DELETED("deleted"), SECURITY("security");
+ private final String value;
- ChangeType(String v) {
- value = v;
- }
-
- public String value() {
- return value;
- }
-
- public static ChangeType fromValue(String v) {
- for (ChangeType c : ChangeType.values()) {
- if (c.value.equals(v)) {
- return c;
- }
- }
- throw new IllegalArgumentException(v);
- }
+ ChangeType(String v) {
+ value = v;
+ }
+
+ public String value() {
+ return value;
+ }
+
+ public static ChangeType fromValue(String v) {
+ for (ChangeType c : ChangeType.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
}
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/ContentStreamAllowed.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/ContentStreamAllowed.java?rev=934892&r1=934891&r2=934892&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/ContentStreamAllowed.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/ContentStreamAllowed.java Fri Apr 16 14:11:19 2010
@@ -26,24 +26,24 @@ package org.apache.chemistry.opencmis.co
*/
public enum ContentStreamAllowed {
- NOTALLOWED("notallowed"), ALLOWED("allowed"), REQUIRED("required");
- private final String value;
+ NOTALLOWED("notallowed"), ALLOWED("allowed"), REQUIRED("required");
+ private final String value;
- ContentStreamAllowed(String v) {
- value = v;
- }
+ ContentStreamAllowed(String v) {
+ value = v;
+ }
- public String value() {
- return value;
- }
+ public String value() {
+ return value;
+ }
- public static ContentStreamAllowed fromValue(String v) {
- for (ContentStreamAllowed c : ContentStreamAllowed.values()) {
- if (c.value.equals(v)) {
- return c;
- }
- }
- throw new IllegalArgumentException(v);
- }
+ public static ContentStreamAllowed fromValue(String v) {
+ for (ContentStreamAllowed c : ContentStreamAllowed.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
}
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/DateTimeResolution.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/DateTimeResolution.java?rev=934892&r1=934891&r2=934892&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/DateTimeResolution.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/DateTimeResolution.java Fri Apr 16 14:11:19 2010
@@ -26,23 +26,23 @@ package org.apache.chemistry.opencmis.co
*/
public enum DateTimeResolution {
- YEAR("year"), DATE("date"), TIME("time");
- private final String value;
+ YEAR("year"), DATE("date"), TIME("time");
+ private final String value;
- DateTimeResolution(String v) {
- value = v;
- }
+ DateTimeResolution(String v) {
+ value = v;
+ }
- public String value() {
- return value;
- }
+ public String value() {
+ return value;
+ }
- public static DateTimeResolution fromValue(String v) {
- for (DateTimeResolution c : DateTimeResolution.values()) {
- if (c.value.equals(v)) {
- return c;
- }
- }
- throw new IllegalArgumentException(v);
- }
+ public static DateTimeResolution fromValue(String v) {
+ for (DateTimeResolution c : DateTimeResolution.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
}
\ No newline at end of file
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/DecimalPrecision.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/DecimalPrecision.java?rev=934892&r1=934891&r2=934892&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/DecimalPrecision.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/DecimalPrecision.java Fri Apr 16 14:11:19 2010
@@ -28,24 +28,24 @@ import java.math.BigInteger;
*/
public enum DecimalPrecision {
- BITS32(BigInteger.valueOf(32)), BITS64(BigInteger.valueOf(64));
- private final BigInteger value;
+ BITS32(BigInteger.valueOf(32)), BITS64(BigInteger.valueOf(64));
+ private final BigInteger value;
- DecimalPrecision(BigInteger v) {
- value = v;
- }
+ DecimalPrecision(BigInteger v) {
+ value = v;
+ }
- public BigInteger value() {
- return value;
- }
+ public BigInteger value() {
+ return value;
+ }
- public static DecimalPrecision fromValue(BigInteger v) {
- for (DecimalPrecision c : DecimalPrecision.values()) {
- if (c.value.equals(v)) {
- return c;
- }
- }
- throw new IllegalArgumentException(v.toString());
- }
+ public static DecimalPrecision fromValue(BigInteger v) {
+ for (DecimalPrecision c : DecimalPrecision.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v.toString());
+ }
}
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/IncludeRelationships.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/IncludeRelationships.java?rev=934892&r1=934891&r2=934892&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/IncludeRelationships.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/IncludeRelationships.java Fri Apr 16 14:11:19 2010
@@ -26,24 +26,24 @@ package org.apache.chemistry.opencmis.co
*/
public enum IncludeRelationships {
- NONE("none"), SOURCE("source"), TARGET("target"), BOTH("both");
- private final String value;
+ NONE("none"), SOURCE("source"), TARGET("target"), BOTH("both");
+ private final String value;
- IncludeRelationships(String v) {
- value = v;
- }
+ IncludeRelationships(String v) {
+ value = v;
+ }
- public String value() {
- return value;
- }
+ public String value() {
+ return value;
+ }
- public static IncludeRelationships fromValue(String v) {
- for (IncludeRelationships c : IncludeRelationships.values()) {
- if (c.value.equals(v)) {
- return c;
- }
- }
- throw new IllegalArgumentException(v);
- }
+ public static IncludeRelationships fromValue(String v) {
+ for (IncludeRelationships c : IncludeRelationships.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
}
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/PropertyType.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/PropertyType.java?rev=934892&r1=934891&r2=934892&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/PropertyType.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/PropertyType.java Fri Apr 16 14:11:19 2010
@@ -26,25 +26,25 @@ package org.apache.chemistry.opencmis.co
*/
public enum PropertyType {
- BOOLEAN("boolean"), ID("id"), INTEGER("integer"), DATETIME("datetime"), DECIMAL("decimal"), HTML(
- "html"), STRING("string"), URI("uri");
- private final String value;
+ BOOLEAN("boolean"), ID("id"), INTEGER("integer"), DATETIME("datetime"), DECIMAL("decimal"), HTML("html"), STRING(
+ "string"), URI("uri");
+ private final String value;
- PropertyType(String v) {
- value = v;
- }
+ PropertyType(String v) {
+ value = v;
+ }
- public String value() {
- return value;
- }
+ public String value() {
+ return value;
+ }
- public static PropertyType fromValue(String v) {
- for (PropertyType c : PropertyType.values()) {
- if (c.value.equals(v)) {
- return c;
- }
- }
- throw new IllegalArgumentException(v);
- }
+ public static PropertyType fromValue(String v) {
+ for (PropertyType c : PropertyType.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
}
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/RelationshipDirection.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/RelationshipDirection.java?rev=934892&r1=934891&r2=934892&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/RelationshipDirection.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/RelationshipDirection.java Fri Apr 16 14:11:19 2010
@@ -26,24 +26,24 @@ package org.apache.chemistry.opencmis.co
*/
public enum RelationshipDirection {
- SOURCE("source"), TARGET("target"), EITHER("either");
- private final String value;
+ SOURCE("source"), TARGET("target"), EITHER("either");
+ private final String value;
- RelationshipDirection(String v) {
- value = v;
- }
+ RelationshipDirection(String v) {
+ value = v;
+ }
- public String value() {
- return value;
- }
+ public String value() {
+ return value;
+ }
- public static RelationshipDirection fromValue(String v) {
- for (RelationshipDirection c : RelationshipDirection.values()) {
- if (c.value.equals(v)) {
- return c;
- }
- }
- throw new IllegalArgumentException(v);
- }
+ public static RelationshipDirection fromValue(String v) {
+ for (RelationshipDirection c : RelationshipDirection.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
}
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/SessionType.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/SessionType.java?rev=934892&r1=934891&r2=934892&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/SessionType.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/SessionType.java Fri Apr 16 14:11:19 2010
@@ -25,24 +25,24 @@ package org.apache.chemistry.opencmis.co
*/
public enum SessionType {
- PERSISTENT("persistent"), TRANSIENT("transient");
- private final String value;
+ PERSISTENT("persistent"), TRANSIENT("transient");
+ private final String value;
- SessionType(String v) {
- value = v;
- }
+ SessionType(String v) {
+ value = v;
+ }
- public String value() {
- return value;
- }
+ public String value() {
+ return value;
+ }
- public static SessionType fromValue(String v) {
- for (SessionType c : SessionType.values()) {
- if (c.value.equals(v)) {
- return c;
- }
- }
- throw new IllegalArgumentException(v);
- }
+ public static SessionType fromValue(String v) {
+ for (SessionType c : SessionType.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
}
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/SupportedPermissions.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/SupportedPermissions.java?rev=934892&r1=934891&r2=934892&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/SupportedPermissions.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/SupportedPermissions.java Fri Apr 16 14:11:19 2010
@@ -26,23 +26,23 @@ package org.apache.chemistry.opencmis.co
*/
public enum SupportedPermissions {
- BASIC("basic"), REPOSITORY("repository"), BOTH("both");
- private final String value;
+ BASIC("basic"), REPOSITORY("repository"), BOTH("both");
+ private final String value;
- SupportedPermissions(String v) {
- value = v;
- }
+ SupportedPermissions(String v) {
+ value = v;
+ }
- public String value() {
- return value;
- }
+ public String value() {
+ return value;
+ }
- public static SupportedPermissions fromValue(String v) {
- for (SupportedPermissions c : SupportedPermissions.values()) {
- if (c.value.equals(v)) {
- return c;
- }
- }
- throw new IllegalArgumentException(v);
- }
+ public static SupportedPermissions fromValue(String v) {
+ for (SupportedPermissions c : SupportedPermissions.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
}
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/UnfileObject.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/UnfileObject.java?rev=934892&r1=934891&r2=934892&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/UnfileObject.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/enums/UnfileObject.java Fri Apr 16 14:11:19 2010
@@ -20,32 +20,32 @@ package org.apache.chemistry.opencmis.co
/**
* Unfile Object Enum.
- *
+ *
* @author <a href="mailto:fmueller@opentext.com">Florian Müller</a>
- *
+ *
*/
public enum UnfileObject {
- UNFILE("unfile"), //
- DELETESINGLEFILED("deletesinglefiled"), //
- DELETE("delete");
- private final String value;
-
- UnfileObject(String v) {
- value = v;
- }
-
- public String value() {
- return value;
- }
-
- public static UnfileObject fromValue(String v) {
- for (UnfileObject c : UnfileObject.values()) {
- if (c.value.equals(v)) {
- return c;
- }
- }
- throw new IllegalArgumentException(v);
- }
+ UNFILE("unfile"), //
+ DELETESINGLEFILED("deletesinglefiled"), //
+ DELETE("delete");
+ private final String value;
+
+ UnfileObject(String v) {
+ value = v;
+ }
+
+ public String value() {
+ return value;
+ }
+
+ public static UnfileObject fromValue(String v) {
+ for (UnfileObject c : UnfileObject.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
}