Author: fguillaume Date: Thu Sep 9 15:21:34 2010 New Revision: 995458 URL: http://svn.apache.org/viewvc?rev=995458&view=rev Log: cleanup non-Javadoc clutter
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/client/runtime/AbstractPersistentCmisObject.java incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/client/runtime/PersistentFolderImpl.java incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/client/runtime/PersistentSessionImpl.java Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/client/runtime/AbstractPersistentCmisObject.java URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/client/runtime/AbstractPersistentCmisObject.java?rev=995458&r1=995457&r2=995458&view=diff ============================================================================== --- incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/client/runtime/AbstractPersistentCmisObject.java (original) +++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/client/runtime/AbstractPersistentCmisObject.java Thu Sep 9 15:21:34 2010 @@ -263,22 +263,11 @@ public abstract class AbstractPersistent // --- operations --- - /* - * (non-Javadoc) - * - * @see org.apache.chemistry.opencmis.client.api.CmisObject#delete(boolean) - */ public void delete(boolean allVersions) { String objectId = getObjectId(); getBinding().getObjectService().deleteObject(getRepositoryId(), objectId, allVersions, null); } - /* - * (non-Javadoc) - * - * @see - * org.apache.chemistry.opencmis.client.api.CmisObject#updateProperties() - */ public ObjectId updateProperties() { readLock(); try { @@ -311,13 +300,6 @@ public abstract class AbstractPersistent } } - /* - * (non-Javadoc) - * - * @see - * org.apache.chemistry.opencmis.client.api.CmisObject#updateProperties( - * java.util.Map) - */ public ObjectId updateProperties(Map<String, ?> properties) { if ((properties == null) || (properties.isEmpty())) { throw new IllegalArgumentException("Properties must not be empty!"); @@ -356,11 +338,6 @@ public abstract class AbstractPersistent // --- properties --- - /* - * (non-Javadoc) - * - * @see org.apache.chemistry.opencmis.client.api.CmisObject#getBaseType() - */ public ObjectType getBaseType() { BaseTypeId baseTypeId = getBaseTypeId(); if (baseTypeId == null) { @@ -370,11 +347,6 @@ public abstract class AbstractPersistent return getSession().getTypeDefinition(baseTypeId.value()); } - /* - * (non-Javadoc) - * - * @see org.apache.chemistry.opencmis.client.api.CmisObject#getBaseTypeId() - */ public BaseTypeId getBaseTypeId() { String baseType = getPropertyValue(PropertyIds.BASE_TYPE_ID); if (baseType == null) { @@ -384,78 +356,34 @@ public abstract class AbstractPersistent return BaseTypeId.fromValue(baseType); } - /* - * (non-Javadoc) - * - * @see org.apache.chemistry.opencmis.client.api.CmisObject#getChangeToken() - */ public String getChangeToken() { return getPropertyValue(PropertyIds.CHANGE_TOKEN); } - /* - * (non-Javadoc) - * - * @see org.apache.chemistry.opencmis.client.api.CmisObject#getCreatedBy() - */ public String getCreatedBy() { return getPropertyValue(PropertyIds.CREATED_BY); } - /* - * (non-Javadoc) - * - * @see - * org.apache.chemistry.opencmis.client.api.CmisObject#getCreationDate() - */ public GregorianCalendar getCreationDate() { return getPropertyValue(PropertyIds.CREATION_DATE); } - /* - * (non-Javadoc) - * - * @see org.apache.chemistry.opencmis.client.api.CmisObject#getId() - */ public String getId() { return getPropertyValue(PropertyIds.OBJECT_ID); } - /* - * (non-Javadoc) - * - * @see - * org.apache.chemistry.opencmis.client.api.CmisObject#getLastModificationDate - * () - */ public GregorianCalendar getLastModificationDate() { return getPropertyValue(PropertyIds.LAST_MODIFICATION_DATE); } - /* - * (non-Javadoc) - * - * @see - * org.apache.chemistry.opencmis.client.api.CmisObject#getLastModifiedBy() - */ public String getLastModifiedBy() { return getPropertyValue(PropertyIds.LAST_MODIFIED_BY); } - /* - * (non-Javadoc) - * - * @see org.apache.chemistry.opencmis.client.api.CmisObject#getName() - */ public String getName() { return getPropertyValue(PropertyIds.NAME); } - /* - * (non-Javadoc) - * - * @see org.apache.chemistry.opencmis.client.api.CmisObject#getProperties() - */ public List<Property<?>> getProperties() { readLock(); try { @@ -465,13 +393,6 @@ public abstract class AbstractPersistent } } - /* - * (non-Javadoc) - * - * @see - * org.apache.chemistry.opencmis.client.api.CmisObject#getProperty(java. - * lang.String) - */ @SuppressWarnings("unchecked") public <T> Property<T> getProperty(String id) { readLock(); @@ -482,13 +403,6 @@ public abstract class AbstractPersistent } } - /* - * (non-Javadoc) - * - * @see - * org.apache.chemistry.opencmis.client.api.CmisObject#getPropertyMultivalue - * (java. lang.String) - */ public <T> List<T> getPropertyMultivalue(String id) { Property<T> property = getProperty(id); if (property == null) { @@ -498,13 +412,6 @@ public abstract class AbstractPersistent return property.getValues(); } - /* - * (non-Javadoc) - * - * @see - * org.apache.chemistry.opencmis.client.api.CmisObject#getPropertyValue( - * java.lang. String) - */ public <T> T getPropertyValue(String id) { Property<T> property = getProperty(id); if (property == null) { @@ -514,24 +421,10 @@ public abstract class AbstractPersistent return property.getFirstValue(); } - /* - * (non-Javadoc) - * - * @see - * org.apache.chemistry.opencmis.client.api.CmisObject#setName(java.lang - * .String) - */ public void setName(String name) { setProperty(PropertyIds.NAME, name); } - /* - * (non-Javadoc) - * - * @see - * org.apache.chemistry.opencmis.client.api.CmisObject#setProperty(java. - * lang.String, java.lang.Object) - */ @SuppressWarnings("unchecked") public <T> void setProperty(String id, T value) { PropertyDefinition<?> propertyDefinition = checkProperty(id, value); @@ -554,13 +447,6 @@ public abstract class AbstractPersistent } } - /* - * (non-Javadoc) - * - * @see - * org.apache.chemistry.opencmis.client.api.CmisObject#setPropertyMultivalue - * (java. lang.String, java.util.List) - */ @SuppressWarnings("unchecked") public <T> void setPropertyMultivalue(String id, List<T> value) { PropertyDefinition<?> propertyDefinition = checkProperty(id, value); @@ -583,11 +469,6 @@ public abstract class AbstractPersistent } } - /* - * (non-Javadoc) - * - * @see org.apache.chemistry.opencmis.client.api.CmisObject#getType() - */ public ObjectType getType() { readLock(); try { @@ -599,12 +480,6 @@ public abstract class AbstractPersistent // --- allowable actions --- - /* - * (non-Javadoc) - * - * @see - * org.apache.chemistry.opencmis.client.api.CmisObject#getAllowableActions() - */ public AllowableActions getAllowableActions() { readLock(); try { @@ -616,11 +491,6 @@ public abstract class AbstractPersistent // --- renditions --- - /* - * (non-Javadoc) - * - * @see org.apache.chemistry.opencmis.client.api.CmisObject#getRenditions() - */ public List<Rendition> getRenditions() { readLock(); try { @@ -632,23 +502,11 @@ public abstract class AbstractPersistent // --- ACL --- - /* - * (non-Javadoc) - * - * @see org.apache.chemistry.opencmis.client.api.CmisObject#getAcl(boolean) - */ public Acl getAcl(boolean onlyBasicPermissions) { String objectId = getObjectId(); return getBinding().getAclService().getAcl(getRepositoryId(), objectId, onlyBasicPermissions, null); } - /* - * (non-Javadoc) - * - * @see - * org.apache.chemistry.opencmis.client.api.CmisObject#applyAcl(java.util - * .List, java.util.List, org.apache.opencmis.commons.enums.AclPropagation) - */ public Acl applyAcl(List<Ace> addAces, List<Ace> removeAces, AclPropagation aclPropagation) { String objectId = getObjectId(); @@ -658,33 +516,14 @@ public abstract class AbstractPersistent of.convertAces(removeAces), aclPropagation, null); } - /* - * (non-Javadoc) - * - * @see - * org.apache.chemistry.opencmis.client.api.CmisObject#addAcl(java.util. - * List, org.apache.opencmis.commons.enums.AclPropagation) - */ public void addAcl(List<Ace> addAces, AclPropagation aclPropagation) { applyAcl(addAces, null, aclPropagation); } - /* - * (non-Javadoc) - * - * @see - * org.apache.chemistry.opencmis.client.api.CmisObject#removeAcl(java.util - * .List, org.apache.opencmis.commons.enums.AclPropagation) - */ public void removeAcl(List<Ace> removeAces, AclPropagation aclPropagation) { applyAcl(null, removeAces, aclPropagation); } - /* - * (non-Javadoc) - * - * @see org.apache.chemistry.opencmis.client.api.CmisObject#getAcl() - */ public Acl getAcl() { readLock(); try { @@ -696,13 +535,6 @@ public abstract class AbstractPersistent // --- policies --- - /* - * (non-Javadoc) - * - * @see - * org.apache.chemistry.opencmis.client.api.CmisObject#applyPolicy(org.apache - * .opencmis .client.api.ObjectId) - */ public void applyPolicy(ObjectId policyId) { if ((policyId == null) || (policyId.getId() == null)) { throw new IllegalArgumentException("Policy Id is not set!"); @@ -712,13 +544,6 @@ public abstract class AbstractPersistent getBinding().getPolicyService().applyPolicy(getRepositoryId(), policyId.getId(), objectId, null); } - /* - * (non-Javadoc) - * - * @see - * org.apache.chemistry.opencmis.client.api.CmisObject#removePolicy(org. - * apache.opencmis .client.api.ObjectId) - */ public void removePolicy(ObjectId policyId) { if ((policyId == null) || (policyId.getId() == null)) { throw new IllegalArgumentException("Policy Id is not set!"); @@ -728,11 +553,6 @@ public abstract class AbstractPersistent getBinding().getPolicyService().removePolicy(getRepositoryId(), policyId.getId(), objectId, null); } - /* - * (non-Javadoc) - * - * @see org.apache.chemistry.opencmis.client.api.CmisObject#getPolicies() - */ public List<Policy> getPolicies() { readLock(); try { @@ -744,12 +564,6 @@ public abstract class AbstractPersistent // --- relationships --- - /* - * (non-Javadoc) - * - * @see - * org.apache.chemistry.opencmis.client.api.CmisObject#getRelationships() - */ public List<Relationship> getRelationships() { readLock(); try { @@ -759,15 +573,6 @@ public abstract class AbstractPersistent } } - /* - * (non-Javadoc) - * - * @see - * org.apache.chemistry.opencmis.client.api.CmisObject#getRelationships( - * boolean, org.apache.opencmis.commons.enums.RelationshipDirection, - * org.apache.chemistry.opencmis.client.api.objecttype.ObjectType, - * org.apache.chemistry.opencmis.client.api.OperationContext, int) - */ public ItemIterable<Relationship> getRelationships(final boolean includeSubRelationshipTypes, final RelationshipDirection relationshipDirection, ObjectType type, OperationContext context) { @@ -818,11 +623,6 @@ public abstract class AbstractPersistent // --- other --- - /* - * (non-Javadoc) - * - * @see org.apache.chemistry.opencmis.client.api.CmisObject#isChanged() - */ public boolean isChanged() { readLock(); try { @@ -844,12 +644,6 @@ public abstract class AbstractPersistent } } - /* - * (non-Javadoc) - * - * @see - * org.apache.chemistry.opencmis.client.api.CmisObject#getRefreshTimestamp() - */ public long getRefreshTimestamp() { readLock(); try { @@ -859,13 +653,6 @@ public abstract class AbstractPersistent } } - /* - * (non-Javadoc) - * - * @see - * org.apache.chemistry.opencmis.client.api.CmisObject#refresh(org.apache - * .opencmis .client.api.OperationContext ) - */ public void refresh() { writeLock(); try { @@ -884,12 +671,6 @@ public abstract class AbstractPersistent } } - /* - * (non-Javadoc) - * - * @see - * org.apache.chemistry.opencmis.client.api.CmisObject#refreshIfOld(long) - */ public void refreshIfOld(long durationInMillis) { writeLock(); try { Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/client/runtime/PersistentFolderImpl.java URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/client/runtime/PersistentFolderImpl.java?rev=995458&r1=995457&r2=995458&view=diff ============================================================================== --- incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/client/runtime/PersistentFolderImpl.java (original) +++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/client/runtime/PersistentFolderImpl.java Thu Sep 9 15:21:34 2010 @@ -75,15 +75,6 @@ public class PersistentFolderImpl extend initialize(session, objectType, objectData, context); } - /* - * (non-Javadoc) - * - * @see org.apache.opencmis.client.api.Folder#createDocument(java.util.Map, - * org.apache.opencmis.client.api.ContentStream, - * org.apache.opencmis.commons.enums.VersioningState, java.util.List, - * java.util.List, java.util.List, - * org.apache.opencmis.client.api.OperationContext) - */ public Document createDocument(Map<String, ?> properties, ContentStream contentStream, VersioningState versioningState, List<Policy> policies, List<Ace> addAces, List<Ace> removeAces, OperationContext context) { @@ -114,16 +105,6 @@ public class PersistentFolderImpl extend return (Document) object; } - /* - * (non-Javadoc) - * - * @see - * org.apache.opencmis.client.api.Folder#createDocumentFromSource(org.apache - * .opencmis.client.api .ObjectId, java.util.Map, - * org.apache.opencmis.commons.enums.VersioningState, java.util.List, - * java.util.List, java.util.List, - * org.apache.opencmis.client.api.OperationContext) - */ public Document createDocumentFromSource(ObjectId source, Map<String, ?> properties, VersioningState versioningState, List<Policy> policies, List<Ace> addAces, List<Ace> removeAces, OperationContext context) { @@ -169,13 +150,6 @@ public class PersistentFolderImpl extend return (Document) object; } - /* - * (non-Javadoc) - * - * @see org.apache.opencmis.client.api.Folder#createFolder(java.util.Map, - * java.util.List, java.util.List, java.util.List, - * org.apache.opencmis.client.api.OperationContext) - */ public Folder createFolder(Map<String, ?> properties, List<Policy> policies, List<Ace> addAces, List<Ace> removeAces, OperationContext context) { if ((properties == null) || (properties.isEmpty())) { @@ -204,13 +178,6 @@ public class PersistentFolderImpl extend return (Folder) object; } - /* - * (non-Javadoc) - * - * @see org.apache.opencmis.client.api.Folder#createPolicy(java.util.Map, - * java.util.List, java.util.List, java.util.List, - * org.apache.opencmis.client.api.OperationContext) - */ public Policy createPolicy(Map<String, ?> properties, List<Policy> policies, List<Ace> addAces, List<Ace> removeAces, OperationContext context) { if ((properties == null) || (properties.isEmpty())) { @@ -239,12 +206,6 @@ public class PersistentFolderImpl extend return (Policy) object; } - /* - * (non-Javadoc) - * - * @see org.apache.opencmis.client.api.Folder#deleteTree(boolean, - * org.apache.opencmis.commons.enums.UnfileObjects, boolean) - */ public List<String> deleteTree(boolean allVersions, UnfileObject unfile, boolean continueOnFailure) { String repositoryId = getRepositoryId(); String objectId = getObjectId(); @@ -255,11 +216,6 @@ public class PersistentFolderImpl extend return failed.getIds(); } - /* - * (non-Javadoc) - * - * @see org.apache.opencmis.client.api.Folder#getAllowedChildObjectTypes() - */ public List<ObjectType> getAllowedChildObjectTypes() { List<ObjectType> result = new ArrayList<ObjectType>(); @@ -280,21 +236,10 @@ public class PersistentFolderImpl extend return result; } - /* - * (non-Javadoc) - * - * @see org.apache.opencmis.client.api.Folder#getCheckedOutDocs(int) - */ public ItemIterable<Document> getCheckedOutDocs() { return getCheckedOutDocs(getSession().getDefaultContext()); } - /* - * (non-Javadoc) - * - * @seeorg.apache.opencmis.client.api.Folder#getCheckedOutDocs(org.apache. - * opencmis.client.api. OperationContext, int) - */ public ItemIterable<Document> getCheckedOutDocs(OperationContext context) { final String objectId = getObjectId(); final NavigationService navigationService = getBinding().getNavigationService(); @@ -333,22 +278,10 @@ public class PersistentFolderImpl extend }); } - /* - * (non-Javadoc) - * - * @see org.apache.opencmis.client.api.Folder#getChildren(int) - */ public ItemIterable<CmisObject> getChildren() { return getChildren(getSession().getDefaultContext()); } - /* - * (non-Javadoc) - * - * @see - * org.apache.opencmis.client.api.Folder#getChildren(org.apache.opencmis - * .client.api.OperationContext , int) - */ public ItemIterable<CmisObject> getChildren(OperationContext context) { final String objectId = getObjectId(); final NavigationService navigationService = getBinding().getNavigationService(); @@ -384,21 +317,10 @@ public class PersistentFolderImpl extend }); } - /* - * (non-Javadoc) - * - * @see org.apache.opencmis.client.api.Folder#getDescendants(int) - */ public List<Tree<FileableCmisObject>> getDescendants(int depth) { return getDescendants(depth, getSession().getDefaultContext()); } - /* - * (non-Javadoc) - * - * @see org.apache.opencmis.client.api.Folder#getDescendants(int, - * org.apache.opencmis.client.api.OperationContext) - */ public List<Tree<FileableCmisObject>> getDescendants(int depth, OperationContext context) { String objectId = getObjectId(); @@ -411,21 +333,10 @@ public class PersistentFolderImpl extend return convertProviderContainer(providerContainerList, context); } - /* - * (non-Javadoc) - * - * @see org.apache.opencmis.client.api.Folder#getFolderTree(int) - */ public List<Tree<FileableCmisObject>> getFolderTree(int depth) { return getFolderTree(depth, getSession().getDefaultContext()); } - /* - * (non-Javadoc) - * - * @see org.apache.opencmis.client.api.Folder#getFolderTree(int, - * org.apache.opencmis.client.api.OperationContext) - */ public List<Tree<FileableCmisObject>> getFolderTree(int depth, OperationContext context) { String objectId = getObjectId(); @@ -474,11 +385,6 @@ public class PersistentFolderImpl extend return result; } - /* - * (non-Javadoc) - * - * @see org.apache.opencmis.client.api.Folder#isRootFolder() - */ public boolean isRootFolder() { String objectId = getObjectId(); String rootFolderId = getSession().getRepositoryInfo().getRootFolderId(); @@ -486,11 +392,6 @@ public class PersistentFolderImpl extend return objectId.equals(rootFolderId); } - /* - * (non-Javadoc) - * - * @see org.apache.opencmis.client.api.Folder#getFolderParent() - */ public Folder getFolderParent() { if (isRootFolder()) { return null; @@ -504,11 +405,6 @@ public class PersistentFolderImpl extend return parents.get(0); } - /* - * (non-Javadoc) - * - * @see org.apache.opencmis.client.api.Folder#getPath() - */ public String getPath() { String path; @@ -544,13 +440,6 @@ public class PersistentFolderImpl extend return path; } - /* - * (non-Javadoc) - * - * @see - * org.apache.opencmis.client.runtime.AbstractPersistentFilableCmisObject - * #getPaths() - */ @Override public List<String> getPaths() { return Collections.singletonList(getPath()); Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/client/runtime/PersistentSessionImpl.java URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/client/runtime/PersistentSessionImpl.java?rev=995458&r1=995457&r2=995458&view=diff ============================================================================== --- incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/client/runtime/PersistentSessionImpl.java (original) +++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/client/runtime/PersistentSessionImpl.java Thu Sep 9 15:21:34 2010 @@ -187,11 +187,6 @@ public class PersistentSessionImpl imple return locale; } - /* - * (non-Javadoc) - * - * @see org.apache.opencmis.client.api.Session#clear() - */ public void clear() { fLock.writeLock().lock(); try { @@ -220,30 +215,14 @@ public class PersistentSessionImpl imple throw new UnsupportedOperationException("cancel"); } - /* - * (non-Javadoc) - * - * @see org.apache.opencmis.client.api.Session#getObjectFactory() - */ public ObjectFactory getObjectFactory() { return this.objectFactory; } - /* - * (non-Javadoc) - * - * @see org.apache.opencmis.client.api.Session#getCheckedOutDocs(int) - */ public ItemIterable<Document> getCheckedOutDocs() { return getCheckedOutDocs(getDefaultContext()); } - /* - * (non-Javadoc) - * - * @seeorg.apache.opencmis.client.api.Session#getCheckedOutDocs(org.apache. - * opencmis.client.api. OperationContext, int) - */ public ItemIterable<Document> getCheckedOutDocs(OperationContext context) { final NavigationService navigationService = getBinding().getNavigationService(); final ObjectFactory objectFactory = getObjectFactory(); @@ -281,22 +260,10 @@ public class PersistentSessionImpl imple }); } - /* - * (non-Javadoc) - * - * @see - * org.apache.opencmis.client.api.Session#getContentChanges(java.lang.String - * , int) - */ public ItemIterable<ChangeEvent> getContentChanges(String changeLogToken) { throw new CmisRuntimeException("not implemented"); } - /* - * (non-Javadoc) - * - * @see org.apache.opencmis.client.api.Session#getDefaultContext() - */ public OperationContext getDefaultContext() { fLock.readLock().lock(); try { @@ -306,12 +273,6 @@ public class PersistentSessionImpl imple } } - /* - * (non-Javadoc) - * - * @seeorg.apache.opencmis.client.api.Session#setDefaultContext(org.apache. - * opencmis.client.api. OperationContext) - */ public void setDefaultContext(OperationContext context) { fLock.writeLock().lock(); try { @@ -321,15 +282,6 @@ public class PersistentSessionImpl imple } } - /* - * (non-Javadoc) - * - * @see - * org.apache.opencmis.client.api.Session#createOperationContext(java.util - * .Set, boolean, boolean, boolean, - * org.apache.opencmis.commons.enums.IncludeRelationships, java.util.Set, - * boolean, java.lang.String, boolean) - */ public OperationContext createOperationContext(Set<String> filter, boolean includeAcls, boolean includeAllowableActions, boolean includePolicies, IncludeRelationships includeRelationships, Set<String> renditionFilter, boolean includePathSegments, String orderBy, boolean cacheEnabled, @@ -338,22 +290,10 @@ public class PersistentSessionImpl imple includeRelationships, renditionFilter, includePathSegments, orderBy, cacheEnabled, maxItemsPerPage); } - /* - * (non-Javadoc) - * - * @see - * org.apache.chemistry.opencmis.client.api.Session#createOperationContext() - */ public OperationContext createOperationContext() { return new OperationContextImpl(); } - /* - * (non-Javadoc) - * - * @see - * org.apache.opencmis.client.api.Session#createObjectId(java.lang.String) - */ public ObjectId createObjectId(String id) { return new ObjectIdImpl(id); } @@ -362,21 +302,10 @@ public class PersistentSessionImpl imple return this.locale; } - /* - * (non-Javadoc) - * - * @see org.apache.opencmis.client.api.Session#getObject(java.lang.String) - */ public CmisObject getObject(ObjectId objectId) { return getObject(objectId, getDefaultContext()); } - /* - * (non-Javadoc) - * - * @see org.apache.opencmis.client.api.Session#getObject(java.lang.String, - * org.apache.opencmis.client.api.OperationContext) - */ public CmisObject getObject(ObjectId objectId, OperationContext context) { if ((objectId == null) || (objectId.getId() == null)) { throw new IllegalArgumentException("Object Id must be set!"); @@ -410,23 +339,10 @@ public class PersistentSessionImpl imple return result; } - /* - * (non-Javadoc) - * - * @see - * org.apache.opencmis.client.api.Session#getObjectByPath(java.lang.String) - */ public CmisObject getObjectByPath(String path) { return getObjectByPath(path, getDefaultContext()); } - /* - * (non-Javadoc) - * - * @see - * org.apache.opencmis.client.api.Session#getObjectByPath(java.lang.String, - * org.apache.opencmis.client.api.OperationContext) - */ public CmisObject getObjectByPath(String path, OperationContext context) { if (path == null) { throw new IllegalArgumentException("Path must be set!"); @@ -460,11 +376,6 @@ public class PersistentSessionImpl imple return result; } - /* - * (non-Javadoc) - * - * @see org.apache.opencmis.client.api.Session#getRepositoryInfo() - */ public RepositoryInfo getRepositoryInfo() { fLock.readLock().lock(); try { @@ -474,34 +385,10 @@ public class PersistentSessionImpl imple } } - /* - * (non-Javadoc) - * - * @see org.apache.opencmis.client.api.Session#getRootFolder() - */ public Folder getRootFolder() { return getRootFolder(getDefaultContext()); } - /* - * (non-Javadoc) - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * @seeorg.apache.opencmis.client.api.Session#getRootFolder(org.apache.opencmis - * .client.api. OperationContext) - */ public Folder getRootFolder(OperationContext context) { String rootFolderId = getRepositoryInfo().getRootFolderId(); @@ -513,13 +400,6 @@ public class PersistentSessionImpl imple return (Folder) rootFolder; } - /* - * (non-Javadoc) - * - * @see - * org.apache.opencmis.client.api.Session#getTypeChildren(java.lang.String, - * boolean, int) - */ public ItemIterable<ObjectType> getTypeChildren(final String typeId, final boolean includePropertyDefinitions) { final RepositoryService repositoryService = getBinding().getRepositoryService(); final ObjectFactory objectFactory = this.getObjectFactory(); @@ -547,26 +427,12 @@ public class PersistentSessionImpl imple }); } - /* - * (non-Javadoc) - * - * @see - * org.apache.opencmis.client.api.Session#getTypeDefinition(java.lang.String - * ) - */ public ObjectType getTypeDefinition(String typeId) { TypeDefinition typeDefinition = getBinding().getRepositoryService().getTypeDefinition(getRepositoryId(), typeId, null); return objectFactory.convertTypeDefinition(typeDefinition); } - /* - * (non-Javadoc) - * - * @see - * org.apache.opencmis.client.api.Session#getTypeDescendants(java.lang.String - * , int, boolean) - */ public List<Tree<ObjectType>> getTypeDescendants(String typeId, int depth, boolean includePropertyDefinitions) { List<TypeDefinitionContainer> descendants = getBinding().getRepositoryService().getTypeDescendants( getRepositoryId(), typeId, BigInteger.valueOf(depth), includePropertyDefinitions, null); @@ -591,22 +457,10 @@ public class PersistentSessionImpl imple return result; } - /* - * (non-Javadoc) - * - * @see org.apache.opencmis.client.api.Session#query(java.lang.String, - * boolean, int) - */ public ItemIterable<QueryResult> query(final String statement, final boolean searchAllVersions) { return query(statement, searchAllVersions, getDefaultContext()); } - /* - * (non-Javadoc) - * - * @see org.apache.opencmis.client.api.Session#query(java.lang.String, - * boolean, org.apache.opencmis.client.api.OperationContext, int) - */ public ItemIterable<QueryResult> query(final String statement, final boolean searchAllVersions, OperationContext context) { @@ -676,11 +530,6 @@ public class PersistentSessionImpl imple } } - /* - * (non-Javadoc) - * - * @see org.apache.opencmis.client.api.Session#getBinding() - */ public CmisBinding getBinding() { fLock.readLock().lock(); try { @@ -708,15 +557,6 @@ public class PersistentSessionImpl imple // creates - /* - * (non-Javadoc) - * - * @see org.apache.opencmis.client.api.Session#createDocument(java.util.Map, - * org.apache.opencmis.client.api.ObjectId, - * org.apache.opencmis.client.api.ContentStream, - * org.apache.opencmis.commons.enums.VersioningState, java.util.List, - * java.util.List, java.util.List) - */ public ObjectId createDocument(Map<String, ?> properties, ObjectId folderId, ContentStream contentStream, VersioningState versioningState, List<Policy> policies, List<Ace> addAces, List<Ace> removeAces) { if ((folderId != null) && (folderId.getId() == null)) { @@ -739,16 +579,6 @@ public class PersistentSessionImpl imple return createObjectId(newId); } - /* - * (non-Javadoc) - * - * @see - * org.apache.opencmis.client.api.Session#createDocumentFromSource(org.apache - * .opencmis.client. api.ObjectId, java.util.Map, - * org.apache.opencmis.client.api.ObjectId, - * org.apache.opencmis.commons.enums.VersioningState, java.util.List, - * java.util.List, java.util.List) - */ public ObjectId createDocumentFromSource(ObjectId source, Map<String, ?> properties, ObjectId folderId, VersioningState versioningState, List<Policy> policies, List<Ace> addAces, List<Ace> removeAces) { // get the type of the source document @@ -776,13 +606,6 @@ public class PersistentSessionImpl imple return createObjectId(newId); } - /* - * (non-Javadoc) - * - * @see org.apache.opencmis.client.api.Session#createFolder(java.util.Map, - * org.apache.opencmis.client.api.ObjectId, java.util.List, java.util.List, - * java.util.List) - */ public ObjectId createFolder(Map<String, ?> properties, ObjectId folderId, List<Policy> policies, List<Ace> addAces, List<Ace> removeAces) { if ((folderId != null) && (folderId.getId() == null)) { @@ -804,13 +627,6 @@ public class PersistentSessionImpl imple return createObjectId(newId); } - /* - * (non-Javadoc) - * - * @see org.apache.opencmis.client.api.Session#createPolicy(java.util.Map, - * org.apache.opencmis.client.api.ObjectId, java.util.List, java.util.List, - * java.util.List) - */ public ObjectId createPolicy(Map<String, ?> properties, ObjectId folderId, List<Policy> policies, List<Ace> addAces, List<Ace> removeAces) { if ((folderId != null) && (folderId.getId() == null)) { @@ -832,13 +648,6 @@ public class PersistentSessionImpl imple return createObjectId(newId); } - /* - * (non-Javadoc) - * - * @see - * org.apache.opencmis.client.api.Session#createRelationship(java.util.Map, - * java.util.List, java.util.List, java.util.List) - */ public ObjectId createRelationship(Map<String, ?> properties, List<Policy> policies, List<Ace> addAces, List<Ace> removeAces) { if ((properties == null) || (properties.isEmpty())) {