You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rave.apache.org by mf...@apache.org on 2011/04/01 18:42:42 UTC
svn commit: r1087796 [4/37] - in /incubator/rave/donations/mitre-osec: ./
conf/ db/ db/data/ db/sequences/ db/tables/ lib/ lib/apache-commons/
lib/apache-taglibs/ lib/build/ lib/build/cobertura/ lib/eclipselink/
lib/freemarker/ lib/google-collections/ ...
Added: incubator/rave/donations/mitre-osec/lib/build/h2-1.2.147.jar
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/lib/build/h2-1.2.147.jar?rev=1087796&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/rave/donations/mitre-osec/lib/build/h2-1.2.147.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/rave/donations/mitre-osec/lib/build/h2-1.2.147.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/rave/donations/mitre-osec/lib/build/h2datasource.jar
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/lib/build/h2datasource.jar?rev=1087796&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/rave/donations/mitre-osec/lib/build/h2datasource.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/rave/donations/mitre-osec/lib/build/h2datasource.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/rave/donations/mitre-osec/lib/build/junit-4.8.1.jar
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/lib/build/junit-4.8.1.jar?rev=1087796&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/rave/donations/mitre-osec/lib/build/junit-4.8.1.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/rave/donations/mitre-osec/lib/build/junit-4.8.1.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/rave/donations/mitre-osec/lib/build/objenesis-1.2.jar
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/lib/build/objenesis-1.2.jar?rev=1087796&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/rave/donations/mitre-osec/lib/build/objenesis-1.2.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/rave/donations/mitre-osec/lib/build/objenesis-1.2.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/rave/donations/mitre-osec/lib/build/org.springframework.test-3.0.5.RELEASE.jar
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/lib/build/org.springframework.test-3.0.5.RELEASE.jar?rev=1087796&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/rave/donations/mitre-osec/lib/build/org.springframework.test-3.0.5.RELEASE.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/rave/donations/mitre-osec/lib/build/org.springframework.test-3.0.5.RELEASE.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/rave/donations/mitre-osec/lib/build/servletapi-2.4.jar
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/lib/build/servletapi-2.4.jar?rev=1087796&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/rave/donations/mitre-osec/lib/build/servletapi-2.4.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/rave/donations/mitre-osec/lib/build/servletapi-2.4.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/rave/donations/mitre-osec/lib/build/yui-compressor-ant-task-0.5.jar
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/lib/build/yui-compressor-ant-task-0.5.jar?rev=1087796&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/rave/donations/mitre-osec/lib/build/yui-compressor-ant-task-0.5.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/rave/donations/mitre-osec/lib/build/yui-compressor-ant-task-0.5.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/rave/donations/mitre-osec/lib/build/yuicompressor-2.4.2.jar
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/lib/build/yuicompressor-2.4.2.jar?rev=1087796&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/rave/donations/mitre-osec/lib/build/yuicompressor-2.4.2.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/rave/donations/mitre-osec/lib/build/yuicompressor-2.4.2.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/rave/donations/mitre-osec/lib/eclipselink/eclipselink-2.1.2.jar
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/lib/eclipselink/eclipselink-2.1.2.jar?rev=1087796&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/rave/donations/mitre-osec/lib/eclipselink/eclipselink-2.1.2.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/rave/donations/mitre-osec/lib/eclipselink/eclipselink-2.1.2.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/rave/donations/mitre-osec/lib/eclipselink/eclipselink-logging.jar
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/lib/eclipselink/eclipselink-logging.jar?rev=1087796&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/rave/donations/mitre-osec/lib/eclipselink/eclipselink-logging.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/rave/donations/mitre-osec/lib/eclipselink/eclipselink-logging.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/rave/donations/mitre-osec/lib/eclipselink/javax.persistence_2.0.1.jar
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/lib/eclipselink/javax.persistence_2.0.1.jar?rev=1087796&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/rave/donations/mitre-osec/lib/eclipselink/javax.persistence_2.0.1.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/rave/donations/mitre-osec/lib/eclipselink/javax.persistence_2.0.1.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/rave/donations/mitre-osec/lib/freemarker/freemarker-2.3.16.jar
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/lib/freemarker/freemarker-2.3.16.jar?rev=1087796&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/rave/donations/mitre-osec/lib/freemarker/freemarker-2.3.16.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/rave/donations/mitre-osec/lib/freemarker/freemarker-2.3.16.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/rave/donations/mitre-osec/lib/google-collections/google-collections-0.8.jar
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/lib/google-collections/google-collections-0.8.jar?rev=1087796&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/rave/donations/mitre-osec/lib/google-collections/google-collections-0.8.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/rave/donations/mitre-osec/lib/google-collections/google-collections-0.8.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/rave/donations/mitre-osec/lib/jackson/jackson-all-1.6.4.jar
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/lib/jackson/jackson-all-1.6.4.jar?rev=1087796&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/rave/donations/mitre-osec/lib/jackson/jackson-all-1.6.4.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/rave/donations/mitre-osec/lib/jackson/jackson-all-1.6.4.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/rave/donations/mitre-osec/lib/javax/jstl-1.1.2.jar
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/lib/javax/jstl-1.1.2.jar?rev=1087796&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/rave/donations/mitre-osec/lib/javax/jstl-1.1.2.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/rave/donations/mitre-osec/lib/javax/jstl-1.1.2.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/rave/donations/mitre-osec/lib/javax/mail.jar
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/lib/javax/mail.jar?rev=1087796&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/rave/donations/mitre-osec/lib/javax/mail.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/rave/donations/mitre-osec/lib/javax/mail.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/rave/donations/mitre-osec/lib/log4j/log4j-1.2.15.jar
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/lib/log4j/log4j-1.2.15.jar?rev=1087796&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/rave/donations/mitre-osec/lib/log4j/log4j-1.2.15.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/rave/donations/mitre-osec/lib/log4j/log4j-1.2.15.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/rave/donations/mitre-osec/lib/shindig/shindig-common-2.0.0-SNAPSHOT.jar
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/lib/shindig/shindig-common-2.0.0-SNAPSHOT.jar?rev=1087796&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/rave/donations/mitre-osec/lib/shindig/shindig-common-2.0.0-SNAPSHOT.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/rave/donations/mitre-osec/lib/shindig/shindig-common-2.0.0-SNAPSHOT.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/rave/donations/mitre-osec/lib/slf4j/slf4j-api-1.6.1.jar
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/lib/slf4j/slf4j-api-1.6.1.jar?rev=1087796&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/rave/donations/mitre-osec/lib/slf4j/slf4j-api-1.6.1.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/rave/donations/mitre-osec/lib/slf4j/slf4j-api-1.6.1.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/rave/donations/mitre-osec/lib/slf4j/slf4j-log4j12-1.6.1.jar
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/lib/slf4j/slf4j-log4j12-1.6.1.jar?rev=1087796&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/rave/donations/mitre-osec/lib/slf4j/slf4j-log4j12-1.6.1.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/rave/donations/mitre-osec/lib/slf4j/slf4j-log4j12-1.6.1.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/rave/donations/mitre-osec/lib/spring-dependencies/aopalliance.jar
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/lib/spring-dependencies/aopalliance.jar?rev=1087796&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/rave/donations/mitre-osec/lib/spring-dependencies/aopalliance.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/rave/donations/mitre-osec/lib/spring-dependencies/aopalliance.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/rave/donations/mitre-osec/lib/spring-dependencies/aspectjrt.jar
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/lib/spring-dependencies/aspectjrt.jar?rev=1087796&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/rave/donations/mitre-osec/lib/spring-dependencies/aspectjrt.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/rave/donations/mitre-osec/lib/spring-dependencies/aspectjrt.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.aop-3.0.5.RELEASE.jar
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.aop-3.0.5.RELEASE.jar?rev=1087796&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.aop-3.0.5.RELEASE.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.aop-3.0.5.RELEASE.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.asm-3.0.5.RELEASE.jar
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.asm-3.0.5.RELEASE.jar?rev=1087796&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.asm-3.0.5.RELEASE.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.asm-3.0.5.RELEASE.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.aspects-3.0.5.RELEASE.jar
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.aspects-3.0.5.RELEASE.jar?rev=1087796&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.aspects-3.0.5.RELEASE.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.aspects-3.0.5.RELEASE.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.beans-3.0.5.RELEASE.jar
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.beans-3.0.5.RELEASE.jar?rev=1087796&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.beans-3.0.5.RELEASE.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.beans-3.0.5.RELEASE.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.context-3.0.5.RELEASE.jar
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.context-3.0.5.RELEASE.jar?rev=1087796&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.context-3.0.5.RELEASE.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.context-3.0.5.RELEASE.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.context.support-3.0.5.RELEASE.jar
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.context.support-3.0.5.RELEASE.jar?rev=1087796&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.context.support-3.0.5.RELEASE.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.context.support-3.0.5.RELEASE.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.core-3.0.5.RELEASE.jar
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.core-3.0.5.RELEASE.jar?rev=1087796&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.core-3.0.5.RELEASE.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.core-3.0.5.RELEASE.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.expression-3.0.5.RELEASE.jar
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.expression-3.0.5.RELEASE.jar?rev=1087796&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.expression-3.0.5.RELEASE.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.expression-3.0.5.RELEASE.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.instrument-3.0.5.RELEASE.jar
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.instrument-3.0.5.RELEASE.jar?rev=1087796&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.instrument-3.0.5.RELEASE.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.instrument-3.0.5.RELEASE.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.instrument.tomcat-3.0.5.RELEASE.jar
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.instrument.tomcat-3.0.5.RELEASE.jar?rev=1087796&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.instrument.tomcat-3.0.5.RELEASE.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.instrument.tomcat-3.0.5.RELEASE.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.jdbc-3.0.5.RELEASE.jar
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.jdbc-3.0.5.RELEASE.jar?rev=1087796&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.jdbc-3.0.5.RELEASE.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.jdbc-3.0.5.RELEASE.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.jms-3.0.5.RELEASE.jar
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.jms-3.0.5.RELEASE.jar?rev=1087796&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.jms-3.0.5.RELEASE.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.jms-3.0.5.RELEASE.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.orm-3.0.5.RELEASE.jar
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.orm-3.0.5.RELEASE.jar?rev=1087796&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.orm-3.0.5.RELEASE.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.orm-3.0.5.RELEASE.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.oxm-3.0.5.RELEASE.jar
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.oxm-3.0.5.RELEASE.jar?rev=1087796&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.oxm-3.0.5.RELEASE.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.oxm-3.0.5.RELEASE.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.transaction-3.0.5.RELEASE.jar
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.transaction-3.0.5.RELEASE.jar?rev=1087796&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.transaction-3.0.5.RELEASE.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.transaction-3.0.5.RELEASE.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.web-3.0.5.RELEASE.jar
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.web-3.0.5.RELEASE.jar?rev=1087796&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.web-3.0.5.RELEASE.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.web-3.0.5.RELEASE.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.web.portlet-3.0.5.RELEASE.jar
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.web.portlet-3.0.5.RELEASE.jar?rev=1087796&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.web.portlet-3.0.5.RELEASE.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.web.portlet-3.0.5.RELEASE.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.web.servlet-3.0.5.RELEASE.jar
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.web.servlet-3.0.5.RELEASE.jar?rev=1087796&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.web.servlet-3.0.5.RELEASE.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.web.servlet-3.0.5.RELEASE.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.web.struts-3.0.5.RELEASE.jar
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.web.struts-3.0.5.RELEASE.jar?rev=1087796&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.web.struts-3.0.5.RELEASE.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/rave/donations/mitre-osec/lib/spring-framework/org.springframework.web.struts-3.0.5.RELEASE.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/rave/donations/mitre-osec/lib/spring-security/spring-security-acl-3.0.5.RELEASE.jar
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/lib/spring-security/spring-security-acl-3.0.5.RELEASE.jar?rev=1087796&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/rave/donations/mitre-osec/lib/spring-security/spring-security-acl-3.0.5.RELEASE.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/rave/donations/mitre-osec/lib/spring-security/spring-security-acl-3.0.5.RELEASE.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/rave/donations/mitre-osec/lib/spring-security/spring-security-aspects-3.0.5.RELEASE.jar
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/lib/spring-security/spring-security-aspects-3.0.5.RELEASE.jar?rev=1087796&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/rave/donations/mitre-osec/lib/spring-security/spring-security-aspects-3.0.5.RELEASE.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/rave/donations/mitre-osec/lib/spring-security/spring-security-aspects-3.0.5.RELEASE.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/rave/donations/mitre-osec/lib/spring-security/spring-security-cas-client-3.0.5.RELEASE.jar
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/lib/spring-security/spring-security-cas-client-3.0.5.RELEASE.jar?rev=1087796&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/rave/donations/mitre-osec/lib/spring-security/spring-security-cas-client-3.0.5.RELEASE.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/rave/donations/mitre-osec/lib/spring-security/spring-security-cas-client-3.0.5.RELEASE.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/rave/donations/mitre-osec/lib/spring-security/spring-security-config-3.0.5.RELEASE.jar
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/lib/spring-security/spring-security-config-3.0.5.RELEASE.jar?rev=1087796&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/rave/donations/mitre-osec/lib/spring-security/spring-security-config-3.0.5.RELEASE.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/rave/donations/mitre-osec/lib/spring-security/spring-security-config-3.0.5.RELEASE.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/rave/donations/mitre-osec/lib/spring-security/spring-security-core-3.0.5.RELEASE.jar
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/lib/spring-security/spring-security-core-3.0.5.RELEASE.jar?rev=1087796&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/rave/donations/mitre-osec/lib/spring-security/spring-security-core-3.0.5.RELEASE.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/rave/donations/mitre-osec/lib/spring-security/spring-security-core-3.0.5.RELEASE.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/rave/donations/mitre-osec/lib/spring-security/spring-security-ldap-3.0.5.RELEASE.jar
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/lib/spring-security/spring-security-ldap-3.0.5.RELEASE.jar?rev=1087796&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/rave/donations/mitre-osec/lib/spring-security/spring-security-ldap-3.0.5.RELEASE.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/rave/donations/mitre-osec/lib/spring-security/spring-security-ldap-3.0.5.RELEASE.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/rave/donations/mitre-osec/lib/spring-security/spring-security-openid-3.0.5.RELEASE.jar
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/lib/spring-security/spring-security-openid-3.0.5.RELEASE.jar?rev=1087796&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/rave/donations/mitre-osec/lib/spring-security/spring-security-openid-3.0.5.RELEASE.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/rave/donations/mitre-osec/lib/spring-security/spring-security-openid-3.0.5.RELEASE.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/rave/donations/mitre-osec/lib/spring-security/spring-security-taglibs-3.0.5.RELEASE.jar
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/lib/spring-security/spring-security-taglibs-3.0.5.RELEASE.jar?rev=1087796&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/rave/donations/mitre-osec/lib/spring-security/spring-security-taglibs-3.0.5.RELEASE.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/rave/donations/mitre-osec/lib/spring-security/spring-security-taglibs-3.0.5.RELEASE.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/rave/donations/mitre-osec/lib/spring-security/spring-security-web-3.0.5.RELEASE.jar
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/lib/spring-security/spring-security-web-3.0.5.RELEASE.jar?rev=1087796&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/rave/donations/mitre-osec/lib/spring-security/spring-security-web-3.0.5.RELEASE.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/rave/donations/mitre-osec/lib/spring-security/spring-security-web-3.0.5.RELEASE.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/rave/donations/mitre-osec/lib/tiles/tiles-api-2.2.2.jar
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/lib/tiles/tiles-api-2.2.2.jar?rev=1087796&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/rave/donations/mitre-osec/lib/tiles/tiles-api-2.2.2.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/rave/donations/mitre-osec/lib/tiles/tiles-api-2.2.2.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/rave/donations/mitre-osec/lib/tiles/tiles-core-2.2.2.jar
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/lib/tiles/tiles-core-2.2.2.jar?rev=1087796&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/rave/donations/mitre-osec/lib/tiles/tiles-core-2.2.2.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/rave/donations/mitre-osec/lib/tiles/tiles-core-2.2.2.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/rave/donations/mitre-osec/lib/tiles/tiles-el-2.2.2.jar
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/lib/tiles/tiles-el-2.2.2.jar?rev=1087796&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/rave/donations/mitre-osec/lib/tiles/tiles-el-2.2.2.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/rave/donations/mitre-osec/lib/tiles/tiles-el-2.2.2.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/rave/donations/mitre-osec/lib/tiles/tiles-freemarker-2.2.2.jar
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/lib/tiles/tiles-freemarker-2.2.2.jar?rev=1087796&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/rave/donations/mitre-osec/lib/tiles/tiles-freemarker-2.2.2.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/rave/donations/mitre-osec/lib/tiles/tiles-freemarker-2.2.2.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/rave/donations/mitre-osec/lib/tiles/tiles-jsp-2.2.2.jar
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/lib/tiles/tiles-jsp-2.2.2.jar?rev=1087796&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/rave/donations/mitre-osec/lib/tiles/tiles-jsp-2.2.2.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/rave/donations/mitre-osec/lib/tiles/tiles-jsp-2.2.2.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/rave/donations/mitre-osec/lib/tiles/tiles-servlet-2.2.2.jar
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/lib/tiles/tiles-servlet-2.2.2.jar?rev=1087796&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/rave/donations/mitre-osec/lib/tiles/tiles-servlet-2.2.2.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/rave/donations/mitre-osec/lib/tiles/tiles-servlet-2.2.2.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/rave/donations/mitre-osec/lib/tiles/tiles-servlet-wildcard-2.2.2.jar
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/lib/tiles/tiles-servlet-wildcard-2.2.2.jar?rev=1087796&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/rave/donations/mitre-osec/lib/tiles/tiles-servlet-wildcard-2.2.2.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/rave/donations/mitre-osec/lib/tiles/tiles-servlet-wildcard-2.2.2.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/rave/donations/mitre-osec/lib/tiles/tiles-template-2.2.2.jar
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/lib/tiles/tiles-template-2.2.2.jar?rev=1087796&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/rave/donations/mitre-osec/lib/tiles/tiles-template-2.2.2.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/rave/donations/mitre-osec/lib/tiles/tiles-template-2.2.2.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/rave/donations/mitre-osec/src/META-INF/persistence.xml
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/src/META-INF/persistence.xml?rev=1087796&view=auto
==============================================================================
--- incubator/rave/donations/mitre-osec/src/META-INF/persistence.xml (added)
+++ incubator/rave/donations/mitre-osec/src/META-INF/persistence.xml Fri Apr 1 16:42:22 2011
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ 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.
+ -->
+
+<persistence xmlns="http://java.sun.com/xml/ns/persistence"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
+ version="1.0">
+ <persistence-unit name="portalPersistenceUnit"
+ transaction-type="RESOURCE_LOCAL">
+ <provider>
+ org.eclipse.persistence.jpa.PersistenceProvider
+ </provider>
+ </persistence-unit>
+</persistence>
\ No newline at end of file
Propchange: incubator/rave/donations/mitre-osec/src/META-INF/persistence.xml
------------------------------------------------------------------------------
svn:executable = *
Added: incubator/rave/donations/mitre-osec/src/org/apache/shindig/auth/PortalBlobCrypterSecurityToken.java
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/src/org/apache/shindig/auth/PortalBlobCrypterSecurityToken.java?rev=1087796&view=auto
==============================================================================
--- incubator/rave/donations/mitre-osec/src/org/apache/shindig/auth/PortalBlobCrypterSecurityToken.java (added)
+++ incubator/rave/donations/mitre-osec/src/org/apache/shindig/auth/PortalBlobCrypterSecurityToken.java Fri Apr 1 16:42:22 2011
@@ -0,0 +1,43 @@
+/*
+ * 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 org.apache.shindig.auth;
+
+import org.apache.shindig.common.crypto.BlobCrypter;
+import org.apache.shindig.common.crypto.BlobCrypterException;
+
+/**
+ * Created by IntelliJ IDEA.
+ * User: JCIAN
+ * Date: Jan 26, 2010
+ * Time: 10:04:13 AM
+ *
+ * This class is needed because the BlobCrypterSecurityToken.decrypt method is marked as protected and we
+ * need to be able to decrypt the security token in the container
+ */
+public class PortalBlobCrypterSecurityToken extends BlobCrypterSecurityToken {
+ public PortalBlobCrypterSecurityToken(BlobCrypter crypter, String container, String domain) {
+ super(crypter, container, domain);
+ }
+
+ public static BlobCrypterSecurityToken decrypt(BlobCrypter crypter, String container, String domain,
+ String token) throws BlobCrypterException {
+ return BlobCrypterSecurityToken.decrypt(crypter, container, domain, token, null);
+ }
+}
Propchange: incubator/rave/donations/mitre-osec/src/org/apache/shindig/auth/PortalBlobCrypterSecurityToken.java
------------------------------------------------------------------------------
svn:executable = *
Added: incubator/rave/donations/mitre-osec/src/org/mitre/portal/model/ApplicationData.java
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/src/org/mitre/portal/model/ApplicationData.java?rev=1087796&view=auto
==============================================================================
--- incubator/rave/donations/mitre-osec/src/org/mitre/portal/model/ApplicationData.java (added)
+++ incubator/rave/donations/mitre-osec/src/org/mitre/portal/model/ApplicationData.java Fri Apr 1 16:42:22 2011
@@ -0,0 +1,140 @@
+/*
+ * 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 org.mitre.portal.model;
+
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+import org.eclipse.persistence.annotations.Convert;
+import org.eclipse.persistence.annotations.Converter;
+import org.eclipse.persistence.config.CacheUsage;
+import org.eclipse.persistence.config.QueryHints;
+import org.mitre.portal.model.util.StringStringMapToXmlConverter;
+
+import javax.persistence.*;
+import java.io.Serializable;
+import java.util.Map;
+
+/**
+ * @author JCIAN
+ */
+@Entity
+@Table(name = "APPLICATION_DATA")
+@SequenceGenerator(name = "ApplicationDataSeq", sequenceName = "APPLICATION_DATA_ID_SEQ", allocationSize = 1)
+@NamedQueries({
+ @NamedQuery(name = "ApplicationData.findAll", query = "SELECT a FROM ApplicationData a"),
+ @NamedQuery(name = "ApplicationData.findByApplicationDataId", query = "SELECT a FROM ApplicationData a WHERE a.applicationDataId = :applicationDataId"),
+ @NamedQuery(name = "ApplicationData.findByUserId", query = "SELECT a FROM ApplicationData a WHERE a.userId = :userId"),
+ @NamedQuery(
+ name = "ApplicationData.findByPersonGadgetIdAndUserId", query = "SELECT a FROM ApplicationData a WHERE a.personGadget.personGadgetId = :personGadgetId AND a.userId = :userId",
+ hints = {@QueryHint(name = QueryHints.CACHE_USAGE, value = CacheUsage.CheckCacheThenDatabase)}
+ )
+})
+@Converter(name = "StringStringMapToXmlConverter", converterClass = StringStringMapToXmlConverter.class)
+public class ApplicationData implements Serializable {
+ private static final long serialVersionUID = 1L;
+ private static final Log log = LogFactory.getLog(ApplicationData.class);
+
+ @Id
+ @Basic(optional = false)
+ @Column(name = "APPLICATION_DATA_ID")
+ @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "ApplicationDataSeq")
+ private Long applicationDataId;
+
+ @JoinColumn(name = "PERSON_GADGET_ID", referencedColumnName = "PERSON_GADGET_ID")
+ @ManyToOne(optional = false)
+ private PersonGadget personGadget;
+
+ @Basic(optional = false)
+ @Column(name = "USER_ID")
+ private String userId;
+
+ @Lob
+ @Column(name = "DATA")
+ @Convert("StringStringMapToXmlConverter")
+ private Map<String, String> data;
+
+ public ApplicationData() {
+ }
+
+ public ApplicationData(Long applicationDataId, PersonGadget personGadget, String userId, Map<String, String> data) {
+ this.applicationDataId = applicationDataId;
+ this.personGadget = personGadget;
+ this.userId = userId;
+ this.data = data;
+ }
+
+ public Long getApplicationDataId() {
+ return applicationDataId;
+ }
+
+ public void setApplicationDataId(Long applicationDataId) {
+ this.applicationDataId = applicationDataId;
+ }
+
+ public PersonGadget getPersonGadget() {
+ return personGadget;
+ }
+
+ public void setPersonGadget(PersonGadget personGadget) {
+ this.personGadget = personGadget;
+ }
+
+ public String getUserId() {
+ return userId;
+ }
+
+ public void setUserId(String userId) {
+ this.userId = userId;
+ }
+
+ public Map<String, String> getData() {
+ return data;
+ }
+
+ public void setData(Map<String, String> data) {
+ this.data = data;
+ }
+
+ @Override
+ public int hashCode() {
+ int hash = 0;
+ hash += (applicationDataId != null ? applicationDataId.hashCode() : 0);
+ return hash;
+ }
+
+ @Override
+ public boolean equals(Object object) {
+ if (!(object instanceof ApplicationData)) {
+ return false;
+ }
+ ApplicationData other = (ApplicationData) object;
+ if (this.applicationDataId == null ||
+ other.getApplicationDataId() == null ||
+ !this.applicationDataId.equals(other.getApplicationDataId())) {
+ return false;
+ }
+ return true;
+ }
+
+ @Override
+ public String toString() {
+ return "org.mitre.portal.model.ApplicationData[applicationDataId=" + applicationDataId + "]";
+ }
+}
\ No newline at end of file
Propchange: incubator/rave/donations/mitre-osec/src/org/mitre/portal/model/ApplicationData.java
------------------------------------------------------------------------------
svn:executable = *
Added: incubator/rave/donations/mitre-osec/src/org/mitre/portal/model/ConsumerInfo.java
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/src/org/mitre/portal/model/ConsumerInfo.java?rev=1087796&view=auto
==============================================================================
--- incubator/rave/donations/mitre-osec/src/org/mitre/portal/model/ConsumerInfo.java (added)
+++ incubator/rave/donations/mitre-osec/src/org/mitre/portal/model/ConsumerInfo.java Fri Apr 1 16:42:22 2011
@@ -0,0 +1,187 @@
+/*
+ * 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 org.mitre.portal.model;
+
+import javax.persistence.*;
+import java.io.Serializable;
+
+/**
+ * @author JCIAN
+ */
+@Entity
+@Table(name = "CONSUMER_INFO")
+@SequenceGenerator(name = "ConsumerInfoIdGenerator", sequenceName = "CONSUMER_INFO_ID_SEQ", allocationSize = 1)
+@NamedQueries({
+ @NamedQuery(name = "ConsumerInfo.findAll", query = "SELECT c FROM ConsumerInfo c"),
+ @NamedQuery(name = "ConsumerInfo.findByConsumerInfoId", query = "SELECT c FROM ConsumerInfo c WHERE c.consumerInfoId = :consumerInfoId")
+})
+public class ConsumerInfo implements Serializable {
+ private static final long serialVersionUID = 1L;
+
+ public static enum SecretType {
+ HMAC_SYMMETRIC, RSA_PRIVATE
+ }
+
+ /**
+ * The database ID for this consumer info.
+ */
+ @Id
+ @Basic(optional = false)
+ @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "ConsumerInfoIdGenerator")
+ @Column(name = "CONSUMER_INFO_ID")
+ private Long consumerInfoId;
+
+ /**
+ * The gadget this consumer info is for.
+ */
+ @JoinColumn(name = "GADGET_ID", referencedColumnName = "GADGET_ID")
+ @ManyToOne(optional = false)
+ private Gadget gadget;
+
+ /**
+ * The service name this gadget uses to refer to this consumer info.
+ */
+ @Column(name = "SERVICE_NAME")
+ private String serviceName;
+
+ /**
+ * The consumer key that is registered with the service provider.
+ */
+ @Basic(optional = false)
+ @Column(name = "CONSUMER_KEY")
+ private String consumerKey;
+
+ /**
+ * The consumer secret that is registered with the service provider.
+ */
+ @Basic(optional = false)
+ @Column(name = "CONSUMER_SECRET")
+ private String consumerSecret;
+
+ /**
+ * The type of secret we are using.
+ */
+ @Basic(optional = false)
+ @Enumerated(EnumType.STRING)
+ @Column(name = "SECRET_TYPE")
+ private SecretType secretType;
+
+ /**
+ * The name of the public key to use with xoauth_public_key parameter (may be null).
+ */
+ @Column(name = "PUBLIC_KEY_NAME")
+ private String publicKeyName;
+
+ public ConsumerInfo() {
+ }
+
+ public ConsumerInfo(Long consumerInfoId, Gadget gadget, String serviceName, String consumerKey, String consumerSecret,
+ SecretType secretType, String publicKeyName) {
+ this.consumerInfoId = consumerInfoId;
+ this.gadget = gadget;
+ this.serviceName = serviceName;
+ this.consumerKey = consumerKey;
+ this.consumerSecret = consumerSecret;
+ this.secretType = secretType;
+ this.publicKeyName = publicKeyName;
+ }
+
+ public Long getConsumerInfoId() {
+ return consumerInfoId;
+ }
+
+ public void setConsumerInfoId(Long consumerInfoId) {
+ this.consumerInfoId = consumerInfoId;
+ }
+
+ public Gadget getGadget() {
+ return gadget;
+ }
+
+ public void setGadget(Gadget gadget) {
+ this.gadget = gadget;
+ }
+
+ public String getServiceName() {
+ return serviceName;
+ }
+
+ public void setServiceName(String serviceName) {
+ this.serviceName = serviceName;
+ }
+
+ public String getConsumerKey() {
+ return consumerKey;
+ }
+
+ public void setConsumerKey(String consumerKey) {
+ this.consumerKey = consumerKey;
+ }
+
+ public String getConsumerSecret() {
+ return consumerSecret;
+ }
+
+ public void setConsumerSecret(String consumerSecret) {
+ this.consumerSecret = consumerSecret;
+ }
+
+ public SecretType getSecretType() {
+ return secretType;
+ }
+
+ public void setSecretType(SecretType secretType) {
+ this.secretType = secretType;
+ }
+
+ public String getPublicKeyName() {
+ return publicKeyName;
+ }
+
+ public void setPublicKeyName(String publicKeyName) {
+ this.publicKeyName = publicKeyName;
+ }
+
+ @Override
+ public int hashCode() {
+ int hash = 0;
+ hash += (consumerInfoId != null ? consumerInfoId.hashCode() : 0);
+ return hash;
+ }
+
+ @Override
+ public boolean equals(Object object) {
+ if (!(object instanceof ConsumerInfo)) {
+ return false;
+ }
+ ConsumerInfo other = (ConsumerInfo) object;
+ if (this.consumerInfoId == null ||
+ other.getConsumerInfoId() == null ||
+ !this.consumerInfoId.equals(other.getConsumerInfoId())) {
+ return false;
+ }
+ return true;
+ }
+
+ @Override
+ public String toString() {
+ return "org.mitre.portal.model.ConsumerInfo[consumerInfoId=" + consumerInfoId + "]";
+ }
+}
\ No newline at end of file
Propchange: incubator/rave/donations/mitre-osec/src/org/mitre/portal/model/ConsumerInfo.java
------------------------------------------------------------------------------
svn:executable = *
Added: incubator/rave/donations/mitre-osec/src/org/mitre/portal/model/Container.java
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/src/org/mitre/portal/model/Container.java?rev=1087796&view=auto
==============================================================================
--- incubator/rave/donations/mitre-osec/src/org/mitre/portal/model/Container.java (added)
+++ incubator/rave/donations/mitre-osec/src/org/mitre/portal/model/Container.java Fri Apr 1 16:42:22 2011
@@ -0,0 +1,132 @@
+/*
+ * 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 org.mitre.portal.model;
+
+import java.io.Serializable;
+import java.util.List;
+import javax.persistence.*;
+
+/**
+ *
+ * @author ACARLUCCI
+ */
+@Entity
+@Table(name = "CONTAINER")
+@SequenceGenerator(name="ContainerSeq", sequenceName="CONTAINER_ID_SEQ", allocationSize=1)
+@NamedQueries({
+ @NamedQuery(name = "Container.findAll", query = "SELECT c FROM Container c ORDER BY c.name"),
+ @NamedQuery(name = "Container.findById", query = "SELECT c FROM Container c WHERE c.containerId = :containerId"),
+ @NamedQuery(name = "Container.findByName", query = "SELECT c FROM Container c WHERE c.name = :name")
+})
+public class Container implements Serializable
+{
+ private static final long serialVersionUID = 1L;
+ @Id
+ @Basic(optional = false)
+ @Column(name = "CONTAINER_ID")
+ @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "ContainerSeq")
+ private Long containerId;
+
+ @Basic(optional = false)
+ @Column(name = "NAME")
+ private String name;
+
+ /*
+ @OneToMany(cascade = CascadeType.ALL, mappedBy = "containerId")
+ private List<Page> pageList;
+ */
+
+ @OneToMany(cascade = CascadeType.ALL, mappedBy = "container")
+ private List<ContainerRegistry> containerRegistryList;
+
+ public Container() {
+ }
+
+ public Container(Long containerId) {
+ this.containerId = containerId;
+ }
+
+ public Container(Long containerId, String name) {
+ this.containerId = containerId;
+ this.name = name;
+ }
+
+ public Long getContainerId() {
+ return containerId;
+ }
+
+ public void setContainerId(Long containerId) {
+ this.containerId = containerId;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ /*
+ public List<Page> getPageList() {
+ return pageList;
+ }
+
+ public void setPageList(List<Page> pageList) {
+ this.pageList = pageList;
+ }
+ */
+
+ public List<ContainerRegistry> getContainerRegistryList() {
+ return containerRegistryList;
+ }
+
+ public void setContainerRegistryList(List<ContainerRegistry> containerRegistryList) {
+ this.containerRegistryList = containerRegistryList;
+ }
+
+ @Override
+ public int hashCode() {
+ int hash = 0;
+ hash += (containerId != null ? containerId.hashCode() : 0);
+ return hash;
+ }
+
+ @Override
+ public boolean equals(Object object) {
+ if (!(object instanceof Container)) {
+ return false;
+ }
+ Container other = (Container) object;
+ if (this.containerId == null ||
+ other.getContainerId() == null ||
+ !this.containerId.equals(other.getContainerId()))
+ {
+ return false;
+ }
+ return true;
+ }
+
+ @Override
+ public String toString() {
+ return "org.mitre.portal.model.Container[containerId=" + containerId + "]";
+ }
+
+}
Propchange: incubator/rave/donations/mitre-osec/src/org/mitre/portal/model/Container.java
------------------------------------------------------------------------------
svn:executable = *
Added: incubator/rave/donations/mitre-osec/src/org/mitre/portal/model/ContainerRegistry.java
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/src/org/mitre/portal/model/ContainerRegistry.java?rev=1087796&view=auto
==============================================================================
--- incubator/rave/donations/mitre-osec/src/org/mitre/portal/model/ContainerRegistry.java (added)
+++ incubator/rave/donations/mitre-osec/src/org/mitre/portal/model/ContainerRegistry.java Fri Apr 1 16:42:22 2011
@@ -0,0 +1,136 @@
+/*
+ * 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 org.mitre.portal.model;
+
+import java.io.Serializable;
+
+import javax.persistence.Basic;
+import javax.persistence.CascadeType;
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.GeneratedValue;
+import javax.persistence.GenerationType;
+import javax.persistence.Id;
+import javax.persistence.JoinColumn;
+import javax.persistence.ManyToOne;
+import javax.persistence.NamedQueries;
+import javax.persistence.NamedQuery;
+import javax.persistence.SequenceGenerator;
+import javax.persistence.Table;
+
+
+
+/**
+ *
+ * @author ACARLUCCI
+ */
+@Entity
+@Table(name = "CONTAINER_REGISTRY")
+@SequenceGenerator(name="ContainerRegistrySeq", sequenceName="CONTAINER_REGISTRY_ID_SEQ", allocationSize=1)
+@NamedQueries({
+ @NamedQuery(name = "ContainerRegistry.findById", query = "SELECT c FROM ContainerRegistry c WHERE c.containerRegistryId = :containerRegistryId"),
+ @NamedQuery(name = "ContainerRegistry.findAllByContainer", query = "SELECT c FROM ContainerRegistry c WHERE c.container = :container ORDER BY c.gadget.title"),
+ @NamedQuery(name = "ContainerRegistry.findByContainerAndGadget", query = "SELECT c FROM ContainerRegistry c WHERE c.container = :container AND c.gadget = :gadget"),
+ @NamedQuery(name = "ContainerRegistry.findByContainerAndGadgetUrl", query = "SELECT c FROM ContainerRegistry c WHERE c.container = :container AND c.gadget.url = :gadgetUrl"),
+ @NamedQuery(name = "ContainerRegistry.findByAuthor", query = "SELECT c FROM ContainerRegistry c WHERE c.container = :container AND c.gadget.author = :author ORDER BY c.gadget.title"),
+ @NamedQuery(name = "ContainerRegistry.findByAuthorUserId", query = "SELECT c FROM ContainerRegistry c WHERE c.container = :container AND c.gadget.authorUserId = :authorUserId ORDER BY c.gadget.title"),
+ @NamedQuery(name = "ContainerRegistry.findByGadgetAuthorType", query = "SELECT c FROM ContainerRegistry c WHERE c.container = :container AND c.gadget.gadgetAuthorType = :gadgetAuthorType ORDER BY c.gadget.title"),
+ @NamedQuery(name = "ContainerRegistry.findByGadgetTitleOrDescription", query = "SELECT c FROM ContainerRegistry c WHERE c.container = :container AND ((LOWER(c.gadget.title) LIKE :queryString) OR (LOWER(c.gadget.description) LIKE :queryString)) ORDER BY c.gadget.title"),
+ @NamedQuery(name = "ContainerRegistry.findByGadgetId", query = "SELECT c FROM ContainerRegistry c WHERE c.container = :container AND c.gadget.gadgetId = :gadgetId")
+})
+public class ContainerRegistry implements Serializable
+{
+ private static final long serialVersionUID = 1L;
+ @Id
+ @Basic(optional = false)
+ @Column(name = "CONTAINER_REGISTRY_ID")
+ @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "ContainerRegistrySeq")
+ private Long containerRegistryId;
+
+ @JoinColumn(name = "CONTAINER_ID", referencedColumnName = "CONTAINER_ID")
+ @ManyToOne(optional = false)
+ private Container container;
+
+ @JoinColumn(name = "GADGET_ID", referencedColumnName = "GADGET_ID")
+ @ManyToOne(optional = false, cascade=CascadeType.PERSIST) // PERSIST is set so that new registered gagdets get persisted as well
+ private Gadget gadget;
+
+ public ContainerRegistry() {
+ }
+
+ public ContainerRegistry(Long containerRegistryId) {
+ this.containerRegistryId = containerRegistryId;
+ }
+
+ public Long getContainerRegistryId() {
+ return containerRegistryId;
+ }
+
+ public void setContainerRegistryId(Long containerRegistryId) {
+ this.containerRegistryId = containerRegistryId;
+ }
+
+ public Container getContainer() {
+ return container;
+ }
+
+ public void setContainer(Container container) {
+ this.container = container;
+ }
+
+ public Gadget getGadget() {
+ return gadget;
+ }
+
+ public void setGadget(Gadget gadget) {
+ this.gadget = gadget;
+ }
+
+ @Override
+ public int hashCode() {
+ int hash = 0;
+ hash += (containerRegistryId != null ? containerRegistryId.hashCode() : 0);
+ return hash;
+ }
+
+ @Override
+ public boolean equals(Object object)
+ {
+ if (!(object instanceof ContainerRegistry)) {
+ return false;
+ }
+ ContainerRegistry other = (ContainerRegistry) object;
+
+ if (this.containerRegistryId == null ||
+ other.getContainerRegistryId() == null ||
+ !this.containerRegistryId.equals(other.getContainerRegistryId()))
+ {
+ return false;
+ }
+
+ return true;
+ }
+
+ @Override
+ public String toString() {
+ return "org.mitre.portal.model.ContainerRegistry[containerRegistryId=" + containerRegistryId + "]";
+ }
+
+}
Propchange: incubator/rave/donations/mitre-osec/src/org/mitre/portal/model/ContainerRegistry.java
------------------------------------------------------------------------------
svn:executable = *
Added: incubator/rave/donations/mitre-osec/src/org/mitre/portal/model/Gadget.java
URL: http://svn.apache.org/viewvc/incubator/rave/donations/mitre-osec/src/org/mitre/portal/model/Gadget.java?rev=1087796&view=auto
==============================================================================
--- incubator/rave/donations/mitre-osec/src/org/mitre/portal/model/Gadget.java (added)
+++ incubator/rave/donations/mitre-osec/src/org/mitre/portal/model/Gadget.java Fri Apr 1 16:42:22 2011
@@ -0,0 +1,579 @@
+/*
+ * 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 org.mitre.portal.model;
+
+import java.io.Serializable;
+import java.net.URL;
+import java.util.Date;
+import java.util.List;
+import javax.persistence.*;
+
+import org.apache.commons.codec.digest.DigestUtils;
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+import org.apache.shindig.common.util.Base32;
+import org.eclipse.persistence.annotations.Convert;
+import org.eclipse.persistence.annotations.Converter;
+import org.eclipse.persistence.annotations.PrivateOwned;
+import org.mitre.portal.model.util.BooleanConverter;
+import org.mitre.portal.model.util.URLConverter;
+
+/**
+ *
+ * @author ACARLUCCI
+ */
+@Entity
+@Table(name = "GADGET")
+@SequenceGenerator(name="GadgetSeq", sequenceName="GADGET_ID_SEQ", allocationSize=1)
+@NamedQueries({
+ @NamedQuery(name = "Gadget.findAll", query = "SELECT g FROM Gadget g"),
+ @NamedQuery(name = "Gadget.findById", query = "SELECT g FROM Gadget g WHERE g.gadgetId = :gadgetId"),
+ @NamedQuery(name = "Gadget.findByTitle", query = "SELECT g FROM Gadget g WHERE g.title = :title"),
+ @NamedQuery(name = "Gadget.findByAuthor", query = "SELECT g FROM Gadget g WHERE g.author = :author"),
+ @NamedQuery(name = "Gadget.findByUrl", query = "SELECT g FROM Gadget g WHERE g.url = :url")
+})
+@Converter (
+ name="URLConverter",
+ converterClass=URLConverter.class
+)
+public class Gadget implements Serializable {
+ private static final long serialVersionUID = 1L;
+ @Transient
+ protected final Log log = LogFactory.getLog(getClass());
+
+ @Id
+ @Basic(optional = false)
+ @Column(name = "GADGET_ID")
+ @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "GadgetSeq")
+ private Long gadgetId;
+
+ @Basic(optional = false)
+ @Column(name = "TITLE")
+ private String title;
+
+ @Basic(optional = false)
+ @Column(name = "DESCRIPTION")
+ private String description;
+
+ @Basic(optional = false)
+ @Column(name = "AUTHOR")
+ private String author;
+
+ @Basic(optional = true)
+ @Column(name = "AUTHOR_USER_ID")
+ private String authorUserId;
+
+ @Basic(optional = true)
+ @Column(name = "SUPPORT_LINK")
+ private String supportLink;
+
+ @Basic(optional = false)
+ @Column(name = "URL")
+ @Convert("URLConverter")
+ private URL url;
+
+ @Basic(optional = true)
+ @Column(name = "THUMBNAIL_URL")
+ @Convert("URLConverter")
+ private URL thumbnailUrl;
+
+ @Basic(optional = true)
+ @Column(name = "SCREENSHOT_URL")
+ @Convert("URLConverter")
+ private URL screenshotUrl;
+
+ @Basic(optional = false)
+ @Column(name = "USE_CUSTOM_EDIT_UI")
+ @Converter (
+ name="BooleanConverter",
+ converterClass=BooleanConverter.class
+ )
+ @Convert("BooleanConverter")
+ private boolean useCustomEditUi;
+
+ @Basic(optional = false)
+ @Column(name = "VERSION")
+ private String version;
+
+ @Basic(optional = false)
+ @Column(name = "FEATURED")
+ @Converter (
+ name="BooleanConverter",
+ converterClass=BooleanConverter.class
+ )
+ @Convert("BooleanConverter")
+ private boolean featured;
+
+ @Basic(optional = false)
+ @Column(name = "SCROLLING")
+ @Converter (
+ name="BooleanConverter",
+ converterClass=BooleanConverter.class
+ )
+ @Convert("BooleanConverter")
+ private boolean scrolling;
+
+ @Basic(optional = false)
+ @Column(name = "HIDDEN")
+ @Converter (
+ name="BooleanConverter",
+ converterClass=BooleanConverter.class
+ )
+ @Convert("BooleanConverter")
+ private boolean hidden;
+
+ @Basic(optional = true)
+ @Column(name = "HEIGHT")
+ private Long height;
+
+ @Basic(optional = false)
+ @Column(name = "CREATED_DATE")
+ @Temporal(javax.persistence.TemporalType.TIMESTAMP)
+ private Date createdDate;
+
+ @Basic(optional = false)
+ @Column(name = "CREATED_BY")
+ private String createdBy;
+
+ @Basic(optional = false)
+ @Column(name = "MODIFIED_DATE")
+ @Temporal(javax.persistence.TemporalType.TIMESTAMP)
+ private Date modifiedDate;
+
+ @Basic(optional = false)
+ @Column(name = "MODIFIED_BY")
+ private String modifiedBy;
+
+ @Basic(optional = false)
+ @Column(name = "SEND_COMMENT_EMAILS")
+ @Converter (
+ name="BooleanConverter",
+ converterClass=BooleanConverter.class
+ )
+ @Convert("BooleanConverter")
+ private boolean sendCommentEmails;
+
+ @Transient
+ private volatile String lockedDomainPrefix;
+
+ @Transient
+ private volatile Boolean isExternalGadget;
+
+ // foreign keys
+ @PrivateOwned
+ @OneToMany(cascade = CascadeType.ALL, mappedBy = "gadget")
+ private List<PersonGadget> personGadgetList;
+
+ @PrivateOwned
+ @OneToMany(cascade = CascadeType.ALL, mappedBy = "gadget")
+ private List<ContainerRegistry> containerRegistryList;
+
+ @PrivateOwned
+ @OneToMany(cascade = CascadeType.ALL, mappedBy = "gadget")
+ @OrderBy("displayName")
+ private List<GadgetUserPref> gadgetUserPrefList;
+
+ @PrivateOwned
+ @OneToMany(cascade = CascadeType.ALL, mappedBy = "gadget")
+ private List<PageTemplateGadget> pageTemplateGadgetList;
+
+ @PrivateOwned
+ @OneToMany(cascade = CascadeType.ALL, mappedBy = "gadget")
+ private List<ConsumerInfo> consumerInfoList;
+
+ @PrivateOwned
+ @OneToMany(cascade = CascadeType.ALL, mappedBy = "gadget")
+ private List<GadgetTag> gadgetTagList;
+
+ @PrivateOwned
+ @OneToMany(cascade = CascadeType.ALL, mappedBy = "gadget")
+ private List<GadgetRating> gadgetRatingList;
+
+ @PrivateOwned
+ @OneToMany(cascade = CascadeType.ALL, mappedBy = "gadget")
+ private List<GadgetComment> gadgetCommentList;
+
+ // many to one
+ @JoinColumn(name = "GADGET_AUTHOR_TYPE_ID", referencedColumnName = "GADGET_AUTHOR_TYPE_ID")
+ @ManyToOne
+ private GadgetAuthorType gadgetAuthorType;
+
+ @JoinColumn(name = "GADGET_SUPPORT_LINK_TYPE_ID", referencedColumnName = "GADGET_SUPPORT_LINK_TYPE_ID")
+ @ManyToOne
+ private GadgetSupportLinkType gadgetSupportLinkType;
+
+ // many to many
+ @ManyToMany
+ @JoinTable(name="GADGET_AUDIENCE_MAP",
+ joinColumns=@JoinColumn(name="GADGET_ID"),
+ inverseJoinColumns=@JoinColumn(name="GADGET_AUDIENCE_ID")
+ )
+ @OrderBy("description")
+ private List<GadgetAudience> gadgetAudienceList;
+
+ /*
+ * enum representing valid gadget view names
+ */
+ public static enum ViewNames {
+ HOME("home"),
+ CANVAS("canvas"),
+ EDITCUSTOMPREFS("editCustomPrefs");
+
+ private final String dataType;
+ private ViewNames(String dataType) {
+ this.dataType = dataType;
+ }
+
+ @Override
+ public String toString() {
+ return dataType;
+ }
+ }
+
+ public Gadget() {
+ }
+
+ public Gadget(Long gadgetId) {
+ this.gadgetId = gadgetId;
+ }
+
+ public Gadget(Long gadgetId, String title, String author, URL url) {
+ this.gadgetId = gadgetId;
+ this.title = title;
+ this.author = author;
+ this.url = url;
+ }
+
+ public Long getGadgetId() {
+ return gadgetId;
+ }
+
+ public void setGadgetId(Long gadgetId) {
+ this.gadgetId = gadgetId;
+ }
+
+ public String getTitle() {
+ return title;
+ }
+
+ public void setTitle(String title) {
+ this.title = title;
+ }
+
+ /**
+ * @return the description
+ */
+ public String getDescription()
+ {
+ return description;
+ }
+
+ /**
+ * @param description the description to set
+ */
+ public void setDescription(String description)
+ {
+ this.description = description;
+ }
+
+ public String getAuthor() {
+ return author;
+ }
+
+ public void setAuthor(String author) {
+ this.author = author;
+ }
+
+ public String getAuthorUserId() {
+ return authorUserId;
+ }
+
+ public void setAuthorUserId(String authorUserId) {
+ this.authorUserId = authorUserId;
+ }
+
+ public String getSupportLink() {
+ return supportLink;
+ }
+
+ public void setSupportLink(String supportLink) {
+ this.supportLink = supportLink;
+ }
+
+ public URL getUrl() {
+ return url;
+ }
+
+ public void setUrl(URL url) {
+ this.url = url;
+ }
+
+ /**
+ * @return the thumbnailUrl
+ */
+ public URL getThumbnailUrl()
+ {
+ return thumbnailUrl;
+ }
+
+ /**
+ * @param thumbnailUrl the thumbnailUrl to set
+ */
+ public void setThumbnailUrl(URL thumbnailUrl)
+ {
+ this.thumbnailUrl = thumbnailUrl;
+ }
+
+ public URL getScreenshotUrl() {
+ return screenshotUrl;
+ }
+
+ public void setScreenshotUrl(URL screenshotUrl) {
+ this.screenshotUrl = screenshotUrl;
+ }
+
+ public boolean isUseCustomEditUi() {
+ return useCustomEditUi;
+ }
+
+ public void setUseCustomEditUi(boolean useCustomEditUi) {
+ this.useCustomEditUi = useCustomEditUi;
+ }
+
+ public String getVersion() {
+ return version;
+ }
+
+ public void setVersion(String version) {
+ this.version = version;
+ }
+
+ public boolean isFeatured() {
+ return featured;
+ }
+
+ public void setFeatured(boolean featured) {
+ this.featured = featured;
+ }
+
+ public boolean isScrolling() {
+ return scrolling;
+ }
+
+ public void setScrolling(boolean scrolling) {
+ this.scrolling = scrolling;
+ }
+
+ public boolean isHidden() {
+ return hidden;
+ }
+
+ public void setHidden(boolean hidden) {
+ this.hidden = hidden;
+ }
+
+ public Long getHeight() {
+ return height;
+ }
+
+ public void setHeight(Long height) {
+ this.height = height;
+ }
+
+ public Date getCreatedDate() {
+ return createdDate;
+ }
+
+ public void setCreatedDate(Date createdDate) {
+ this.createdDate = createdDate;
+ }
+
+ public String getCreatedBy() {
+ return createdBy;
+ }
+
+ public void setCreatedBy(String createdBy) {
+ this.createdBy = createdBy;
+ }
+
+ public Date getModifiedDate() {
+ return modifiedDate;
+ }
+
+ public void setModifiedDate(Date modifiedDate) {
+ this.modifiedDate = modifiedDate;
+ }
+
+ public String getModifiedBy() {
+ return modifiedBy;
+ }
+
+ public void setModifiedBy(String modifiedBy) {
+ this.modifiedBy = modifiedBy;
+ }
+
+ public List<PersonGadget> getPersonGadgetList() {
+ return personGadgetList;
+ }
+
+ public void setPersonGadgetList(List<PersonGadget> personGadgetList) {
+ this.personGadgetList = personGadgetList;
+ }
+
+ public List<ContainerRegistry> getContainerRegistryList() {
+ return containerRegistryList;
+ }
+
+ public void setContainerRegistryList(List<ContainerRegistry> containerRegistryList) {
+ this.containerRegistryList = containerRegistryList;
+ }
+
+ public List<GadgetUserPref> getGadgetUserPrefList() {
+ return gadgetUserPrefList;
+ }
+
+ public void setGadgetUserPrefList(List<GadgetUserPref> gadgetUserPrefList) {
+ this.gadgetUserPrefList = gadgetUserPrefList;
+ }
+
+ public List<PageTemplateGadget> getPageTemplateGadgetList() {
+ return pageTemplateGadgetList;
+ }
+
+ public void setPageTemplateGadgetList(List<PageTemplateGadget> pageTemplateGadgetList) {
+ this.pageTemplateGadgetList = pageTemplateGadgetList;
+ }
+
+ public List<ConsumerInfo> getConsumerInfoList() {
+ return consumerInfoList;
+ }
+
+ public void setConsumerInfoList(List<ConsumerInfo> consumerInfoList) {
+ this.consumerInfoList = consumerInfoList;
+ }
+
+ public GadgetAuthorType getGadgetAuthorType() {
+ return gadgetAuthorType;
+ }
+
+ public void setGadgetAuthorType(GadgetAuthorType gadgetAuthorType) {
+ this.gadgetAuthorType = gadgetAuthorType;
+ }
+
+ public GadgetSupportLinkType getGadgetSupportLinkType() {
+ return gadgetSupportLinkType;
+ }
+
+ public void setGadgetSupportLinkType(GadgetSupportLinkType gadgetSupportLinkType) {
+ this.gadgetSupportLinkType = gadgetSupportLinkType;
+ }
+
+ public List<GadgetAudience> getGadgetAudienceList() {
+ return gadgetAudienceList;
+ }
+
+ public void setGadgetAudienceList(List<GadgetAudience> gadgetAudienceList) {
+ this.gadgetAudienceList = gadgetAudienceList;
+ }
+
+ public List<GadgetTag> getGadgetTagList() {
+ return gadgetTagList;
+ }
+
+ public void setGadgetTagList(List<GadgetTag> gadgetTagList) {
+ this.gadgetTagList = gadgetTagList;
+ }
+
+ public List<GadgetRating> getGadgetRatingList() {
+ return gadgetRatingList;
+ }
+ public void setGadgetRatingList(List<GadgetRating> gadgetRatingList) {
+ this.gadgetRatingList = gadgetRatingList;
+ }
+
+ public List<GadgetComment> getGadgetCommentList() {
+ return gadgetCommentList;
+ }
+ public void setGadgetCommentList(List<GadgetComment> gadgetCommentList) {
+ this.gadgetCommentList = gadgetCommentList;
+ }
+
+ public String getLockedDomainPrefix() {
+ //since we cache all of our JPA entities this bit of code should ensure that the work to calculate locked domain
+ //only happens a handful of times at most for a given gadget instance (it could happen multiple times if there are
+ //many threads that want this value at the same time -- which is fine -- its not worth synchronization to deter that)
+ if (lockedDomainPrefix == null) {
+ byte[] sha1 = DigestUtils.sha(this.url.toString());
+ lockedDomainPrefix = new String(Base32.encodeBase32(sha1));
+ }
+ return lockedDomainPrefix;
+ }
+
+ public boolean isExternalGadget() {
+ //see comment about threading in getLockedDomainPrefix() method
+ if (isExternalGadget == null) {
+ try {
+ isExternalGadget = true; //mfranklin - TODO- make a generic implementation of this. !NetworkUtils.isUriOnMitreNetwork(this.url.toURI());
+ } catch (Exception e) {
+ log.error("Exception caught while trying to determine if gadget is external for gadget: " + this.url, e);
+ //fail on the safe side and return true - but don't cache it in case this is a transient failure
+ return true;
+ }
+ }
+ return isExternalGadget;
+ }
+
+ public boolean isSendCommentEmails() {
+ return sendCommentEmails;
+ }
+
+ public void setSendCommentEmails(boolean sendCommentEmails) {
+ this.sendCommentEmails = sendCommentEmails;
+ }
+
+ @Override
+ public int hashCode() {
+ int hash = 0;
+ hash += (gadgetId != null ? gadgetId.hashCode() : 0);
+ return hash;
+ }
+
+ @Override
+ public boolean equals(Object object)
+ {
+ if (!(object instanceof Gadget)) {
+ return false;
+ }
+ Gadget other = (Gadget) object;
+ if (this.gadgetId == null ||
+ other.getGadgetId() == null ||
+ !this.gadgetId.equals(other.getGadgetId()))
+ {
+ return false;
+ }
+ return true;
+ }
+
+ @Override
+ public String toString() {
+ return "org.mitre.portal.model.Gadget[gadgetId=" + gadgetId + "]";
+ }
+
+}
Propchange: incubator/rave/donations/mitre-osec/src/org/mitre/portal/model/Gadget.java
------------------------------------------------------------------------------
svn:executable = *