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/22 18:18:25 UTC
svn commit: r936933 [2/10] - in
/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons:
chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/
chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencm...
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/ObjectService.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/ObjectService.java?rev=936933&r1=936932&r2=936933&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/ObjectService.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/ObjectService.java Thu Apr 22 16:18:22 2010
@@ -36,55 +36,55 @@ import org.apache.chemistry.opencmis.com
*/
public interface ObjectService {
- String createDocument(String repositoryId, Properties properties, String folderId, ContentStream contentStream,
- VersioningState versioningState, List<String> policies, Acl addAces, Acl removeAces,
- ExtensionsData extension);
+ String createDocument(String repositoryId, Properties properties, String folderId, ContentStream contentStream,
+ VersioningState versioningState, List<String> policies, Acl addAces, Acl removeAces,
+ ExtensionsData extension);
- String createDocumentFromSource(String repositoryId, String sourceId, Properties properties, String folderId,
- VersioningState versioningState, List<String> policies, Acl addAces, Acl removeAces,
- ExtensionsData extension);
+ String createDocumentFromSource(String repositoryId, String sourceId, Properties properties, String folderId,
+ VersioningState versioningState, List<String> policies, Acl addAces, Acl removeAces,
+ ExtensionsData extension);
- String createFolder(String repositoryId, Properties properties, String folderId, List<String> policies,
- Acl addAces, Acl removeAces, ExtensionsData extension);
+ String createFolder(String repositoryId, Properties properties, String folderId, List<String> policies,
+ Acl addAces, Acl removeAces, ExtensionsData extension);
- String createRelationship(String repositoryId, Properties properties, List<String> policies, Acl addAces,
- Acl removeAces, ExtensionsData extension);
+ String createRelationship(String repositoryId, Properties properties, List<String> policies, Acl addAces,
+ Acl removeAces, ExtensionsData extension);
- String createPolicy(String repositoryId, Properties properties, String folderId, List<String> policies,
- Acl addAces, Acl removeAces, ExtensionsData extension);
+ String createPolicy(String repositoryId, Properties properties, String folderId, List<String> policies,
+ Acl addAces, Acl removeAces, ExtensionsData extension);
- AllowableActions getAllowableActions(String repositoryId, String objectId, ExtensionsData extension);
+ AllowableActions getAllowableActions(String repositoryId, String objectId, ExtensionsData extension);
- ObjectData getObject(String repositoryId, String objectId, String filter, Boolean includeAllowableActions,
- IncludeRelationships includeRelationships, String renditionFilter, Boolean includePolicyIds,
- Boolean includeAcl, ExtensionsData extension);
+ ObjectData getObject(String repositoryId, String objectId, String filter, Boolean includeAllowableActions,
+ IncludeRelationships includeRelationships, String renditionFilter, Boolean includePolicyIds,
+ Boolean includeAcl, ExtensionsData extension);
- Properties getProperties(String repositoryId, String objectId, String filter, ExtensionsData extension);
+ Properties getProperties(String repositoryId, String objectId, String filter, ExtensionsData extension);
- List<RenditionData> getRenditions(String repositoryId, String objectId, String renditionFilter,
- BigInteger maxItems, BigInteger skipCount, ExtensionsData extension);
+ List<RenditionData> getRenditions(String repositoryId, String objectId, String renditionFilter,
+ BigInteger maxItems, BigInteger skipCount, ExtensionsData extension);
- ObjectData getObjectByPath(String repositoryId, String path, String filter, Boolean includeAllowableActions,
- IncludeRelationships includeRelationships, String renditionFilter, Boolean includePolicyIds,
- Boolean includeAcl, ExtensionsData extension);
+ ObjectData getObjectByPath(String repositoryId, String path, String filter, Boolean includeAllowableActions,
+ IncludeRelationships includeRelationships, String renditionFilter, Boolean includePolicyIds,
+ Boolean includeAcl, ExtensionsData extension);
- ContentStream getContentStream(String repositoryId, String objectId, String streamId, BigInteger offset,
- BigInteger length, ExtensionsData extension);
+ ContentStream getContentStream(String repositoryId, String objectId, String streamId, BigInteger offset,
+ BigInteger length, ExtensionsData extension);
- void updateProperties(String repositoryId, Holder<String> objectId, Holder<String> changeToken,
- Properties properties, ExtensionsData extension);
+ void updateProperties(String repositoryId, Holder<String> objectId, Holder<String> changeToken,
+ Properties properties, ExtensionsData extension);
- void moveObject(String repositoryId, Holder<String> objectId, String targetFolderId, String sourceFolderId,
- ExtensionsData extension);
+ void moveObject(String repositoryId, Holder<String> objectId, String targetFolderId, String sourceFolderId,
+ ExtensionsData extension);
- void deleteObject(String repositoryId, String objectId, Boolean allVersions, ExtensionsData extension);
+ void deleteObject(String repositoryId, String objectId, Boolean allVersions, ExtensionsData extension);
- FailedToDeleteData deleteTree(String repositoryId, String folderId, Boolean allVersions,
- UnfileObject unfileObjects, Boolean continueOnFailure, ExtensionsData extension);
+ FailedToDeleteData deleteTree(String repositoryId, String folderId, Boolean allVersions,
+ UnfileObject unfileObjects, Boolean continueOnFailure, ExtensionsData extension);
- void setContentStream(String repositoryId, Holder<String> objectId, Boolean overwriteFlag,
- Holder<String> changeToken, ContentStream contentStream, ExtensionsData extension);
+ void setContentStream(String repositoryId, Holder<String> objectId, Boolean overwriteFlag,
+ Holder<String> changeToken, ContentStream contentStream, ExtensionsData extension);
- void deleteContentStream(String repositoryId, Holder<String> objectId, Holder<String> changeToken,
- ExtensionsData extension);
+ void deleteContentStream(String repositoryId, Holder<String> objectId, Holder<String> changeToken,
+ ExtensionsData extension);
}
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/PermissionDefinition.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/PermissionDefinition.java?rev=936933&r1=936932&r2=936933&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/PermissionDefinition.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/PermissionDefinition.java Thu Apr 22 16:18:22 2010
@@ -22,7 +22,7 @@ import java.io.Serializable;
public interface PermissionDefinition extends Serializable, ExtensionsData {
- String getId();
+ String getId();
- String getDescription();
+ String getDescription();
}
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/PermissionMapping.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/PermissionMapping.java?rev=936933&r1=936932&r2=936933&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/PermissionMapping.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/PermissionMapping.java Thu Apr 22 16:18:22 2010
@@ -22,43 +22,43 @@ import java.io.Serializable;
import java.util.List;
public interface PermissionMapping extends Serializable, ExtensionsData {
- String CAN_GET_DESCENDENTS_FOLDER = "canGetDescendents.Folder";
- String CAN_GET_CHILDREN_FOLDER = "canGetChildren.Folder";
- String CAN_GET_PARENTS_FOLDER = "canGetParents.Folder";
- String CAN_GET_FOLDER_PARENT_OBJECT = "canGetFolderParent.Object";
- String CAN_CREATE_DOCUMENT_FOLDER = "canCreateDocument.Folder";
- String CAN_CREATE_FOLDER_FOLDER = "canCreateFolder.Folder";
- String CAN_CREATE_RELATIONSHIP_SOURCE = "canCreateRelationship.Source";
- String CAN_CREATE_RELATIONSHIP_TARGET = "canCreateRelationship.Target";
- String CAN_GET_PROPERTIES_OBJECT = "canGetProperties.Object";
- String CAN_VIEW_CONTENT_OBJECT = "canViewContent.Object";
- String CAN_UPDATE_PROPERTIES_OBJECT = "canUpdateProperties.Object";
- String CAN_MOVE_OBJECT = "canMove.Object";
- String CAN_MOVE_TARGET = "canMove.Target";
- String CAN_MOVE_SOURCE = "canMove.Source";
- String CAN_DELETE_OBJECT = "canDelete.Object";
- String CAN_DELETE_TREE_FOLDER = "canDeleteTree.Folder";
- String CAN_SET_CONTENT_DOCUMENT = "canSetContent.Document";
- String CAN_DELETE_CONTENT_DOCUMENT = "canDeleteContent.Document";
- String CAN_ADD_TO_FOLDER_OBJECT = "canAddToFolder.Object";
- String CAN_ADD_TO_FOLDER_FOLDER = "canAddToFolder.Folder";
- String CAN_REMOVE_FROM_FOLDER_OBJECT = "canRemoveFromFolder.Object";
- String CAN_REMOVE_FROM_FOLDER_FOLDER = "canRemoveFromFolder.Folder";
- String CAN_CHECKOUT_DOCUMENT = "canCheckout.Document";
- String CAN_CANCEL_CHECKOUT_DOCUMENT = "canCancelCheckout.Document";
- String CAN_CHECKIN_DOCUMENT = "canCheckin.Document";
- String CAN_GET_ALL_VERSIONS_VERSION_SERIES = "canGetAllVersions.VersionSeries";
- String CAN_GET_OBJECT_RELATIONSHIPS_OBJECT = "canGetObjectRelationships.Object";
- String CAN_ADD_POLICY_OBJECT = "canAddPolicy.Object";
- String CAN_ADD_POLICY_POLICY = "canAddPolicy.Policy";
- String CAN_REMOVE_POLICY_OBJECT = "canRemovePolicy.Object";
- String CAN_REMOVE_POLICY_POLICY = "canRemovePolicy.Policy";
- String CAN_GET_APPLIED_POLICIES_OBJECT = "canGetAppliedPolicies.Object";
- String CAN_GET_ACL_OBJECT = "canGetACL.Object";
- String CAN_APPLY_ACL_OBJECT = "canApplyACL.Object";
+ String CAN_GET_DESCENDENTS_FOLDER = "canGetDescendents.Folder";
+ String CAN_GET_CHILDREN_FOLDER = "canGetChildren.Folder";
+ String CAN_GET_PARENTS_FOLDER = "canGetParents.Folder";
+ String CAN_GET_FOLDER_PARENT_OBJECT = "canGetFolderParent.Object";
+ String CAN_CREATE_DOCUMENT_FOLDER = "canCreateDocument.Folder";
+ String CAN_CREATE_FOLDER_FOLDER = "canCreateFolder.Folder";
+ String CAN_CREATE_RELATIONSHIP_SOURCE = "canCreateRelationship.Source";
+ String CAN_CREATE_RELATIONSHIP_TARGET = "canCreateRelationship.Target";
+ String CAN_GET_PROPERTIES_OBJECT = "canGetProperties.Object";
+ String CAN_VIEW_CONTENT_OBJECT = "canViewContent.Object";
+ String CAN_UPDATE_PROPERTIES_OBJECT = "canUpdateProperties.Object";
+ String CAN_MOVE_OBJECT = "canMove.Object";
+ String CAN_MOVE_TARGET = "canMove.Target";
+ String CAN_MOVE_SOURCE = "canMove.Source";
+ String CAN_DELETE_OBJECT = "canDelete.Object";
+ String CAN_DELETE_TREE_FOLDER = "canDeleteTree.Folder";
+ String CAN_SET_CONTENT_DOCUMENT = "canSetContent.Document";
+ String CAN_DELETE_CONTENT_DOCUMENT = "canDeleteContent.Document";
+ String CAN_ADD_TO_FOLDER_OBJECT = "canAddToFolder.Object";
+ String CAN_ADD_TO_FOLDER_FOLDER = "canAddToFolder.Folder";
+ String CAN_REMOVE_FROM_FOLDER_OBJECT = "canRemoveFromFolder.Object";
+ String CAN_REMOVE_FROM_FOLDER_FOLDER = "canRemoveFromFolder.Folder";
+ String CAN_CHECKOUT_DOCUMENT = "canCheckout.Document";
+ String CAN_CANCEL_CHECKOUT_DOCUMENT = "canCancelCheckout.Document";
+ String CAN_CHECKIN_DOCUMENT = "canCheckin.Document";
+ String CAN_GET_ALL_VERSIONS_VERSION_SERIES = "canGetAllVersions.VersionSeries";
+ String CAN_GET_OBJECT_RELATIONSHIPS_OBJECT = "canGetObjectRelationships.Object";
+ String CAN_ADD_POLICY_OBJECT = "canAddPolicy.Object";
+ String CAN_ADD_POLICY_POLICY = "canAddPolicy.Policy";
+ String CAN_REMOVE_POLICY_OBJECT = "canRemovePolicy.Object";
+ String CAN_REMOVE_POLICY_POLICY = "canRemovePolicy.Policy";
+ String CAN_GET_APPLIED_POLICIES_OBJECT = "canGetAppliedPolicies.Object";
+ String CAN_GET_ACL_OBJECT = "canGetACL.Object";
+ String CAN_APPLY_ACL_OBJECT = "canApplyACL.Object";
- String getKey();
+ String getKey();
- List<String> getPermissions();
+ List<String> getPermissions();
}
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/PolicyIdList.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/PolicyIdList.java?rev=936933&r1=936932&r2=936933&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/PolicyIdList.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/PolicyIdList.java Thu Apr 22 16:18:22 2010
@@ -22,5 +22,5 @@ import java.util.List;
public interface PolicyIdList extends ExtensionsData {
- List<String> getPolicyIds();
+ List<String> getPolicyIds();
}
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=936933&r1=936932&r2=936933&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 Thu Apr 22 16:18:22 2010
@@ -31,11 +31,11 @@ import java.util.List;
*/
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=936933&r1=936932&r2=936933&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 Thu Apr 22 16:18:22 2010
@@ -24,6 +24,6 @@ package org.apache.chemistry.opencmis.co
*/
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=936933&r1=936932&r2=936933&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 Thu Apr 22 16:18:22 2010
@@ -22,5 +22,5 @@ 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/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=936933&r1=936932&r2=936933&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 Thu Apr 22 16:18:22 2010
@@ -28,47 +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=936933&r1=936932&r2=936933&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 Thu Apr 22 16:18:22 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=936933&r1=936932&r2=936933&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 Thu Apr 22 16:18:22 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=936933&r1=936932&r2=936933&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 Thu Apr 22 16:18:22 2010
@@ -33,126 +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/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=936933&r1=936932&r2=936933&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 Thu Apr 22 16:18:22 2010
@@ -22,7 +22,7 @@ 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=936933&r1=936932&r2=936933&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 Thu Apr 22 16:18:22 2010
@@ -22,5 +22,5 @@ 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/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=936933&r1=936932&r2=936933&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 Thu Apr 22 16:18:22 2010
@@ -33,8 +33,8 @@ import org.apache.chemistry.opencmis.com
*/
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=936933&r1=936932&r2=936933&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 Thu Apr 22 16:18:22 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=936933&r1=936932&r2=936933&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 Thu Apr 22 16:18:22 2010
@@ -22,19 +22,19 @@ 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=936933&r1=936932&r2=936933&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 Thu Apr 22 16:18:22 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=936933&r1=936932&r2=936933&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 Thu Apr 22 16:18:22 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=936933&r1=936932&r2=936933&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 Thu Apr 22 16:18:22 2010
@@ -26,46 +26,46 @@ import java.util.List;
*/
public interface RepositoryService {
- /**
- * Returns a list of CMIS repositories available from this CMIS service
- * endpoint.
- */
- List<RepositoryInfo> getRepositoryInfos(ExtensionsData extension);
+ /**
+ * Returns a list of CMIS repositories available from this CMIS service
+ * endpoint.
+ */
+ List<RepositoryInfo> getRepositoryInfos(ExtensionsData extension);
- /**
- * Returns information about the CMIS repository, the optional capabilities
- * it supports and its Access Control information if applicable.
- *
- * @param repositoryId
- * the identifier for the repository
- */
- RepositoryInfo getRepositoryInfo(String repositoryId, ExtensionsData extension);
+ /**
+ * Returns information about the CMIS repository, the optional capabilities
+ * it supports and its Access Control information if applicable.
+ *
+ * @param repositoryId
+ * the identifier for the repository
+ */
+ RepositoryInfo getRepositoryInfo(String repositoryId, ExtensionsData extension);
- /**
- * Returns the list of Object-Types defined for the Repository that are
- * children of the specified Type.
- *
- * @param repositoryId
- * the identifier for the repository
- * @param typeId
- * optional) the typeId of an Object-Type specified in the
- * repository
- * @param includePropertyDefinitions
- * (optional) if <code>true</code>, then the Repository MUST
- * return the property definitions for each object type returned
- */
- TypeDefinitionList getTypeChildren(String repositoryId, String typeId, Boolean includePropertyDefinitions,
- BigInteger maxItems, BigInteger skipCount, ExtensionsData extension);
+ /**
+ * Returns the list of Object-Types defined for the Repository that are
+ * children of the specified Type.
+ *
+ * @param repositoryId
+ * the identifier for the repository
+ * @param typeId
+ * optional) the typeId of an Object-Type specified in the
+ * repository
+ * @param includePropertyDefinitions
+ * (optional) if <code>true</code>, then the Repository MUST
+ * return the property definitions for each object type returned
+ */
+ TypeDefinitionList getTypeChildren(String repositoryId, String typeId, Boolean includePropertyDefinitions,
+ BigInteger maxItems, BigInteger skipCount, ExtensionsData extension);
- /**
- * Returns the set of descendant object type defined for the repository
- * under the specified type.
- */
- List<TypeDefinitionContainer> getTypeDescendants(String repositoryId, String typeId, BigInteger depth,
- Boolean includePropertyDefinitions, ExtensionsData extension);
+ /**
+ * Returns the set of descendant object type defined for the repository
+ * under the specified type.
+ */
+ List<TypeDefinitionContainer> getTypeDescendants(String repositoryId, String typeId, BigInteger depth,
+ Boolean includePropertyDefinitions, ExtensionsData extension);
- /**
- * Gets the definition of the specified object type.
- */
- TypeDefinition getTypeDefinition(String repositoryId, String typeId, ExtensionsData extension);
+ /**
+ * Gets the definition of the specified object type.
+ */
+ 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=936933&r1=936932&r2=936933&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 Thu Apr 22 16:18:22 2010
@@ -31,131 +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=936933&r1=936932&r2=936933&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 Thu Apr 22 16:18:22 2010
@@ -22,7 +22,7 @@ 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=936933&r1=936932&r2=936933&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 Thu Apr 22 16:18:22 2010
@@ -23,9 +23,9 @@ 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=936933&r1=936932&r2=936933&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 Thu Apr 22 16:18:22 2010
@@ -32,22 +32,22 @@ import org.apache.chemistry.opencmis.com
* 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 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 objectId, String versionSeriesId,
- Boolean major, String filter, Boolean includeAllowableActions, IncludeRelationships includeRelationships,
- String renditionFilter, Boolean includePolicyIds, Boolean includeAcl, ExtensionsData extension);
+ public ObjectData getObjectOfLatestVersion(String repositoryId, String objectId, String versionSeriesId,
+ Boolean major, String filter, Boolean includeAllowableActions, IncludeRelationships includeRelationships,
+ String renditionFilter, Boolean includePolicyIds, Boolean includeAcl, ExtensionsData extension);
- public Properties getPropertiesOfLatestVersion(String repositoryId, String objectId, String versionSeriesId,
- Boolean major, String filter, ExtensionsData extension);
+ public Properties getPropertiesOfLatestVersion(String repositoryId, String objectId, String versionSeriesId,
+ Boolean major, String filter, ExtensionsData extension);
- public List<ObjectData> getAllVersions(String repositoryId, String objectId, String versionSeriesId, String filter,
- Boolean includeAllowableActions, ExtensionsData extension);
+ public List<ObjectData> getAllVersions(String repositoryId, String objectId, 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/api/server/CallContext.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/server/CallContext.java?rev=936933&r1=936932&r2=936933&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/server/CallContext.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/server/CallContext.java Thu Apr 22 16:18:22 2010
@@ -23,55 +23,55 @@ package org.apache.chemistry.opencmis.co
*/
public interface CallContext {
- String BINDING_ATOMPUB = "atompub";
- String BINDING_WEBSERVICES = "webservices";
- String BINDING_LOCAL = "local";
-
- String REPOSITORY_ID = "repositoryId";
- String USERNAME = "useranme";
- String PASSWORD = "password";
- String LOCALE = "locale";
- String OFFSET = "offset";
- String LENGTH = "length";
-
- /**
- * Returns the binding. Usually it returns
- * {@link CallContext#BINDING_ATOMPUB} or
- * {@link CallContext#BINDING_WEBSERVICES}.
- */
- String getBinding();
-
- /**
- * Returns if <code>true</code> object infos can improve the performance.
- */
- boolean isObjectInfoRequired();
-
- /**
- * Returns context data by key.
- *
- * @param key
- * the key
- * @return the data if the key is valid, <code>null</code> otherwise
- */
- String get(String key);
-
- /**
- * Returns the repository id.
- */
- String getRepositoryId();
-
- /**
- * Returns the user name.
- */
- String getUsername();
-
- /**
- * Returns the password.
- */
- String getPassword();
-
- /**
- * Returns the locale.
- */
- String getLocale();
+ String BINDING_ATOMPUB = "atompub";
+ String BINDING_WEBSERVICES = "webservices";
+ String BINDING_LOCAL = "local";
+
+ String REPOSITORY_ID = "repositoryId";
+ String USERNAME = "useranme";
+ String PASSWORD = "password";
+ String LOCALE = "locale";
+ String OFFSET = "offset";
+ String LENGTH = "length";
+
+ /**
+ * Returns the binding. Usually it returns
+ * {@link CallContext#BINDING_ATOMPUB} or
+ * {@link CallContext#BINDING_WEBSERVICES}.
+ */
+ String getBinding();
+
+ /**
+ * Returns if <code>true</code> object infos can improve the performance.
+ */
+ boolean isObjectInfoRequired();
+
+ /**
+ * Returns context data by key.
+ *
+ * @param key
+ * the key
+ * @return the data if the key is valid, <code>null</code> otherwise
+ */
+ String get(String key);
+
+ /**
+ * Returns the repository id.
+ */
+ String getRepositoryId();
+
+ /**
+ * Returns the user name.
+ */
+ String getUsername();
+
+ /**
+ * Returns the password.
+ */
+ String getPassword();
+
+ /**
+ * Returns the locale.
+ */
+ String getLocale();
}
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/server/CmisService.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/server/CmisService.java?rev=936933&r1=936932&r2=936933&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/server/CmisService.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/server/CmisService.java Thu Apr 22 16:18:22 2010
@@ -22,48 +22,48 @@ import org.apache.chemistry.opencmis.com
* OpenCMIS server interface.
*/
public interface CmisService extends RepositoryService, NavigationService, ObjectService, VersioningService,
- DiscoveryService, MultiFilingService, RelationshipService, AclService, PolicyService {
+ DiscoveryService, MultiFilingService, RelationshipService, AclService, PolicyService {
- /**
- * Creates a new document, folder or policy.
- *
- * The property "cmis:objectTypeId" defines the type and implicitly the base
- * type.
- */
- String create(String repositoryId, Properties properties, String folderId, ContentStream contentStream,
- VersioningState versioningState, List<String> policies, ExtensionsData extension);
+ /**
+ * Creates a new document, folder or policy.
+ *
+ * The property "cmis:objectTypeId" defines the type and implicitly the base
+ * type.
+ */
+ String create(String repositoryId, Properties properties, String folderId, ContentStream contentStream,
+ VersioningState versioningState, List<String> policies, ExtensionsData extension);
- /**
- * Deletes an object or cancels a check out.
- *
- * For the Web Services binding this is always an object deletion. For the
- * AtomPub it depends on the referenced object. If it is a checked out
- * document then the check out must be canceled. If the object is not a
- * checked out document then the object must be deleted.
- */
- void deleteObjectOrCancelCheckOut(String repositoryId, String objectId, Boolean allVersions,
- ExtensionsData extension);
+ /**
+ * Deletes an object or cancels a check out.
+ *
+ * For the Web Services binding this is always an object deletion. For the
+ * AtomPub it depends on the referenced object. If it is a checked out
+ * document then the check out must be canceled. If the object is not a
+ * checked out document then the object must be deleted.
+ */
+ void deleteObjectOrCancelCheckOut(String repositoryId, String objectId, Boolean allVersions,
+ ExtensionsData extension);
- /**
- * Applies a new ACL to an object.
- *
- * Since it is not possible to transmit an "add ACL" and a "remove ACL" via
- * AtomPub, the merging has to be done the client side. The ACEs provided
- * here is supposed to the new complete ACL.
- */
- Acl applyAcl(String repositoryId, String objectId, Acl aces, AclPropagation aclPropagation);
+ /**
+ * Applies a new ACL to an object.
+ *
+ * Since it is not possible to transmit an "add ACL" and a "remove ACL" via
+ * AtomPub, the merging has to be done the client side. The ACEs provided
+ * here is supposed to the new complete ACL.
+ */
+ Acl applyAcl(String repositoryId, String objectId, Acl aces, AclPropagation aclPropagation);
- /**
- * Returns the {@link ObjectInfo} of the given object id or
- * <code>null</code> if no object info exists.
- *
- * Only AtomPub requests will require object infos.
- */
- ObjectInfo getObjectInfo(String repositoryId, String objectId);
+ /**
+ * Returns the {@link ObjectInfo} of the given object id or
+ * <code>null</code> if no object info exists.
+ *
+ * Only AtomPub requests will require object infos.
+ */
+ ObjectInfo getObjectInfo(String repositoryId, String objectId);
- /**
- * Signals that this object will not be used anymore and resources can
- * released.
- */
- void close();
+ /**
+ * Signals that this object will not be used anymore and resources can
+ * released.
+ */
+ void close();
}
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/server/CmisServiceFactory.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/server/CmisServiceFactory.java?rev=936933&r1=936932&r2=936933&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/server/CmisServiceFactory.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/server/CmisServiceFactory.java Thu Apr 22 16:18:22 2010
@@ -4,21 +4,21 @@ import java.util.Map;
public interface CmisServiceFactory {
- /**
- * Initializes the factory instance.
- */
- void init(Map<String, String> parameters);
+ /**
+ * Initializes the factory instance.
+ */
+ void init(Map<String, String> parameters);
- /**
- * Cleans up the the factory instance.
- */
- void destroy();
+ /**
+ * Cleans up the the factory instance.
+ */
+ void destroy();
- /**
- * Returns a {@link CmisService} object for the given {@link CallContext}.
- *
- * When the {@link CmisService} object is not longer needed
- * {@link CmisService#close()} will be called.
- */
- CmisService getService(CallContext context);
+ /**
+ * Returns a {@link CmisService} object for the given {@link CallContext}.
+ *
+ * When the {@link CmisService} object is not longer needed
+ * {@link CmisService#close()} will be called.
+ */
+ CmisService getService(CallContext context);
}
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/server/ObjectInfo.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/server/ObjectInfo.java?rev=936933&r1=936932&r2=936933&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/server/ObjectInfo.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/server/ObjectInfo.java Thu Apr 22 16:18:22 2010
@@ -27,142 +27,142 @@ import org.apache.chemistry.opencmis.com
/**
* This class contains information about an object. This data is used to
* generate the appropriate links in AtomPub entries and feeds.
- */
+ */
public interface ObjectInfo {
- /**
- * Returns the object id.
- */
- String getId();
-
- /**
- * Returns the object name.
- */
- String getName();
-
- /**
- * Returns the creator.
- */
- String getCreatedBy();
-
- /**
- * Returns the creation date.
- */
- GregorianCalendar getCreationDate();
-
- /**
- * Returns the last modification date.
- */
- GregorianCalendar getLastModificationDate();
-
- /**
- * Returns the type id.
- */
- String getTypeId();
-
- /**
- * Returns the base type.
- */
- BaseTypeId getBaseType();
-
- /**
- * Returns <code>true</code> if the object is a document and if it is the
- * current version or it is not versionable, <code>false</code> otherwise.
- */
- boolean isCurrentVersion();
-
- /**
- * Returns the version series id if the object is a document and it is
- * versionable, <code>null</code> otherwise.
- */
- String getVersionSeriesId();
-
- /**
- * Returns the working copy id if the object is a document and a working
- * copy exists, <code>null</code> otherwise.
- */
- String getWorkingCopyId();
-
- /**
- * Returns the original id of the working copy if the object is a document
- * and a working copy, <code>null</code> otherwise.
- */
- String getWorkingCopyOriginalId();
-
- /**
- * Returns <code>true</code> if the object is a document and has content,
- * <code>false</code> otherwise.
- */
- boolean hasContent();
-
- /**
- * Returns the content type of the content if the object is a document and
- * has content, <code>null</code> otherwise.
- */
- String getContentType();
-
- /**
- * Returns the file name of the content if the object is a document and has
- * content, <code>null</code> otherwise.
- */
- String getFileName();
-
- /**
- * Returns rendition information if the object has renditions,
- * <code>null</code> otherwise.
- */
- List<RenditionInfo> getRenditionInfos();
-
- /**
- * Returns <code>true</code> if the object supports relationships even if no
- * relationships exist, <code>false</code> otherwise.
- */
- boolean supportsRelationships();
-
- /**
- * Returns <code>true</code> if the object supports policies even if no
- * policies are applied, <code>false</code> otherwise.
- */
- boolean supportsPolicies();
-
- /**
- * Returns <code>true</code> if the object has an ACL, <code>false</code>
- * otherwise.
- */
- boolean hasAcl();
-
- /**
- * Returns <code>true</code> if the object has at least one parent,
- * <code>false</code> otherwise.
- */
- boolean hasParent();
-
- /**
- * Returns <code>true</code> if the object is a folder and supports
- * <code>getDescendants</code>, <code>false</code> otherwise.
- */
- boolean supportsDescendants();
-
- /**
- * Returns <code>true</code> if the object is a folder and supports
- * <code>getFolderTree</code>, <code>false</code> otherwise.
- */
- boolean supportsFolderTree();
-
- /**
- * Returns the list of ids of the relationships that originate from this
- * object, <code>null</code> is no such relationships exist.
- */
- List<String> getRelationshipSourceIds();
-
- /**
- * Returns the list of ids of the relationships that point to this object,
- * <code>null</code> is no such relationships exist.
- */
- List<String> getRelationshipTargetIds();
-
- /**
- * Returns the full object.
- */
- ObjectData getObject();
+ /**
+ * Returns the object id.
+ */
+ String getId();
+
+ /**
+ * Returns the object name.
+ */
+ String getName();
+
+ /**
+ * Returns the creator.
+ */
+ String getCreatedBy();
+
+ /**
+ * Returns the creation date.
+ */
+ GregorianCalendar getCreationDate();
+
+ /**
+ * Returns the last modification date.
+ */
+ GregorianCalendar getLastModificationDate();
+
+ /**
+ * Returns the type id.
+ */
+ String getTypeId();
+
+ /**
+ * Returns the base type.
+ */
+ BaseTypeId getBaseType();
+
+ /**
+ * Returns <code>true</code> if the object is a document and if it is the
+ * current version or it is not versionable, <code>false</code> otherwise.
+ */
+ boolean isCurrentVersion();
+
+ /**
+ * Returns the version series id if the object is a document and it is
+ * versionable, <code>null</code> otherwise.
+ */
+ String getVersionSeriesId();
+
+ /**
+ * Returns the working copy id if the object is a document and a working
+ * copy exists, <code>null</code> otherwise.
+ */
+ String getWorkingCopyId();
+
+ /**
+ * Returns the original id of the working copy if the object is a document
+ * and a working copy, <code>null</code> otherwise.
+ */
+ String getWorkingCopyOriginalId();
+
+ /**
+ * Returns <code>true</code> if the object is a document and has content,
+ * <code>false</code> otherwise.
+ */
+ boolean hasContent();
+
+ /**
+ * Returns the content type of the content if the object is a document and
+ * has content, <code>null</code> otherwise.
+ */
+ String getContentType();
+
+ /**
+ * Returns the file name of the content if the object is a document and has
+ * content, <code>null</code> otherwise.
+ */
+ String getFileName();
+
+ /**
+ * Returns rendition information if the object has renditions,
+ * <code>null</code> otherwise.
+ */
+ List<RenditionInfo> getRenditionInfos();
+
+ /**
+ * Returns <code>true</code> if the object supports relationships even if no
+ * relationships exist, <code>false</code> otherwise.
+ */
+ boolean supportsRelationships();
+
+ /**
+ * Returns <code>true</code> if the object supports policies even if no
+ * policies are applied, <code>false</code> otherwise.
+ */
+ boolean supportsPolicies();
+
+ /**
+ * Returns <code>true</code> if the object has an ACL, <code>false</code>
+ * otherwise.
+ */
+ boolean hasAcl();
+
+ /**
+ * Returns <code>true</code> if the object has at least one parent,
+ * <code>false</code> otherwise.
+ */
+ boolean hasParent();
+
+ /**
+ * Returns <code>true</code> if the object is a folder and supports
+ * <code>getDescendants</code>, <code>false</code> otherwise.
+ */
+ boolean supportsDescendants();
+
+ /**
+ * Returns <code>true</code> if the object is a folder and supports
+ * <code>getFolderTree</code>, <code>false</code> otherwise.
+ */
+ boolean supportsFolderTree();
+
+ /**
+ * Returns the list of ids of the relationships that originate from this
+ * object, <code>null</code> is no such relationships exist.
+ */
+ List<String> getRelationshipSourceIds();
+
+ /**
+ * Returns the list of ids of the relationships that point to this object,
+ * <code>null</code> is no such relationships exist.
+ */
+ List<String> getRelationshipTargetIds();
+
+ /**
+ * Returns the full object.
+ */
+ ObjectData getObject();
}
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/server/RenditionInfo.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/server/RenditionInfo.java?rev=936933&r1=936932&r2=936933&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/server/RenditionInfo.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/api/server/RenditionInfo.java Thu Apr 22 16:18:22 2010
@@ -26,28 +26,28 @@ import java.math.BigInteger;
*/
public interface RenditionInfo {
- /**
- * Return the id of the rendition.
- */
- String getId();
+ /**
+ * Return the id of the rendition.
+ */
+ String getId();
- /**
- * Return the content type of the rendition.
- */
- String getContenType();
+ /**
+ * Return the content type of the rendition.
+ */
+ String getContenType();
- /**
- * Return the kind of the rendition.
- */
- String getKind();
+ /**
+ * Return the kind of the rendition.
+ */
+ String getKind();
- /**
- * Return the title of the rendition.
- */
- String getTitle();
+ /**
+ * Return the title of the rendition.
+ */
+ String getTitle();
- /**
- * Return the size of the rendition in bytes.
- */
- BigInteger getLength();
+ /**
+ * Return the size of the rendition in bytes.
+ */
+ BigInteger getLength();
}
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=936933&r1=936932&r2=936933&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 Thu Apr 22 16:18:22 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=936933&r1=936932&r2=936933&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 Thu Apr 22 16:18:22 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=936933&r1=936932&r2=936933&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 Thu Apr 22 16:18:22 2010
@@ -26,27 +26,27 @@ package org.apache.chemistry.opencmis.co
*/
public enum BaseTypeId {
- CMIS_DOCUMENT("cmis:document"), //
- CMIS_FOLDER("cmis:folder"), //
- CMIS_RELATIONSHIP("cmis:relationship"), //
- CMIS_POLICY("cmis:policy");
+ CMIS_DOCUMENT("cmis:document"), //
+ CMIS_FOLDER("cmis:folder"), //
+ CMIS_RELATIONSHIP("cmis:relationship"), //
+ CMIS_POLICY("cmis:policy");
- private final String value;
+ private final String value;
- BaseTypeId(String v) {
- value = v;
- }
+ BaseTypeId(String v) {
+ value = v;
+ }
- public String value() {
- return value;
- }
+ 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);
- }
+ public static BaseTypeId fromValue(String v) {
+ for (BaseTypeId c : BaseTypeId.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
}