manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1349200 - in /incubator/lcf/branches/CONNECTORS-474/connectors/documentum: build-stub/src/main/java/com/documentum/com/ build-stub/src/main/java/com/documentum/fc/client/ build-stub/src/main/java/com/documentum/fc/common/ implementation/sr...
Date Tue, 12 Jun 2012 09:02:58 GMT
Author: kwright
Date: Tue Jun 12 09:02:58 2012
New Revision: 1349200

URL: http://svn.apache.org/viewvc?rev=1349200&view=rev
Log:
Corrections to build stubs.

Added:
    incubator/lcf/branches/CONNECTORS-474/connectors/documentum/build-stub/src/main/java/com/documentum/fc/common/DfObject.java
  (with props)
Modified:
    incubator/lcf/branches/CONNECTORS-474/connectors/documentum/build-stub/src/main/java/com/documentum/com/DfClientX.java
    incubator/lcf/branches/CONNECTORS-474/connectors/documentum/build-stub/src/main/java/com/documentum/com/IDfClientX.java
    incubator/lcf/branches/CONNECTORS-474/connectors/documentum/build-stub/src/main/java/com/documentum/fc/client/DfQuery.java
    incubator/lcf/branches/CONNECTORS-474/connectors/documentum/build-stub/src/main/java/com/documentum/fc/common/DfTime.java
    incubator/lcf/branches/CONNECTORS-474/connectors/documentum/build-stub/src/main/java/com/documentum/fc/common/IDfId.java
    incubator/lcf/branches/CONNECTORS-474/connectors/documentum/build-stub/src/main/java/com/documentum/fc/common/IDfLoginInfo.java
    incubator/lcf/branches/CONNECTORS-474/connectors/documentum/build-stub/src/main/java/com/documentum/fc/common/IDfTime.java
    incubator/lcf/branches/CONNECTORS-474/connectors/documentum/implementation/src/main/java/org/apache/manifoldcf/crawler/common/DCTM/DocumentumImpl.java

Modified: incubator/lcf/branches/CONNECTORS-474/connectors/documentum/build-stub/src/main/java/com/documentum/com/DfClientX.java
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-474/connectors/documentum/build-stub/src/main/java/com/documentum/com/DfClientX.java?rev=1349200&r1=1349199&r2=1349200&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-474/connectors/documentum/build-stub/src/main/java/com/documentum/com/DfClientX.java
(original)
+++ incubator/lcf/branches/CONNECTORS-474/connectors/documentum/build-stub/src/main/java/com/documentum/com/DfClientX.java
Tue Jun 12 09:02:58 2012
@@ -18,27 +18,26 @@
 */
 package com.documentum.com;
 
-import com.documentum.fc.client.*;
+import com.documentum.fc.client.IDfClient;
+import com.documentum.fc.common.DfObject;
+import com.documentum.fc.common.IDfLoginInfo;
+import com.documentum.fc.common.DfException;
 
 /** Stub interface to allow the connector to build fully.
 */
-public class DfClientX implements IDfClientX
+public class DfClientX extends DfObject implements IDfClientX
 {
   public DfClientX()
   {
   }
   
-  public IDfSessionManager newSessionManager()
-  {
-    return null;
-  }
-  
   public IDfLoginInfo getLoginInfo()
   {
     return null;
   }
-
+  
   public IDfClient getLocalClient()
+    throws DfException
   {
     return null;
   }

Modified: incubator/lcf/branches/CONNECTORS-474/connectors/documentum/build-stub/src/main/java/com/documentum/com/IDfClientX.java
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-474/connectors/documentum/build-stub/src/main/java/com/documentum/com/IDfClientX.java?rev=1349200&r1=1349199&r2=1349200&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-474/connectors/documentum/build-stub/src/main/java/com/documentum/com/IDfClientX.java
(original)
+++ incubator/lcf/branches/CONNECTORS-474/connectors/documentum/build-stub/src/main/java/com/documentum/com/IDfClientX.java
Tue Jun 12 09:02:58 2012
@@ -18,13 +18,15 @@
 */
 package com.documentum.com;
 
-import com.documentum.fc.client.*;
+import com.documentum.fc.client.IDfClient;
+import com.documentum.fc.common.IDfLoginInfo;
+import com.documentum.fc.common.DfException;
 
 /** Stub interface to allow the connector to build fully.
 */
 public interface IDfClientX
 {
-  public IDfSessionManager newSessionManager();
   public IDfLoginInfo getLoginInfo();
-  public IDfClient getLocalClient();
+  public IDfClient getLocalClient()
+    throws DfException;
 }

Modified: incubator/lcf/branches/CONNECTORS-474/connectors/documentum/build-stub/src/main/java/com/documentum/fc/client/DfQuery.java
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-474/connectors/documentum/build-stub/src/main/java/com/documentum/fc/client/DfQuery.java?rev=1349200&r1=1349199&r2=1349200&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-474/connectors/documentum/build-stub/src/main/java/com/documentum/fc/client/DfQuery.java
(original)
+++ incubator/lcf/branches/CONNECTORS-474/connectors/documentum/build-stub/src/main/java/com/documentum/fc/client/DfQuery.java
Tue Jun 12 09:02:58 2012
@@ -22,7 +22,7 @@ import com.documentum.fc.common.*;
 
 /** Stub interface to allow the connector to build fully.
 */
-public class DfQuery implements IDfQuery
+public class DfQuery extends DfObject implements IDfQuery
 {
   public DfQuery()
   {

Added: incubator/lcf/branches/CONNECTORS-474/connectors/documentum/build-stub/src/main/java/com/documentum/fc/common/DfObject.java
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-474/connectors/documentum/build-stub/src/main/java/com/documentum/fc/common/DfObject.java?rev=1349200&view=auto
==============================================================================
--- incubator/lcf/branches/CONNECTORS-474/connectors/documentum/build-stub/src/main/java/com/documentum/fc/common/DfObject.java
(added)
+++ incubator/lcf/branches/CONNECTORS-474/connectors/documentum/build-stub/src/main/java/com/documentum/fc/common/DfObject.java
Tue Jun 12 09:02:58 2012
@@ -0,0 +1,28 @@
+/* $Id$ */
+
+/**
+* Licensed to the Apache Software Foundation (ASF) under one or more
+* contributor license agreements. See the NOTICE file distributed with
+* this work for additional information regarding copyright ownership.
+* The ASF licenses this file to You under the Apache License, Version 2.0
+* (the "License"); you may not use this file except in compliance with
+* the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+package com.documentum.fc.common;
+
+/** Stub interface to allow the connector to build fully.
+*/
+public class DfObject
+{
+  public DfObject()
+  {
+  }
+}

Propchange: incubator/lcf/branches/CONNECTORS-474/connectors/documentum/build-stub/src/main/java/com/documentum/fc/common/DfObject.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/lcf/branches/CONNECTORS-474/connectors/documentum/build-stub/src/main/java/com/documentum/fc/common/DfObject.java
------------------------------------------------------------------------------
    svn:keywords = Id

Modified: incubator/lcf/branches/CONNECTORS-474/connectors/documentum/build-stub/src/main/java/com/documentum/fc/common/DfTime.java
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-474/connectors/documentum/build-stub/src/main/java/com/documentum/fc/common/DfTime.java?rev=1349200&r1=1349199&r2=1349200&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-474/connectors/documentum/build-stub/src/main/java/com/documentum/fc/common/DfTime.java
(original)
+++ incubator/lcf/branches/CONNECTORS-474/connectors/documentum/build-stub/src/main/java/com/documentum/fc/common/DfTime.java
Tue Jun 12 09:02:58 2012
@@ -16,13 +16,13 @@
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
-package com.documentum.fc.client;
+package com.documentum.fc.common;
 
 import java.util.Date;
 
 /** Stub interface to allow the connector to build fully.
 */
-public class DfTime implements IDfTime
+public class DfTime extends DfObject implements IDfTime
 {
   public DfTime(Date date)
   {

Modified: incubator/lcf/branches/CONNECTORS-474/connectors/documentum/build-stub/src/main/java/com/documentum/fc/common/IDfId.java
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-474/connectors/documentum/build-stub/src/main/java/com/documentum/fc/common/IDfId.java?rev=1349200&r1=1349199&r2=1349200&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-474/connectors/documentum/build-stub/src/main/java/com/documentum/fc/common/IDfId.java
(original)
+++ incubator/lcf/branches/CONNECTORS-474/connectors/documentum/build-stub/src/main/java/com/documentum/fc/common/IDfId.java
Tue Jun 12 09:02:58 2012
@@ -16,7 +16,7 @@
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
-package com.documentum.fc.client;
+package com.documentum.fc.common;
 
 /** Stub interface to allow the connector to build fully.
 */

Modified: incubator/lcf/branches/CONNECTORS-474/connectors/documentum/build-stub/src/main/java/com/documentum/fc/common/IDfLoginInfo.java
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-474/connectors/documentum/build-stub/src/main/java/com/documentum/fc/common/IDfLoginInfo.java?rev=1349200&r1=1349199&r2=1349200&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-474/connectors/documentum/build-stub/src/main/java/com/documentum/fc/common/IDfLoginInfo.java
(original)
+++ incubator/lcf/branches/CONNECTORS-474/connectors/documentum/build-stub/src/main/java/com/documentum/fc/common/IDfLoginInfo.java
Tue Jun 12 09:02:58 2012
@@ -16,7 +16,7 @@
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
-package com.documentum.fc.client;
+package com.documentum.fc.common;
 
 /** Stub interface to allow the connector to build fully.
 */

Modified: incubator/lcf/branches/CONNECTORS-474/connectors/documentum/build-stub/src/main/java/com/documentum/fc/common/IDfTime.java
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-474/connectors/documentum/build-stub/src/main/java/com/documentum/fc/common/IDfTime.java?rev=1349200&r1=1349199&r2=1349200&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-474/connectors/documentum/build-stub/src/main/java/com/documentum/fc/common/IDfTime.java
(original)
+++ incubator/lcf/branches/CONNECTORS-474/connectors/documentum/build-stub/src/main/java/com/documentum/fc/common/IDfTime.java
Tue Jun 12 09:02:58 2012
@@ -16,13 +16,13 @@
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
-package com.documentum.fc.client;
+package com.documentum.fc.common;
 
 /** Stub interface to allow the connector to build fully.
 */
 public interface IDfTime
 {
-  public static final String DF_TIME_PATTERN44 = "???";
+  public static final String DF_TIME_PATTERN44 = "mm/dd/yyyy hh:mi:ss";
   public String asString(String pattern);
 
 }

Modified: incubator/lcf/branches/CONNECTORS-474/connectors/documentum/implementation/src/main/java/org/apache/manifoldcf/crawler/common/DCTM/DocumentumImpl.java
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-474/connectors/documentum/implementation/src/main/java/org/apache/manifoldcf/crawler/common/DCTM/DocumentumImpl.java?rev=1349200&r1=1349199&r2=1349200&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-474/connectors/documentum/implementation/src/main/java/org/apache/manifoldcf/crawler/common/DCTM/DocumentumImpl.java
(original)
+++ incubator/lcf/branches/CONNECTORS-474/connectors/documentum/implementation/src/main/java/org/apache/manifoldcf/crawler/common/DCTM/DocumentumImpl.java
Tue Jun 12 09:02:58 2012
@@ -155,6 +155,11 @@ public class DocumentumImpl extends Unic
     {
       throw new DocumentumException("Documentum error: "+e.getMessage());
     }
+    catch (Error e)
+    {
+      e.printStackTrace();
+      throw e;
+    }
   }
 
 



Mime
View raw message