integrated notifications for set/unset shared folder administrator
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@100277 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
6c8dee4b68
commit
79ea470f94
143
.gwt/.gwt-log
143
.gwt/.gwt-log
|
@ -102109,3 +102109,146 @@ Compiling...
|
||||||
Compilation completed in 0.00 seconds
|
Compilation completed in 0.00 seconds
|
||||||
Removing invalidated units
|
Removing invalidated units
|
||||||
Finding entry point classes
|
Finding entry point classes
|
||||||
|
Public resources found in...
|
||||||
|
[WARN] Error processing classpath URL 'file:/Applications/eclipse 4.3/plugins/com.google.gdt.eclipse.designer.hosted.2_2_3.1.2.r43x201303061525/gwt-dev-designtime.jar'
|
||||||
|
java.net.URISyntaxException: Illegal character in path at index 26: file:/Applications/eclipse 4.3/plugins/com.google.gdt.eclipse.designer.hosted.2_2_3.1.2.r43x201303061525/gwt-dev-designtime.jar
|
||||||
|
at java.net.URI$Parser.fail(URI.java:2829)
|
||||||
|
at java.net.URI$Parser.checkChars(URI.java:3002)
|
||||||
|
at java.net.URI$Parser.parseHierarchical(URI.java:3086)
|
||||||
|
at java.net.URI$Parser.parse(URI.java:3034)
|
||||||
|
at java.net.URI.<init>(URI.java:595)
|
||||||
|
at java.net.URL.toURI(URL.java:938)
|
||||||
|
at com.google.gwt.dev.resource.impl.ResourceOracleImpl.addAllClassPathEntries(ResourceOracleImpl.java:323)
|
||||||
|
at com.google.gwt.dev.resource.impl.ResourceOracleImpl.getAllClassPathEntries(ResourceOracleImpl.java:358)
|
||||||
|
at com.google.gwt.dev.resource.impl.ResourceOracleImpl.<init>(ResourceOracleImpl.java:402)
|
||||||
|
at com.google.gwt.dev.cfg.ModuleDef.normalize(ModuleDef.java:545)
|
||||||
|
at com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule(ModuleDefLoader.java:199)
|
||||||
|
at com.google.gwt.dev.cfg.ModuleDefLoader.loadFromResources(ModuleDefLoader.java:169)
|
||||||
|
at com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath(ModuleDefLoader.java:141)
|
||||||
|
at com.google.gwt.dev.shell.designtime.HostedModeSupportImpl.loadModule(HostedModeSupportImpl.java:85)
|
||||||
|
at com.google.gwt.dev.shell.designtime.HostedModeSupportImpl.createModuleSpaceHost(HostedModeSupportImpl.java:64)
|
||||||
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
||||||
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
|
||||||
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
||||||
|
at java.lang.reflect.Method.invoke(Method.java:606)
|
||||||
|
at org.eclipse.wb.internal.core.utils.reflect.ReflectionUtils.invokeMethod(ReflectionUtils.java:869)
|
||||||
|
at com.google.gdt.eclipse.designer.hosted.tdt.HostedModeSupport.createModuleSpaceHost(HostedModeSupport.java:447)
|
||||||
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
||||||
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
|
||||||
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
||||||
|
at java.lang.reflect.Method.invoke(Method.java:606)
|
||||||
|
at org.eclipse.wb.internal.core.utils.reflect.ReflectionUtils.invokeMethod(ReflectionUtils.java:869)
|
||||||
|
at com.google.gdt.eclipse.designer.WarmUpSupport.warmUpHostedMode(WarmUpSupport.java:125)
|
||||||
|
at com.google.gdt.eclipse.designer.WarmUpSupport.warmUpHostedMode(WarmUpSupport.java:103)
|
||||||
|
at com.google.gdt.eclipse.designer.WarmUpSupport.doWarmUp(WarmUpSupport.java:84)
|
||||||
|
at com.google.gdt.eclipse.designer.Activator.earlyStartup(Activator.java:190)
|
||||||
|
at org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(EarlyStartupRunnable.java:87)
|
||||||
|
at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:73)
|
||||||
|
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
|
||||||
|
at org.eclipse.ui.internal.Workbench$55.run(Workbench.java:2552)
|
||||||
|
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
|
||||||
|
Translatable source found in...
|
||||||
|
Found 0 cached/archived units. Used 0 / 2719 units from cache.
|
||||||
|
Compiling...
|
||||||
|
0% complete (ETR: 48 seconds)
|
||||||
|
10% complete (ETR: 46 seconds)
|
||||||
|
20% complete (ETR: 34 seconds)
|
||||||
|
30% complete (ETR: 25 seconds)
|
||||||
|
40% complete (ETR: 21 seconds)
|
||||||
|
50% complete (ETR: 18 seconds)
|
||||||
|
60% complete (ETR: 13 seconds)
|
||||||
|
70% complete (ETR: 9 seconds)
|
||||||
|
80% complete (ETR: 6 seconds)
|
||||||
|
90% complete (ETR: 3 seconds)
|
||||||
|
100% complete (ETR: 0 seconds)
|
||||||
|
Compilation completed in 37.21 seconds
|
||||||
|
Removing invalidated units
|
||||||
|
Finding entry point classes
|
||||||
|
Public resources found in...
|
||||||
|
[WARN] Error processing classpath URL 'file:/Applications/eclipse 4.3/plugins/com.google.gdt.eclipse.designer.hosted.2_2_3.1.2.r43x201303061525/gwt-dev-designtime.jar'
|
||||||
|
java.net.URISyntaxException: Illegal character in path at index 26: file:/Applications/eclipse 4.3/plugins/com.google.gdt.eclipse.designer.hosted.2_2_3.1.2.r43x201303061525/gwt-dev-designtime.jar
|
||||||
|
at java.net.URI$Parser.fail(URI.java:2829)
|
||||||
|
at java.net.URI$Parser.checkChars(URI.java:3002)
|
||||||
|
at java.net.URI$Parser.parseHierarchical(URI.java:3086)
|
||||||
|
at java.net.URI$Parser.parse(URI.java:3034)
|
||||||
|
at java.net.URI.<init>(URI.java:595)
|
||||||
|
at java.net.URL.toURI(URL.java:938)
|
||||||
|
at com.google.gwt.dev.resource.impl.ResourceOracleImpl.addAllClassPathEntries(ResourceOracleImpl.java:323)
|
||||||
|
at com.google.gwt.dev.resource.impl.ResourceOracleImpl.getAllClassPathEntries(ResourceOracleImpl.java:358)
|
||||||
|
at com.google.gwt.dev.resource.impl.ResourceOracleImpl.<init>(ResourceOracleImpl.java:402)
|
||||||
|
at com.google.gwt.dev.cfg.ModuleDef.normalize(ModuleDef.java:545)
|
||||||
|
at com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule(ModuleDefLoader.java:199)
|
||||||
|
at com.google.gwt.dev.cfg.ModuleDefLoader.loadFromResources(ModuleDefLoader.java:169)
|
||||||
|
at com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath(ModuleDefLoader.java:141)
|
||||||
|
at com.google.gwt.dev.shell.designtime.HostedModeSupportImpl.loadModule(HostedModeSupportImpl.java:85)
|
||||||
|
at com.google.gwt.dev.shell.designtime.HostedModeSupportImpl.createModuleSpaceHost(HostedModeSupportImpl.java:64)
|
||||||
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
||||||
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
|
||||||
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
||||||
|
at java.lang.reflect.Method.invoke(Method.java:606)
|
||||||
|
at org.eclipse.wb.internal.core.utils.reflect.ReflectionUtils.invokeMethod(ReflectionUtils.java:869)
|
||||||
|
at com.google.gdt.eclipse.designer.hosted.tdt.HostedModeSupport.createModuleSpaceHost(HostedModeSupport.java:447)
|
||||||
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
||||||
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
|
||||||
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
||||||
|
at java.lang.reflect.Method.invoke(Method.java:606)
|
||||||
|
at org.eclipse.wb.internal.core.utils.reflect.ReflectionUtils.invokeMethod(ReflectionUtils.java:869)
|
||||||
|
at com.google.gdt.eclipse.designer.WarmUpSupport.warmUpHostedMode(WarmUpSupport.java:125)
|
||||||
|
at com.google.gdt.eclipse.designer.WarmUpSupport.warmUpHostedMode(WarmUpSupport.java:104)
|
||||||
|
at com.google.gdt.eclipse.designer.WarmUpSupport.doWarmUp(WarmUpSupport.java:84)
|
||||||
|
at com.google.gdt.eclipse.designer.Activator.earlyStartup(Activator.java:190)
|
||||||
|
at org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(EarlyStartupRunnable.java:87)
|
||||||
|
at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:73)
|
||||||
|
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
|
||||||
|
at org.eclipse.ui.internal.Workbench$55.run(Workbench.java:2552)
|
||||||
|
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
|
||||||
|
Translatable source found in...
|
||||||
|
Found 2719 cached/archived units. Used 2719 / 2719 units from cache.
|
||||||
|
Compiling...
|
||||||
|
Compilation completed in 0.00 seconds
|
||||||
|
Removing invalidated units
|
||||||
|
Finding entry point classes
|
||||||
|
Public resources found in...
|
||||||
|
[WARN] Error processing classpath URL 'file:/Applications/eclipse 4.3/plugins/com.google.gdt.eclipse.designer.hosted.2_2_3.1.2.r43x201303061525/gwt-dev-designtime.jar'
|
||||||
|
java.net.URISyntaxException: Illegal character in path at index 26: file:/Applications/eclipse 4.3/plugins/com.google.gdt.eclipse.designer.hosted.2_2_3.1.2.r43x201303061525/gwt-dev-designtime.jar
|
||||||
|
at java.net.URI$Parser.fail(URI.java:2829)
|
||||||
|
at java.net.URI$Parser.checkChars(URI.java:3002)
|
||||||
|
at java.net.URI$Parser.parseHierarchical(URI.java:3086)
|
||||||
|
at java.net.URI$Parser.parse(URI.java:3034)
|
||||||
|
at java.net.URI.<init>(URI.java:595)
|
||||||
|
at java.net.URL.toURI(URL.java:938)
|
||||||
|
at com.google.gwt.dev.resource.impl.ResourceOracleImpl.addAllClassPathEntries(ResourceOracleImpl.java:323)
|
||||||
|
at com.google.gwt.dev.resource.impl.ResourceOracleImpl.getAllClassPathEntries(ResourceOracleImpl.java:358)
|
||||||
|
at com.google.gwt.dev.resource.impl.ResourceOracleImpl.<init>(ResourceOracleImpl.java:402)
|
||||||
|
at com.google.gwt.dev.cfg.ModuleDef.normalize(ModuleDef.java:545)
|
||||||
|
at com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule(ModuleDefLoader.java:199)
|
||||||
|
at com.google.gwt.dev.cfg.ModuleDefLoader.loadFromResources(ModuleDefLoader.java:169)
|
||||||
|
at com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath(ModuleDefLoader.java:141)
|
||||||
|
at com.google.gwt.dev.shell.designtime.HostedModeSupportImpl.loadModule(HostedModeSupportImpl.java:85)
|
||||||
|
at com.google.gwt.dev.shell.designtime.HostedModeSupportImpl.createModuleSpaceHost(HostedModeSupportImpl.java:64)
|
||||||
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
||||||
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
|
||||||
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
||||||
|
at java.lang.reflect.Method.invoke(Method.java:606)
|
||||||
|
at org.eclipse.wb.internal.core.utils.reflect.ReflectionUtils.invokeMethod(ReflectionUtils.java:869)
|
||||||
|
at com.google.gdt.eclipse.designer.hosted.tdt.HostedModeSupport.createModuleSpaceHost(HostedModeSupport.java:447)
|
||||||
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
||||||
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
|
||||||
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
||||||
|
at java.lang.reflect.Method.invoke(Method.java:606)
|
||||||
|
at org.eclipse.wb.internal.core.utils.reflect.ReflectionUtils.invokeMethod(ReflectionUtils.java:869)
|
||||||
|
at com.google.gdt.eclipse.designer.WarmUpSupport.warmUpHostedMode(WarmUpSupport.java:125)
|
||||||
|
at com.google.gdt.eclipse.designer.WarmUpSupport.warmUpHostedMode(WarmUpSupport.java:105)
|
||||||
|
at com.google.gdt.eclipse.designer.WarmUpSupport.doWarmUp(WarmUpSupport.java:84)
|
||||||
|
at com.google.gdt.eclipse.designer.Activator.earlyStartup(Activator.java:190)
|
||||||
|
at org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(EarlyStartupRunnable.java:87)
|
||||||
|
at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:73)
|
||||||
|
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
|
||||||
|
at org.eclipse.ui.internal.Workbench$55.run(Workbench.java:2552)
|
||||||
|
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
|
||||||
|
Translatable source found in...
|
||||||
|
Found 2719 cached/archived units. Used 2719 / 2719 units from cache.
|
||||||
|
Compiling...
|
||||||
|
Compilation completed in 0.01 seconds
|
||||||
|
Removing invalidated units
|
||||||
|
Finding entry point classes
|
||||||
|
|
|
@ -1508,6 +1508,12 @@ public final class DBCassandraAstyanaxImpl implements DatabookStore {
|
||||||
else if (type.compareTo("WP_FOLDER_UNSHARE") == 0) {
|
else if (type.compareTo("WP_FOLDER_UNSHARE") == 0) {
|
||||||
return NotificationType.WP_FOLDER_UNSHARE;
|
return NotificationType.WP_FOLDER_UNSHARE;
|
||||||
}
|
}
|
||||||
|
else if (type.compareTo("WP_ADMIN_UPGRADE") == 0) {
|
||||||
|
return NotificationType.WP_ADMIN_UPGRADE;
|
||||||
|
}
|
||||||
|
else if (type.compareTo("WP_ADMIN_DOWNGRADE") == 0) {
|
||||||
|
return NotificationType.WP_ADMIN_DOWNGRADE;
|
||||||
|
}
|
||||||
else if (type.compareTo("WP_FOLDER_RENAMED") == 0) {
|
else if (type.compareTo("WP_FOLDER_RENAMED") == 0) {
|
||||||
return NotificationType.WP_FOLDER_RENAMED;
|
return NotificationType.WP_FOLDER_RENAMED;
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,6 +18,14 @@ public enum NotificationType {
|
||||||
* use to notify a user that a user in the share unshared
|
* use to notify a user that a user in the share unshared
|
||||||
*/
|
*/
|
||||||
WP_FOLDER_UNSHARE,
|
WP_FOLDER_UNSHARE,
|
||||||
|
/**
|
||||||
|
* use to notify a user that he got upgraded to administrator of a shared folder
|
||||||
|
*/
|
||||||
|
WP_ADMIN_UPGRADE,
|
||||||
|
/**
|
||||||
|
* use to notify a user that he got downgraded from administrator of a shared folder
|
||||||
|
*/
|
||||||
|
WP_ADMIN_DOWNGRADE,
|
||||||
/**
|
/**
|
||||||
* use to notify a user that a new user was added in on of his workspace shared folder
|
* use to notify a user that a new user was added in on of his workspace shared folder
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue