added unshare folder handling
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@100253 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
08900dbc9b
commit
6c8dee4b68
|
@ -24,5 +24,6 @@
|
|||
<attribute name="maven.pomderived" value="true"/>
|
||||
</attributes>
|
||||
</classpathentry>
|
||||
<classpathentry kind="con" path="com.google.gwt.eclipse.core.GWT_CONTAINER"/>
|
||||
<classpathentry kind="output" path="war/WEB-INF/classes"/>
|
||||
</classpath>
|
||||
|
|
21683
.gwt/.gwt-log
21683
.gwt/.gwt-log
File diff suppressed because it is too large
Load Diff
|
@ -1,4 +1,3 @@
|
|||
#Tue Dec 04 18:19:08 CET 2012
|
||||
eclipse.preferences.version=1
|
||||
entryPointModules=
|
||||
filesCopiedToWebInfLib=
|
||||
filesCopiedToWebInfLib=gwt-servlet.jar
|
||||
|
|
|
@ -9,5 +9,5 @@ log4j.appender.A1.layout.ConversionPattern=%d [%t] %-5p %c - %m%n
|
|||
log4j.logger.org.gcube=TRACE
|
||||
log4j.logger.org.gcube.application.framework.core.session=INFO
|
||||
log4j.logger.com.netflix.astyanax.connectionpool=ERROR
|
||||
log4j.logger.org.gcube.portal.databook.server.DBCassandraAstyanaxImpl=DEBUG
|
||||
log4j.logger.org.gcube.portal.databook.server.DBCassandraAstyanaxImpl=TRACE
|
||||
log4j.logger.org.gcube.common=ERROR
|
2
pom.xml
2
pom.xml
|
@ -10,7 +10,7 @@
|
|||
|
||||
<groupId>org.gcube.portal</groupId>
|
||||
<artifactId>social-networking-library</artifactId>
|
||||
<version>1.6.1-SNAPSHOT</version>
|
||||
<version>1.6.2-SNAPSHOT</version>
|
||||
<name>gCube Social Networking Library</name>
|
||||
<description>
|
||||
The gCube Social Networking Library is the 'bridge' between your gCube Applications and the social networking facilities.
|
||||
|
|
|
@ -1505,6 +1505,9 @@ public final class DBCassandraAstyanaxImpl implements DatabookStore {
|
|||
if (type.compareTo("WP_FOLDER_SHARE") == 0) {
|
||||
return NotificationType.WP_FOLDER_SHARE;
|
||||
}
|
||||
else if (type.compareTo("WP_FOLDER_UNSHARE") == 0) {
|
||||
return NotificationType.WP_FOLDER_UNSHARE;
|
||||
}
|
||||
else if (type.compareTo("WP_FOLDER_RENAMED") == 0) {
|
||||
return NotificationType.WP_FOLDER_RENAMED;
|
||||
}
|
||||
|
|
|
@ -14,6 +14,10 @@ public enum NotificationType {
|
|||
* use to notify a user he got a workspace folder shared
|
||||
*/
|
||||
WP_FOLDER_SHARE,
|
||||
/**
|
||||
* use to notify a user that a user in the share unshared
|
||||
*/
|
||||
WP_FOLDER_UNSHARE,
|
||||
/**
|
||||
* use to notify a user that a new user was added in on of his workspace shared folder
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue