--- /dev/null
+/target/
+/target/
/target/
-/target/
-/target/
-/target/
-/target/
-/target/
import org.collectionspace.services.common.document.DocumentException;
import org.collectionspace.services.common.document.DocumentNotFoundException;
import org.collectionspace.services.common.document.DocumentWrapper;
-import org.collectionspace.services.common.document.DocumentHandler.Action;
import org.collectionspace.services.common.vocabulary.AuthorityItemJAXBSchema;
import org.collectionspace.services.common.vocabulary.AuthorityJAXBSchema;
import org.collectionspace.services.common.vocabulary.RefNameServiceUtils.Specifier;
import org.collectionspace.services.common.vocabulary.RefNameServiceUtils.SpecifierForm;
import org.collectionspace.services.config.service.ObjectPartType;
-import org.collectionspace.services.nuxeo.client.java.NuxeoDocumentFilter;
import org.collectionspace.services.nuxeo.client.java.NuxeoDocumentModelHandler;
import org.collectionspace.services.nuxeo.client.java.CoreSessionInterface;
import org.collectionspace.services.nuxeo.client.java.RepositoryClientImpl;
import org.collectionspace.services.nuxeo.util.NuxeoUtils;
+
import org.nuxeo.ecm.core.api.ClientException;
import org.nuxeo.ecm.core.api.DocumentModel;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
-import org.testng.Assert;
/**
* AuthorityDocumentModelHandler
throws Exception {
PoxPayloadIn input = new PoxPayloadIn((String)res.readEntity(getEntityResponseType()));
PayloadInputPart payloadInputPart = input.getPart(partLabel);
- Assert.assertNotNull(payloadInputPart,
- "Part " + partLabel + " was unexpectedly null.");
+ if (payloadInputPart == null) {
+ logger.error("Part " + partLabel + " was unexpectedly null.");
+ }
return payloadInputPart;
}
/target/
-/target/
-/target/
-/target/
-/target/
-/target/
-/target/
/target/
-/target/
-/target/
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
- <artifactId>org.collectionspace.services.group</artifactId>
<groupId>org.collectionspace.services</groupId>
+ <artifactId>org.collectionspace.services.group</artifactId>
<version>4.4-SNAPSHOT</version>
</parent>
/target/
-/target/
-/target/
-/target/
package org.collectionspace.services.client;
import javax.ws.rs.core.Response;
+
+import org.collectionspace.services.media.MediaCommon;
import org.jboss.resteasy.plugins.providers.multipart.MultipartFormDataOutput;
import org.jboss.resteasy.client.ClientResponse;
* $LastChangedDate: 2010-05-17 18:25:37 -0700 (Mon, 17 May 2010) $
*
*/
-public class MediaClient extends AbstractCommonListPoxServiceClientImpl<MediaProxy> {
+public class MediaClient extends AbstractCommonListPoxServiceClientImpl<MediaProxy, MediaCommon> {
public static final String SERVICE_NAME = "media";
public static final String SERVICE_PATH_COMPONENT = SERVICE_NAME;
public static final String SERVICE_PATH = "/" + SERVICE_PATH_COMPONENT;
import javax.ws.rs.core.Response;
+import org.collectionspace.services.movement.MovementsCommon;
+
/**
* MovementClient.java
*
* $LastChangedDate$
*
*/
-public class MovementClient extends AbstractCommonListPoxServiceClientImpl<MovementProxy> {
+public class MovementClient extends AbstractCommonListPoxServiceClientImpl<MovementProxy, MovementsCommon> {
public static final String SERVICE_NAME = "movements";
public static final String SERVICE_PATH_COMPONENT = SERVICE_NAME;
public static final String SERVICE_PATH = "/" + SERVICE_PATH_COMPONENT;
*/
package org.collectionspace.services.client;
+import org.collectionspace.services.objectexit.ObjectexitCommon;
+
/**
* ObjectExitClient.java
*
* $LastChangedDate: 2010-05-17 18:25:37 -0700 (Mon, 17 May 2010) $
*
*/
-public class ObjectExitClient extends AbstractCommonListPoxServiceClientImpl<ObjectExitProxy> {
+public class ObjectExitClient extends AbstractCommonListPoxServiceClientImpl<ObjectExitProxy, ObjectexitCommon> {
public static final String SERVICE_NAME = "objectexit";
public static final String SERVICE_PATH_COMPONENT = SERVICE_NAME;
package org.collectionspace.services.client;
import javax.ws.rs.core.Response;
+
import org.collectionspace.services.common.invocable.InvocationContext;
+import org.collectionspace.services.report.ReportsCommon;
/**
* A ReportClient.
* @version $Revision:$
* FIXME: http://issues.collectionspace.org/browse/CSPACE-1684
*/
-public class ReportClient extends AbstractCommonListPoxServiceClientImpl<ReportProxy> {
+public class ReportClient extends AbstractCommonListPoxServiceClientImpl<ReportProxy, ReportsCommon> {
public static final String SERVICE_NAME = "reports";
public static final String SERVICE_PATH_COMPONENT = SERVICE_NAME;
*/
package org.collectionspace.services.client;
+import org.collectionspace.services.servicegroup.ServicegroupsCommon;
+
/**
* ServiceGroupClient.java
*
* $LastChangedDate: 2010-05-17 18:25:37 -0700 (Mon, 17 May 2010) $
*
*/
-public class ServiceGroupClient extends AbstractCommonListPoxServiceClientImpl<ServiceGroupProxy> {
+public class ServiceGroupClient extends AbstractCommonListPoxServiceClientImpl<ServiceGroupProxy, ServicegroupsCommon> {
public static final String SERVICE_NAME = "servicegroups";
public static final String SERVICE_PATH_COMPONENT = SERVICE_NAME;
*/
package org.collectionspace.services.client;
+import org.collectionspace.services.valuationcontrol.ValuationcontrolsCommon;
+
/**
* ValuationcontrolClient.java
*/
-public class ValuationcontrolClient extends AbstractCommonListPoxServiceClientImpl<ValuationcontrolProxy> {
+public class ValuationcontrolClient extends AbstractCommonListPoxServiceClientImpl<ValuationcontrolProxy, ValuationcontrolsCommon> {
public static final String SERVICE_NAME = "valuationcontrols";
public static final String SERVICE_PATH_COMPONENT = SERVICE_NAME;