You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@chemistry.apache.org by je...@apache.org on 2013/08/23 15:20:32 UTC
svn commit: r1516840 [2/2] - in /chemistry/opencmis/trunk:
chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/
chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org...
Modified: chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/storedobj/api/StoreManager.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/storedobj/api/StoreManager.java?rev=1516840&r1=1516839&r2=1516840&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/storedobj/api/StoreManager.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/storedobj/api/StoreManager.java Fri Aug 23 13:20:30 2013
@@ -34,14 +34,13 @@ import org.apache.chemistry.opencmis.com
* information can be retrieved or set, a repository can be created or for a
* given repository the store can be retrieved.
*
- * @author Jens
*/
public interface StoreManager {
/**
- * return a list of all available repositories
+ * Return a list of all available repositories.
*
- * @return
+ * @return list of repository ids
*/
List<String> getAllRepositoryIds();
@@ -52,30 +51,28 @@ public interface StoreManager {
*
* @param repositoryId
* id of repository to initialize
- * @param isCreated
- * true if the repository was just created and is initialized for
- * the first time false if it existed before and is reloaded
*/
void initRepository(String repositoryId);
/**
- * get the object store for the given repository id.
+ * Get the object store for the given repository id.
*
* @param repositoryId
+ * repository id of object
* @return the object store in which objects for this repository are stored.
*/
ObjectStore getObjectStore(String repositoryId);
/**
- * get a permission and parameter validating instance
+ * Get a permission and parameter validating instance.
*
* @return validator and permission checker
*/
CmisServiceValidator getServiceValidator();
/**
- * create a new repository with the given id. Create the repository,
- * initiate the type system and initialize it so that it is ready for use
+ * Create a new repository with the given id. Create the repository,
+ * initiate the type system and initialize it so that it is ready for use.
*
* @param repositoryId
* id of repository
@@ -86,7 +83,7 @@ public interface StoreManager {
void createAndInitRepository(String repositoryId, String typeCreatorClassName);
/**
- * retrieve a list with all type definitions.
+ * Retrieve a list with all type definitions.
*
* @param repositoryId
* id of repository
@@ -98,7 +95,7 @@ public interface StoreManager {
Collection<TypeDefinitionContainer> getTypeDefinitionList(String repositoryId, boolean includePropertyDefinitions);
/**
- * Retrieve a type definition for a give repository and type id
+ * Retrieve a type definition for a give repository and type id.
*
* @param repositoryId
* id of repository
@@ -110,7 +107,7 @@ public interface StoreManager {
/**
* Retrieve a type definition for a give repository and type id with or
- * without property definitions and limited to depth in hierarchy
+ * without property definitions and limited to depth in hierarchy.
*
* @param repositoryId
* id of repository
@@ -127,7 +124,7 @@ public interface StoreManager {
int depth);
/**
- * Retrieve a factory to create CMIS data structures used as containers
+ * Retrieve a factory to create CMIS data structures used as containers.
*
* @return factory object
*/
@@ -136,17 +133,18 @@ public interface StoreManager {
/**
* Retrieve a list of root types in the repositories. Root types are
* available by definition and need to to be created by a client. CMIS
- * supports documents, folders, relations and policies as root types
+ * supports documents, folders, relations and policies as root types.
*
* @param repositoryId
* id of repository
* @param inclPropDefs
+ * true to include property definitions, false otherwise
* @return list of root types
*/
List<TypeDefinitionContainer> getRootTypes(String repositoryId, boolean inclPropDefs);
/**
- * Retrieve the repository information for a repository
+ * Retrieve the repository information for a repository.
*
* @param repositoryId
* id of repository
@@ -155,7 +153,7 @@ public interface StoreManager {
RepositoryInfo getRepositoryInfo(String repositoryId);
/**
- * retrieve the type manager for a given repository
+ * Retrieve the type manager for a given repository.
*
* @param repositoryId
* id of repository
@@ -163,24 +161,47 @@ public interface StoreManager {
*/
TypeManagerCreatable getTypeManager(String repositoryId);
+ /**
+ * Get information if a repository supports single filing.
+ *
+ * @param repositoryId
+ * repository id of to get information from
+ * @return true if single filing is supported false otherwise
+ */
boolean supportsSingleFiling(String repositoryId);
+ /**
+ * Get information if a repository supports multi filing.
+ *
+ * @param repositoryId
+ * repository id of to get information from
+ * @return true if multi filing is supported false otherwise
+ */
boolean supportsMultiFilings(String repositoryId);
/**
* Execute a query against the repository (same parameter as the discovery
- * service query method
+ * service query method.
*
* @param user
+ * user execuing the query
* @param repositoryId
+ * id of repository
* @param statement
+ * query statement
* @param searchAllVersions
+ * search in all versions of objects
* @param includeAllowableActions
+ * include allowable actions
* @param includeRelationships
+ * include relationships
* @param renditionFilter
+ * include renditions
* @param maxItems
+ * max number of items to return
* @param skipCount
- * @return
+ * items to skip
+ * @return list of objects matching the query
*/
ObjectList query(String user, String repositoryId, String statement, Boolean searchAllVersions,
Boolean includeAllowableActions, IncludeRelationships includeRelationships, String renditionFilter,
Modified: chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/storedobj/api/StoredObject.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/storedobj/api/StoredObject.java?rev=1516840&r1=1516839&r2=1516840&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/storedobj/api/StoredObject.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/storedobj/api/StoredObject.java Fri Aug 23 13:20:30 2013
@@ -34,20 +34,6 @@ import org.apache.chemistry.opencmis.com
* this interface are always concrete and can live in the object store. A stored
* object always has an id, a name and properties.
*
- * @author Jens
- */
-
-/**
- * @author d058463
- *
- */
-/**
- * @author d058463
- *
- */
-/**
- * @author d058463
- *
*/
public interface StoredObject {
@@ -59,7 +45,7 @@ public interface StoredObject {
String getId();
/**
- * Set the id of this object
+ * Set the id of this object.
*
* @param id
* id of this object
@@ -67,7 +53,7 @@ public interface StoredObject {
void setId(String id);
/**
- * Retrieve the name of this object
+ * Retrieve the name of this object.
*
* @return name of this object
*/
@@ -97,14 +83,14 @@ public interface StoredObject {
void setTypeId(String type);
/**
- * CMIS 1.1 get ids of all secondary types
+ * CMIS 1.1 get ids of all secondary types.
*
* @return list of type ids
*/
List<String> getSecondaryTypeIds();
/**
- * CMIS 1.1: set description of an object
+ * CMIS 1.1: set description of an object.
*
* @param description
* description of this object
@@ -112,21 +98,21 @@ public interface StoredObject {
void setDescription(String description);
/**
- * CMIS 1.1: get description of an object
+ * CMIS 1.1: get description of an object.
*
* @return description of this object
*/
String getDescription();
/**
- * Retrieve the user who created the document
+ * Retrieve the user who created the document.
*
* @return user who created the document.
*/
String getCreatedBy();
/**
- * Set the user who last modified the object. This method does not persist
+ * Set the user who last modified the object. This method does not persist.
* the object.
*
* @param createdBy
@@ -135,14 +121,14 @@ public interface StoredObject {
void setCreatedBy(String createdBy);
/**
- * Retrieve the user who last modified the document
+ * Retrieve the user who last modified the document.
*
* @return user who last modified the document.
*/
String getModifiedBy();
/**
- * Set the user who last modified the object. This method does not persist
+ * Set the user who last modified the object. This method does not persist.
* the object.
*
* @param modifiedBy
@@ -150,6 +136,11 @@ public interface StoredObject {
*/
void setModifiedBy(String modifiedBy);
+ /**
+ * Get the creation date.
+ *
+ * @return date the object was created at
+ */
GregorianCalendar getCreatedAt();
/**
@@ -157,7 +148,7 @@ public interface StoredObject {
* call this method externally. This method does not persist the object.
*
* @param createdAt
- * date the object was created
+ * date the object was created at
*/
void setCreatedAt(GregorianCalendar createdAt);
@@ -176,7 +167,7 @@ public interface StoredObject {
void setModifiedAtNow();
/**
- * Set the date and time of the last modification of this object
+ * Set the date and time of the last modification of this object.
*
* @param calendar
* timestamp of last modification
@@ -187,6 +178,7 @@ public interface StoredObject {
* Get the repository id of this object where the object is stored.
*
* @return
+ * repository id of this object
*/
String getRepositoryId();
@@ -200,9 +192,9 @@ public interface StoredObject {
void setRepositoryId(String repositoryId);
/**
- * Retrieve the list of properties
+ * Retrieve the list of properties.
*
- * @return
+ * @return map of properties
*/
Map<String, PropertyData<?>> getProperties();
@@ -217,7 +209,7 @@ public interface StoredObject {
/**
* Retrieve a change token uniquely identifying the state of the object when
- * it was persisted (used for optimistic locking)
+ * it was persisted (used for optimistic locking).
*
* @return String identifying the change token
*/
@@ -251,6 +243,16 @@ public interface StoredObject {
*/
void updateSystemBasePropertiesWhenModified(Map<String, PropertyData<?>> properties, String user);
+ /**
+ * fill a passed map object with properties of this object.
+ *
+ * @param properties
+ * map to fill
+ * @param objFactory
+ * object factory to create objects
+ * @param requestedIds
+ * list of property ids being requested
+ */
void fillProperties(Map<String, PropertyData<?>> properties, BindingsObjectFactory objFactory,
List<String> requestedIds);
@@ -267,37 +269,47 @@ public interface StoredObject {
void setCustomProperties(Map<String, PropertyData<?>> properties);
/**
- * get the Acl id of the stored object
+ * get the Acl id of the stored object.
+ *
+ * @return acl id of the ACl of this object
*/
int getAclId();
- /*
- * get the allowable actions of the object
+ /**
+ * get the allowable actions of the object.
+ *
+ * @param user
+ * user requesting allowable actions
+ * @return allowable actions of this object for the use
*/
AllowableActions getAllowableActions(String user);
/**
* check if the document can generate a renditions and rendition is visible
- * for user
+ * for user.
*
+ * @param user
+ * user requesting allowable actions
* @return true if rendition exists, false if not.
*/
boolean hasRendition(String user);
/**
- * get the rendition this objects supports
+ * get the rendition this objects supports.
*
* @param renditionFilter
+ * filter of renditions to return
* @param maxItems
+ * max nubmer of items to return
* @param skipCount
- * @param extension
+ * number of objects to skip in result
* @return List of renditions or null if no renditions are available for
* this object
*/
List<RenditionData> getRenditions(String renditionFilter, long maxItems, long skipCount);
/**
- * get the rendition of this object
+ * get the rendition of this object.
*
* @param streamId
* stream if of rendition
@@ -310,14 +322,14 @@ public interface StoredObject {
ContentStream getRenditionContent(String streamId, long offset, long length);
/**
- * get applied policies of this object
+ * get applied policies of this object.
*
* @return list of ids of policies applied to this object
*/
List<String> getAppliedPolicies();
/**
- * add an id of a policy to an object
+ * add an id of a policy to an object.
*
* @param policyId
* id of policy to add
@@ -325,7 +337,7 @@ public interface StoredObject {
void addAppliedPolicy(String policyId);
/**
- * remove an id of a policy from an object
+ * remove an id of a policy from an object.
*
* @param policyId
* id of policy to remove
Modified: chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/storedobj/api/TypeManagerCreatable.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/storedobj/api/TypeManagerCreatable.java?rev=1516840&r1=1516839&r2=1516840&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/storedobj/api/TypeManagerCreatable.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/storedobj/api/TypeManagerCreatable.java Fri Aug 23 13:20:30 2013
@@ -21,13 +21,17 @@ package org.apache.chemistry.opencmis.in
import org.apache.chemistry.opencmis.commons.definitions.TypeDefinition;
import org.apache.chemistry.opencmis.server.support.TypeManager;
+/**
+ * Extension of TypeManager interface to add type mutability.
+ *
+ */
public interface TypeManagerCreatable extends TypeManager {
/**
* Add a type to the type system. Add all properties from inherited types,
* add type to children of parent types.
*
- * @param cmisType
+ * @param typeDefinition
* new type to add
* @param addInheritedProperties
* add properties from supertype to type definition
@@ -35,7 +39,7 @@ public interface TypeManagerCreatable ex
void addTypeDefinition(TypeDefinition typeDefinition, boolean addInheritedProperties);
/**
- * Modify an existing type definition
+ * Modify an existing type definition.
*
* @param typeDefinition
* type to be modified
@@ -44,10 +48,10 @@ public interface TypeManagerCreatable ex
/**
* Delete a type from the type system. Delete will succeed only if type is
- * not in use. Otherwise an exception is thrown
+ * not in use. Otherwise an exception is thrown.
*
- * @param cmisType
- * type to delete
+ * @param typeId
+ * id of type to be deleted
*/
void deleteTypeDefinition(String typeId);
}
Modified: chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/storedobj/api/Version.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/storedobj/api/Version.java?rev=1516840&r1=1516839&r2=1516840&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/storedobj/api/Version.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/storedobj/api/Version.java Fri Aug 23 13:20:30 2013
@@ -20,27 +20,58 @@ package org.apache.chemistry.opencmis.in
/**
* The interface version adds the version specific functionality to an object.
- * It has minor and major versions, stores a comment and has a label
- *
- * @author Jens
- *
+ * It has minor and major versions, stores a comment and has a label.
*/
public interface Version {
+ /**
+ * Check if this version is a major version.
+ *
+ * @return true if major version, false if it is a minor version
+ */
boolean isMajor();
+ /**
+ * Check if this version is a private working copy.
+ *
+ * @return true if it a PWC, false if not
+ */
boolean isPwc();
/**
* make the private working copy an official version.
+ *
+ * @param isMajor
+ * true if major version, false if it is a minor version
*/
void commit(boolean isMajor);
+ /**
+ * Set the check.in comment.
+ *
+ * @param comment
+ * check-in comment
+ */
void setCheckinComment(String comment);
+ /**
+ * Get the check-in comment.
+ *
+ * @return check-in comment
+ */
String getCheckinComment();
+ /**
+ * Get the version label.
+ *
+ * @return the version label
+ */
String getVersionLabel();
+ /**
+ * Get the versioned document (parent) of this version.
+ *
+ * @return versioned document
+ */
VersionedDocument getParentDocument();
}
Modified: chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/storedobj/api/VersionedDocument.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/storedobj/api/VersionedDocument.java?rev=1516840&r1=1516839&r2=1516840&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/storedobj/api/VersionedDocument.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/storedobj/api/VersionedDocument.java Fri Aug 23 13:20:30 2013
@@ -30,16 +30,25 @@ import org.apache.chemistry.opencmis.com
* In contrast to a non-versioned document it has no content, but versions
* instead.
*
- * @author Jens
- *
*/
public interface VersionedDocument extends Filing, StoredObject {
+ /**
+ * Add a version to this document.
+ *
+ * @param content
+ * content stream of new version
+ * @param verState
+ * versioning state of new version
+ * @param user
+ * user adding the new vesion
+ * @return document version added
+ */
DocumentVersion addVersion(ContentStream content, VersioningState verState, String user);
/**
- * delete a version from this object, throw exception if document is checked
- * out or document does not contain this version
+ * Delete a version from this object, throw exception if document is checked
+ * out or document does not contain this version.
*
* @param version
* version to be removed
@@ -48,21 +57,80 @@ public interface VersionedDocument exten
*/
boolean deleteVersion(DocumentVersion version);
+ /**
+ * Test if current object is checked-out.
+ *
+ * @return true if checked-out, false if not checked-out
+ */
boolean isCheckedOut();
+ /**
+ * Cancel a check-out operation and discard the private working copy.
+ *
+ * @param user
+ * user doing the cancel check-out
+ */
void cancelCheckOut(String user);
+ /**
+ * Perform a check-out operation.
+ *
+ * @param content
+ * content stream of object
+ * @param user
+ * user who checks-out
+ * @return document version beinf the new private working copy
+ */
DocumentVersion checkOut(ContentStream content, String user);
+ /**
+ * Check in a private working copy.
+ *
+ * @param isMajor
+ * true if this is a major version
+ * @param properties
+ * properties to set
+ * @param content
+ * content of the document
+ * @param checkinComment
+ * comment to attach to check-in
+ * @param policyIds
+ * list of policy ids to add
+ * @param user
+ * user who does the check-in
+ */
void checkIn(boolean isMajor, Properties properties, ContentStream content, String checkinComment,
List<String> policyIds, String user);
+ /**
+ * Get all versions of this document.
+ *
+ * @return list of document versions
+ */
List<DocumentVersion> getAllVersions();
+ /**
+ * Get the latest version of this document.
+ *
+ * @param major
+ * true if latest major version, false to include minor versions
+ * @return
+ * latest version of the document
+ */
DocumentVersion getLatestVersion(boolean major);
+ /**
+ * Get the user who has checked out this document.
+ *
+ * @return user id of user who has checked out this document
+ */
String getCheckedOutBy();
+ /**
+ * Get the private working copy of this document.
+ *
+ * @return private working copy
+ */
DocumentVersion getPwc();
}
Modified: chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/storedobj/impl/ContentStreamDataImpl.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/storedobj/impl/ContentStreamDataImpl.java?rev=1516840&r1=1516839&r2=1516840&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/storedobj/impl/ContentStreamDataImpl.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/storedobj/impl/ContentStreamDataImpl.java Fri Aug 23 13:20:30 2013
@@ -167,8 +167,8 @@ public class ContentStreamDataImpl imple
return fMimeType;
}
- public void setMimeType(String fMimeType) {
- this.fMimeType = fMimeType;
+ public void setMimeType(String mimeType) {
+ this.fMimeType = mimeType;
}
@Override
Modified: chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/storedobj/impl/DocumentImpl.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/storedobj/impl/DocumentImpl.java?rev=1516840&r1=1516839&r2=1516840&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/storedobj/impl/DocumentImpl.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/storedobj/impl/DocumentImpl.java Fri Aug 23 13:20:30 2013
@@ -41,10 +41,7 @@ import org.slf4j.LoggerFactory;
/**
* InMemory Stored Document A document is a stored object that has a path and
- * (optional) content
- *
- * @author Jens
- *
+ * (optional) content.
*/
public class DocumentImpl extends FilingImpl implements Document {
Modified: chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/storedobj/impl/DocumentVersionImpl.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/storedobj/impl/DocumentVersionImpl.java?rev=1516840&r1=1516839&r2=1516840&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/storedobj/impl/DocumentVersionImpl.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/storedobj/impl/DocumentVersionImpl.java Fri Aug 23 13:20:30 2013
@@ -40,9 +40,6 @@ import org.apache.chemistry.opencmis.inm
/**
* A class representing a single version of a document
- *
- * @author Jens
- *
*/
public class DocumentVersionImpl extends StoredObjectImpl implements DocumentVersion, MultiFiling {
Modified: chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/storedobj/impl/InMemoryServiceValidatorImpl.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/storedobj/impl/InMemoryServiceValidatorImpl.java?rev=1516840&r1=1516839&r2=1516840&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/storedobj/impl/InMemoryServiceValidatorImpl.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/storedobj/impl/InMemoryServiceValidatorImpl.java Fri Aug 23 13:20:30 2013
@@ -189,7 +189,8 @@ public class InMemoryServiceValidatorImp
* org.apache.chemistry.opencmis.commons.data.ExtensionsData)
*/
@Override
- public StoredObject getChildren(CallContext context, String repositoryId, String folderId, ExtensionsData extension) {
+ public StoredObject getChildren(CallContext context, String repositoryId, String folderId,
+ ExtensionsData extension) {
StoredObject so = super.getChildren(context, repositoryId, folderId, extension);
checkReadAccess(repositoryId, context.getUsername(), so);
@@ -490,7 +491,8 @@ public class InMemoryServiceValidatorImp
* org.apache.chemistry.opencmis.commons.data.ExtensionsData)
*/
@Override
- public StoredObject getObjectByPath(CallContext context, String repositoryId, String path, ExtensionsData extension) {
+ public StoredObject getObjectByPath(CallContext context, String repositoryId, String path,
+ ExtensionsData extension) {
StoredObject so = super.getObjectByPath(context, repositoryId, path, extension);
checkReadAccess(repositoryId, context.getUsername(), so);
Modified: chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/storedobj/impl/ObjectStoreImpl.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/storedobj/impl/ObjectStoreImpl.java?rev=1516840&r1=1516839&r2=1516840&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/storedobj/impl/ObjectStoreImpl.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/storedobj/impl/ObjectStoreImpl.java Fri Aug 23 13:20:30 2013
@@ -88,23 +88,23 @@ public class ObjectStoreImpl implements
private static final int FIRST_ID = 100;
/**
- * user id for administrator always having all rights
+ * User id for administrator always having all rights.
*/
public static final String ADMIN_PRINCIPAL_ID = "Admin";
/**
- * Simple id generator that uses just an integer
+ * Simple id generator that uses just an integer.
*/
private static int nextUnusedId = FIRST_ID;
/**
- * a concurrent HashMap as core element to hold all objects in the
- * repository
+ * A concurrent HashMap as core element to hold all objects in the
+ * repository.
*/
private final Map<String, StoredObject> fStoredObjectMap = new ConcurrentHashMap<String, StoredObject>();
/**
- * a concurrent HashMap to hold all Acls in the repository
+ * A concurrent HashMap to hold all Acls in the repository.
*/
private int nextUnusedAclId = 0;
@@ -470,10 +470,12 @@ public class ObjectStoreImpl implements
if (so instanceof Relationship && so.getTypeId().equals(typeId)) {
Relationship ro = (Relationship) so;
if (ro.getSourceObjectId().equals(objectId)
- && (RelationshipDirection.EITHER == direction || RelationshipDirection.SOURCE == direction)) {
+ && (RelationshipDirection.EITHER == direction
+ || RelationshipDirection.SOURCE == direction)) {
res.add(so);
} else if (ro.getTargetObjectId().equals(objectId)
- && (RelationshipDirection.EITHER == direction || RelationshipDirection.TARGET == direction)) {
+ && (RelationshipDirection.EITHER == direction
+ || RelationshipDirection.TARGET == direction)) {
res.add(so);
}
}
@@ -506,7 +508,8 @@ public class ObjectStoreImpl implements
}
@Override
- public Acl applyAcl(StoredObject so, Acl addAces, Acl removeAces, AclPropagation aclPropagation, String principalId) {
+ public Acl applyAcl(StoredObject so, Acl addAces, Acl removeAces, AclPropagation aclPropagation,
+ String principalId) {
if (aclPropagation == AclPropagation.OBJECTONLY || !(so instanceof Folder)) {
return applyAcl(so, addAces, removeAces);
} else {
@@ -624,7 +627,8 @@ public class ObjectStoreImpl implements
}
@Override
- public ChildrenResult getChildren(Folder folder, int maxItemsParam, int skipCountParam, String user, boolean usePwc) {
+ public ChildrenResult getChildren(Folder folder, int maxItemsParam, int skipCountParam, String user,
+ boolean usePwc) {
List<Fileable> children = getChildren(folder, user, usePwc);
sortFolderList(children);
@@ -822,7 +826,7 @@ public class ObjectStoreImpl implements
}
/**
- * check if an Acl is already known
+ * Check if an Acl is already known.
*
* @param acl
* acl to be checked
Modified: chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/storedobj/impl/StoreManagerFactory.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/storedobj/impl/StoreManagerFactory.java?rev=1516840&r1=1516839&r2=1516840&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/storedobj/impl/StoreManagerFactory.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/storedobj/impl/StoreManagerFactory.java Fri Aug 23 13:20:30 2013
@@ -24,9 +24,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
- * create objects that are stored in a persistent store
- *
- * @author Jens
+ * Create objects that are stored in a persistent store.
*/
public final class StoreManagerFactory {
Modified: chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/storedobj/impl/StoreManagerImpl.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/storedobj/impl/StoreManagerImpl.java?rev=1516840&r1=1516839&r2=1516840&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/storedobj/impl/StoreManagerImpl.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/storedobj/impl/StoreManagerImpl.java Fri Aug 23 13:20:30 2013
@@ -33,7 +33,6 @@ import java.util.Set;
import org.apache.chemistry.opencmis.commons.data.ObjectList;
import org.apache.chemistry.opencmis.commons.data.PermissionMapping;
import org.apache.chemistry.opencmis.commons.data.RepositoryInfo;
-import org.apache.chemistry.opencmis.commons.definitions.MutableTypeDefinition;
import org.apache.chemistry.opencmis.commons.definitions.PermissionDefinition;
import org.apache.chemistry.opencmis.commons.definitions.TypeDefinition;
import org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionContainer;
@@ -76,9 +75,8 @@ import org.apache.chemistry.opencmis.ser
import org.apache.chemistry.opencmis.server.support.TypeManager;
/**
- * factory to create objects that are stored in the InMemory store
+ * Factory to create objects that are stored in the InMemory store.
*
- * @author Jens
*/
public class StoreManagerImpl implements StoreManager {
@@ -105,12 +103,12 @@ public class StoreManagerImpl implements
}
/**
- * map from repository id to a type manager
+ * Map from repository id to a type manager.
*/
private final Map<String, TypeManagerImpl> fMapRepositoryToTypeManager = new HashMap<String, TypeManagerImpl>();
/**
- * map from repository id to a object store
+ * Map from repository id to a object store.
*/
private final Map<String, ObjectStore> fMapRepositoryToObjectStore = new HashMap<String, ObjectStore>();
@@ -425,7 +423,7 @@ public class StoreManagerImpl implements
list.add(createMapping(PermissionMapping.CAN_MOVE_TARGET, CMIS_WRITE));
list.add(createMapping(PermissionMapping.CAN_MOVE_SOURCE, CMIS_WRITE));
list.add(createMapping(PermissionMapping.CAN_DELETE_OBJECT, CMIS_WRITE));
- ;
+
list.add(createMapping(PermissionMapping.CAN_DELETE_TREE_FOLDER, CMIS_WRITE));
list.add(createMapping(PermissionMapping.CAN_SET_CONTENT_DOCUMENT, CMIS_WRITE));
list.add(createMapping(PermissionMapping.CAN_DELETE_CONTENT_DOCUMENT, CMIS_WRITE));
Modified: chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/storedobj/impl/StoredObjectImpl.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/storedobj/impl/StoredObjectImpl.java?rev=1516840&r1=1516839&r2=1516840&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/storedobj/impl/StoredObjectImpl.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/storedobj/impl/StoredObjectImpl.java Fri Aug 23 13:20:30 2013
@@ -45,9 +45,8 @@ import org.apache.chemistry.opencmis.inm
/**
* StoredObject is the common superclass of all objects hold in the repository
- * Documents, Folders, Relationships and Policies
+ * Documents, Folders, Relationships and Policies.
*
- * @author Jens
*/
public class StoredObjectImpl implements StoredObject {
@@ -325,10 +324,10 @@ public class StoredObjectImpl implements
return now;
}
- /**
+ /*
* Add CMIS_CREATED_BY, CMIS_CREATION_DATE, CMIS_LAST_MODIFIED_BY,
* CMIS_LAST_MODIFICATION_DATE, CMIS_CHANGE_TOKEN system properties to the
- * list of properties with current values
+ * list of properties with current values.
*/
@SuppressWarnings("unchecked")
private void addSystemBaseProperties(Map<String, PropertyData<?>> properties, String user, boolean isCreated) {
@@ -359,7 +358,7 @@ public class StoredObjectImpl implements
}
}
- /**
+ /*
* Add CMIS_CREATED_BY, CMIS_CREATION_DATE, CMIS_LAST_MODIFIED_BY,
* CMIS_LAST_MODIFICATION_DATE, CMIS_CHANGE_TOKEN system properties to the
* list of properties with current values
Modified: chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/storedobj/impl/VersionedDocumentImpl.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/storedobj/impl/VersionedDocumentImpl.java?rev=1516840&r1=1516839&r2=1516840&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/storedobj/impl/VersionedDocumentImpl.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/storedobj/impl/VersionedDocumentImpl.java Fri Aug 23 13:20:30 2013
@@ -127,7 +127,8 @@ public class VersionedDocumentImpl exten
@Override
public DocumentVersion checkOut(ContentStream content, String user) {
if (fIsCheckedOut) {
- throw new CmisConstraintException("Error: Can't checkout, Document " + getId() + " is already checked out.");
+ throw new CmisConstraintException("Error: Can't checkout, Document " + getId()
+ + " is already checked out.");
}
// create PWC
@@ -241,6 +242,7 @@ public class VersionedDocumentImpl exten
}
}
if (deleteInObjectStore) {
+ // TODO:
}
}
Modified: chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/types/DefaultTypeSystemCreator.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/types/DefaultTypeSystemCreator.java?rev=1516840&r1=1516839&r2=1516840&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/types/DefaultTypeSystemCreator.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/types/DefaultTypeSystemCreator.java Fri Aug 23 13:20:30 2013
@@ -57,9 +57,10 @@ public class DefaultTypeSystemCreator im
public static final String LEVEL2_TYPE = "DocumentLevel2";
public static final String SECONDARY_TYPE_ID = "MySecondaryType";
- /**
- * in the public interface of this class we return the singleton containing
- * the required types for testing
+ /*
+ * In the public interface of this class we return the singleton containing
+ * the required types for testing.
+ * @see org.apache.chemistry.opencmis.inmemory.TypeCreator#createTypesList()
*/
@Override
public List<TypeDefinition> createTypesList() {
Modified: chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/types/DocumentTypeCreationHelper.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/types/DocumentTypeCreationHelper.java?rev=1516840&r1=1516839&r2=1516840&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/types/DocumentTypeCreationHelper.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/types/DocumentTypeCreationHelper.java Fri Aug 23 13:20:30 2013
@@ -221,7 +221,7 @@ public final class DocumentTypeCreationH
type.setTypeMutability(parentTypeDefinition.getTypeMutability());
}
- /**
+ /*
* Creates a new mutable document type definition, which is a child of the
* provided type definition. Property definitions are not added which is
* useful for creating additional types at runtime
@@ -245,7 +245,7 @@ public final class DocumentTypeCreationH
return typesList;
}
- public static final List<TypeDefinition> getDefaultTypes() {
+ public static List<TypeDefinition> getDefaultTypes() {
return DEFAULT_TYPES;
}
@@ -358,7 +358,7 @@ public final class DocumentTypeCreationH
}
/**
- * create root types and a collection of sample types
+ * Create root types and a collection of sample types.
*
* @return typesMap map filled with created types
*/
Modified: chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/types/PropertyCreationHelper.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/types/PropertyCreationHelper.java?rev=1516840&r1=1516839&r2=1516840&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/types/PropertyCreationHelper.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/types/PropertyCreationHelper.java Fri Aug 23 13:20:30 2013
@@ -81,10 +81,6 @@ import org.apache.chemistry.opencmis.ser
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
-/**
- * @author Jens
- *
- */
public final class PropertyCreationHelper {
private static final Logger LOG = LoggerFactory.getLogger(PropertyCreationHelper.class);
@@ -92,7 +88,8 @@ public final class PropertyCreationHelpe
private PropertyCreationHelper() {
}
- public static PropertyBooleanDefinitionImpl createBooleanDefinition(String id, String displayName, Updatability upd) {
+ public static PropertyBooleanDefinitionImpl createBooleanDefinition(String id, String displayName,
+ Updatability upd) {
PropertyBooleanDefinitionImpl prop = new PropertyBooleanDefinitionImpl();
createStandardDefinition(prop, id, PropertyType.BOOLEAN, displayName, Cardinality.SINGLE, upd);
return prop;
@@ -119,7 +116,8 @@ public final class PropertyCreationHelpe
return prop;
}
- public static PropertyDecimalDefinitionImpl createDecimalDefinition(String id, String displayName, Updatability upd) {
+ public static PropertyDecimalDefinitionImpl createDecimalDefinition(String id, String displayName,
+ Updatability upd) {
PropertyDecimalDefinitionImpl prop = new PropertyDecimalDefinitionImpl();
createStandardDefinition(prop, id, PropertyType.DECIMAL, displayName, Cardinality.SINGLE, upd);
return prop;
@@ -138,7 +136,8 @@ public final class PropertyCreationHelpe
return prop;
}
- public static PropertyHtmlDefinitionImpl createHtmlMultiDefinition(String id, String displayName, Updatability upd) {
+ public static PropertyHtmlDefinitionImpl createHtmlMultiDefinition(String id, String displayName,
+ Updatability upd) {
PropertyHtmlDefinitionImpl prop = new PropertyHtmlDefinitionImpl();
createStandardDefinition(prop, id, PropertyType.HTML, displayName, Cardinality.MULTI, upd);
return prop;
@@ -156,7 +155,8 @@ public final class PropertyCreationHelpe
return prop;
}
- public static PropertyIntegerDefinitionImpl createIntegerDefinition(String id, String displayName, Updatability upd) {
+ public static PropertyIntegerDefinitionImpl createIntegerDefinition(String id, String displayName,
+ Updatability upd) {
PropertyIntegerDefinitionImpl prop = new PropertyIntegerDefinitionImpl();
createStandardDefinition(prop, id, PropertyType.INTEGER, displayName, Cardinality.SINGLE, upd);
return prop;
Modified: chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/test/java/org/apache/chemistry/opencmis/inmemory/FolderTest.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/test/java/org/apache/chemistry/opencmis/inmemory/FolderTest.java?rev=1516840&r1=1516839&r2=1516840&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/test/java/org/apache/chemistry/opencmis/inmemory/FolderTest.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/test/java/org/apache/chemistry/opencmis/inmemory/FolderTest.java Fri Aug 23 13:20:30 2013
@@ -32,11 +32,6 @@ import org.junit.Before;
import org.junit.Test;
/**
- * @author <a href="mailto:fmueller@opentext.com">Florian Müller</a>
- * @author Jens
- */
-
-/**
* Some test directly against the in-memory folder object.
*/
public class FolderTest extends TestCase {
Modified: chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/test/java/org/apache/chemistry/opencmis/inmemory/NavigationServiceTest.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/test/java/org/apache/chemistry/opencmis/inmemory/NavigationServiceTest.java?rev=1516840&r1=1516839&r2=1516840&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/test/java/org/apache/chemistry/opencmis/inmemory/NavigationServiceTest.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/test/java/org/apache/chemistry/opencmis/inmemory/NavigationServiceTest.java Fri Aug 23 13:20:30 2013
@@ -44,9 +44,7 @@ import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
-/**
- * @author Jens
- */
+
public class NavigationServiceTest extends AbstractServiceTest {
private static final Logger log = LoggerFactory.getLogger(NavigationServiceTest.class);
private static final int NUM_ROOT_FOLDERS = 10;
Modified: chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/test/java/org/apache/chemistry/opencmis/inmemory/ObjectServiceTest.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/test/java/org/apache/chemistry/opencmis/inmemory/ObjectServiceTest.java?rev=1516840&r1=1516839&r2=1516840&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/test/java/org/apache/chemistry/opencmis/inmemory/ObjectServiceTest.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/test/java/org/apache/chemistry/opencmis/inmemory/ObjectServiceTest.java Fri Aug 23 13:20:30 2013
@@ -92,10 +92,6 @@ import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
-/**
- * @author Jens
- */
-
public class ObjectServiceTest extends AbstractServiceTest {
private static final Logger log = LoggerFactory.getLogger(ObjectServiceTest.class);
Modified: chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/test/java/org/apache/chemistry/opencmis/inmemory/RepositoryServiceMutabilityTest.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/test/java/org/apache/chemistry/opencmis/inmemory/RepositoryServiceMutabilityTest.java?rev=1516840&r1=1516839&r2=1516840&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/test/java/org/apache/chemistry/opencmis/inmemory/RepositoryServiceMutabilityTest.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/test/java/org/apache/chemistry/opencmis/inmemory/RepositoryServiceMutabilityTest.java Fri Aug 23 13:20:30 2013
@@ -56,8 +56,6 @@ import org.slf4j.LoggerFactory;
* Temporary test class until CMIS 1.1 bindings are completed. Until then we use
* a special setup procedure to directly connect to the repository service
* implementation of InMemory.
- *
- * @author Jens
*/
public class RepositoryServiceMutabilityTest extends AbstractServiceTest {
Modified: chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/test/java/org/apache/chemistry/opencmis/inmemory/RepositoryServiceTest.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/test/java/org/apache/chemistry/opencmis/inmemory/RepositoryServiceTest.java?rev=1516840&r1=1516839&r2=1516840&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/test/java/org/apache/chemistry/opencmis/inmemory/RepositoryServiceTest.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/test/java/org/apache/chemistry/opencmis/inmemory/RepositoryServiceTest.java Fri Aug 23 13:20:30 2013
@@ -45,9 +45,6 @@ import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
-/**
- * @author Jens
- */
public class RepositoryServiceTest extends AbstractServiceTest {
// private CmisProvider fProvider;
Modified: chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/test/java/org/apache/chemistry/opencmis/inmemory/TypeValidationTest.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/test/java/org/apache/chemistry/opencmis/inmemory/TypeValidationTest.java?rev=1516840&r1=1516839&r2=1516840&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/test/java/org/apache/chemistry/opencmis/inmemory/TypeValidationTest.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/test/java/org/apache/chemistry/opencmis/inmemory/TypeValidationTest.java Fri Aug 23 13:20:30 2013
@@ -57,9 +57,6 @@ import org.apache.chemistry.opencmis.ser
import org.apache.chemistry.opencmis.server.support.TypeValidator;
import org.junit.Test;
-/**
- * @author Jens
- */
public class TypeValidationTest extends TestCase {
private static final String MY_DOC_TYPE = "MyDocType1";
Modified: chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/test/java/org/apache/chemistry/opencmis/inmemory/UnitTestTypeSystemCreator.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/test/java/org/apache/chemistry/opencmis/inmemory/UnitTestTypeSystemCreator.java?rev=1516840&r1=1516839&r2=1516840&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/test/java/org/apache/chemistry/opencmis/inmemory/UnitTestTypeSystemCreator.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/test/java/org/apache/chemistry/opencmis/inmemory/UnitTestTypeSystemCreator.java Fri Aug 23 13:20:30 2013
@@ -18,11 +18,6 @@
*/
package org.apache.chemistry.opencmis.inmemory;
-/**
- * @author <a href="mailto:fmueller@opentext.com">Florian Müller</a>
- * @author Jens
- *
- */
import java.util.ArrayList;
import java.util.Collections;
import java.util.LinkedList;
Modified: chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/test/java/org/apache/chemistry/opencmis/inmemory/query/QueryConditionProcessor.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/test/java/org/apache/chemistry/opencmis/inmemory/query/QueryConditionProcessor.java?rev=1516840&r1=1516839&r2=1516840&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/test/java/org/apache/chemistry/opencmis/inmemory/query/QueryConditionProcessor.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/test/java/org/apache/chemistry/opencmis/inmemory/query/QueryConditionProcessor.java Fri Aug 23 13:20:30 2013
@@ -27,9 +27,6 @@ import org.apache.chemistry.opencmis.ser
* An interface used by the walker when traversing the AST from the grammar. The
* interface consists of callback methods that are called when a rule is
* processed (as part of the WHERE statement)
- *
- * @author Jens
- *
*/
public interface QueryConditionProcessor extends PredicateWalkerBase {
Modified: chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/test/java/org/apache/chemistry/opencmis/inmemory/query/QueryTestDataCreator.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/test/java/org/apache/chemistry/opencmis/inmemory/query/QueryTestDataCreator.java?rev=1516840&r1=1516839&r2=1516840&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/test/java/org/apache/chemistry/opencmis/inmemory/query/QueryTestDataCreator.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/test/java/org/apache/chemistry/opencmis/inmemory/query/QueryTestDataCreator.java Fri Aug 23 13:20:30 2013
@@ -65,8 +65,6 @@ import org.apache.chemistry.opencmis.inm
* Utility class that fills the in-memory repository with some test objects that
* can be used for query
*
- * @author Jens
- *
* This class uses the following data for query testing. We have one
* document type "ComplexType" and one folder type "FolderType" The
* document type has one property of each of the types boolean, integer,
Modified: chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-support/src/main/java/org/apache/chemistry/opencmis/server/support/TypeValidator.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-support/src/main/java/org/apache/chemistry/opencmis/server/support/TypeValidator.java?rev=1516840&r1=1516839&r2=1516840&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-support/src/main/java/org/apache/chemistry/opencmis/server/support/TypeValidator.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-support/src/main/java/org/apache/chemistry/opencmis/server/support/TypeValidator.java Fri Aug 23 13:20:30 2013
@@ -45,9 +45,6 @@ import org.apache.chemistry.opencmis.com
import org.apache.chemistry.opencmis.commons.exceptions.CmisConstraintException;
import org.apache.chemistry.opencmis.commons.exceptions.CmisInvalidArgumentException;
-/**
- * @author Jens
- */
public final class TypeValidator {
private TypeValidator() {
Modified: chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-support/src/test/java/org/apache/chemistry/opencmis/server/support/query/TestParserStrict.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-support/src/test/java/org/apache/chemistry/opencmis/server/support/query/TestParserStrict.java?rev=1516840&r1=1516839&r2=1516840&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-support/src/test/java/org/apache/chemistry/opencmis/server/support/query/TestParserStrict.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-support/src/test/java/org/apache/chemistry/opencmis/server/support/query/TestParserStrict.java Fri Aug 23 13:20:30 2013
@@ -22,10 +22,6 @@ import org.junit.After;
import org.junit.Before;
import org.junit.Test;
-/**
- * @author Jens
- *
- */
public class TestParserStrict extends AbstractParserTest {
@Before
Modified: chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-tools/src/main/java/org/apache/chemistry/opencmis/tools/mapper/PropertyMapper.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-tools/src/main/java/org/apache/chemistry/opencmis/tools/mapper/PropertyMapper.java?rev=1516840&r1=1516839&r2=1516840&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-tools/src/main/java/org/apache/chemistry/opencmis/tools/mapper/PropertyMapper.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-tools/src/main/java/org/apache/chemistry/opencmis/tools/mapper/PropertyMapper.java Fri Aug 23 13:20:30 2013
@@ -30,9 +30,6 @@ import org.apache.chemistry.opencmis.com
* (see MetadataParser). It only reads a configuration and maps properties. The
* Configurator will read the configuration properties and instantiate implementations
* of this interface (one instance per CMIS type)
- *
- * @author Jens
- *
*/
public interface PropertyMapper {
Modified: chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-tools/src/main/java/org/apache/chemistry/opencmis/tools/parser/MetadataParser.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-tools/src/main/java/org/apache/chemistry/opencmis/tools/parser/MetadataParser.java?rev=1516840&r1=1516839&r2=1516840&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-tools/src/main/java/org/apache/chemistry/opencmis/tools/parser/MetadataParser.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-tools/src/main/java/org/apache/chemistry/opencmis/tools/parser/MetadataParser.java Fri Aug 23 13:20:30 2013
@@ -33,8 +33,6 @@ import org.apache.chemistry.opencmis.too
* created by the Configurator depending on the Content-Type to parse and
* the corresponding parser configuration
*
- * @author Jens
- *
*/
public interface MetadataParser {
Modified: chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-tools/src/main/java/org/apache/chemistry/opencmis/tools/parser/MetadataParserExif.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-tools/src/main/java/org/apache/chemistry/opencmis/tools/parser/MetadataParserExif.java?rev=1516840&r1=1516839&r2=1516840&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-tools/src/main/java/org/apache/chemistry/opencmis/tools/parser/MetadataParserExif.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-tools/src/main/java/org/apache/chemistry/opencmis/tools/parser/MetadataParserExif.java Fri Aug 23 13:20:30 2013
@@ -38,8 +38,6 @@ import com.drew.metadata.Tag;
* A parser implementation using a lower level interface to get more control about the
* EXIF tags than Tika provides
*
- * @author Jens
- *
*/
public class MetadataParserExif extends AbstractMetadataParser {
Modified: chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-tools/src/main/java/org/apache/chemistry/opencmis/tools/parser/MetadataParserTika.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-tools/src/main/java/org/apache/chemistry/opencmis/tools/parser/MetadataParserTika.java?rev=1516840&r1=1516839&r2=1516840&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-tools/src/main/java/org/apache/chemistry/opencmis/tools/parser/MetadataParserTika.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-tools/src/main/java/org/apache/chemistry/opencmis/tools/parser/MetadataParserTika.java Fri Aug 23 13:20:30 2013
@@ -37,8 +37,6 @@ import org.xml.sax.helpers.DefaultHandle
/**
* A metadata parser using the Apache Tika library
- * @author Jens
- *
*/
public class MetadataParserTika extends AbstractMetadataParser {
Modified: chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-util/src/main/java/org/apache/chemistry/opencmis/util/repository/ObjectGenerator.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-util/src/main/java/org/apache/chemistry/opencmis/util/repository/ObjectGenerator.java?rev=1516840&r1=1516839&r2=1516840&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-util/src/main/java/org/apache/chemistry/opencmis/util/repository/ObjectGenerator.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-util/src/main/java/org/apache/chemistry/opencmis/util/repository/ObjectGenerator.java Fri Aug 23 13:20:30 2013
@@ -58,9 +58,6 @@ import org.slf4j.LoggerFactory;
/**
* A simple helper class for the tests that generates a sample folder hierarchy
* and optionally documents in it.
- *
- * @author Jens
- *
*/
public class ObjectGenerator {
Modified: chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-util/src/main/java/org/apache/chemistry/opencmis/util/repository/TimeLogger.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-util/src/main/java/org/apache/chemistry/opencmis/util/repository/TimeLogger.java?rev=1516840&r1=1516839&r2=1516840&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-util/src/main/java/org/apache/chemistry/opencmis/util/repository/TimeLogger.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-util/src/main/java/org/apache/chemistry/opencmis/util/repository/TimeLogger.java Fri Aug 23 13:20:30 2013
@@ -25,9 +25,6 @@ import org.slf4j.LoggerFactory;
/**
* Simple utility class for time logging Note: NOT thread safe!
- *
- * @author Jens
- *
*/
public class TimeLogger {
private static final Logger LOG = LoggerFactory.getLogger(TimeLogger.class);