This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ru.brbpm.lecm.server.version_comparator_service.logic; | |
import com.filenet.api.collection.PageIterator; | |
import com.filenet.api.collection.PropertyDescriptionList; | |
import com.filenet.api.collection.VersionableSet; | |
import com.filenet.api.core.*; | |
import com.filenet.api.exception.EngineRuntimeException; | |
import com.filenet.api.exception.ExceptionCode; | |
import com.filenet.api.meta.ClassDescription; | |
import com.filenet.api.util.Id; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ru.brbpm.lecm.shared.filenet.ce.util; | |
import java.io.Serializable; | |
import java.util.ArrayList; | |
import java.util.Arrays; | |
import java.util.List; | |
/** | |
* User: dshahovkin |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ru.brbpm.lecm.wm.styles.client.widgets; | |
import com.google.gwt.resources.client.ClientBundle; | |
/** | |
* User: dshahovkin | |
* Date: 28.11.13 | |
* Time: 15:24 | |
*/ | |
public interface CustomScrollPanelResources extends ClientBundle { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ru.brbpm.lecm.shared.filenet.ce.impl.core; | |
import ru.brbpm.lecm.shared.filenet.ce.collection.CeStringList; | |
import ru.brbpm.lecm.shared.filenet.ce.constants.CePropertyNames; | |
import ru.brbpm.lecm.shared.filenet.ce.core.CeContainable; | |
import ru.brbpm.lecm.shared.filenet.ce.core.CeFolder; | |
import ru.brbpm.lecm.shared.filenet.ce.core.CeRepositoryObject; | |
import java.util.Date; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class CustomMessageInterpolator extends ResourceBundleMessageInterpolator { | |
public static final String NEW_PATH_VALIDATION_MESSAGES = "<newPath>/ValidationMessages"; | |
public CustomMessageInterpolator() { | |
super(new CustomPlatformResourceBundleLocator(NEW_PATH_VALIDATION_MESSAGES)); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private ResourceBundle loadBundle(ClassLoader classLoader, Locale locale, String message) { | |
ResourceBundle rb = null; | |
try { | |
rb = ResourceBundle.getBundle( | |
bundleName, | |
locale, | |
classLoader, | |
new UTF8Control()); | |
} | |
catch ( MissingResourceException e ) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.IOException; | |
import java.io.InputStream; | |
import java.io.InputStreamReader; | |
import java.net.URL; | |
import java.net.URLConnection; | |
import java.util.Locale; | |
import java.util.PropertyResourceBundle; | |
import java.util.ResourceBundle; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<validation-config | |
xmlns="http://jboss.org/xml/ns/javax/validation/configuration" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://jboss.org/xml/ns/javax/validation/configuration validation-configuration-1.0.xsd"> | |
<message-interpolator><pathTo>CustomMessageInterpolator</message-interpolator> | |
</validation-config> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<dependency> | |
<groupId>javax.validation</groupId> | |
<artifactId>validation-api</artifactId> | |
<version>1.0.0.GA</version> | |
</dependency> | |
<dependency> | |
<groupId>javax.validation</groupId> | |
<artifactId>validation-api</artifactId> | |
<version>1.0.0.GA</version> | |
<classifier>sources</classifier> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-antrun-plugin</artifactId> | |
<version>1.7</version> | |
<executions> | |
<execution> | |
<id>compile</id> | |
<phase>package</phase> | |
<configuration> | |
<target> |