incubator-isis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danhayw...@apache.org
Subject svn commit: r1044696 [3/3] - in /incubator/isis/trunk/applib/src: docbkx/guide/isis-applib.xml main/java/org/apache/isis/applib/DomainObjectContainer.java main/java/org/apache/isis/applib/annotation/Hidden.java
Date Sat, 11 Dec 2010 19:34:20 GMT
Modified: incubator/isis/trunk/applib/src/main/java/org/apache/isis/applib/DomainObjectContainer.java
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/applib/src/main/java/org/apache/isis/applib/DomainObjectContainer.java?rev=1044696&r1=1044695&r2=1044696&view=diff
==============================================================================
--- incubator/isis/trunk/applib/src/main/java/org/apache/isis/applib/DomainObjectContainer.java
(original)
+++ incubator/isis/trunk/applib/src/main/java/org/apache/isis/applib/DomainObjectContainer.java
Sat Dec 11 19:34:20 2010
@@ -164,6 +164,13 @@ public interface DomainObjectContainer {
      * @param persistentDomainObject
      */
     void remove(Object persistentDomainObject);
+    
+    /**
+     * Removes (deletes) the domain object but only if is persistent.
+     * 
+     * @param domainObject
+     */
+    void removeIfNotAlready(Object domainObject);
 
     
 	//////////////////////////////////////////////////////////////////

Modified: incubator/isis/trunk/applib/src/main/java/org/apache/isis/applib/annotation/Hidden.java
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/applib/src/main/java/org/apache/isis/applib/annotation/Hidden.java?rev=1044696&r1=1044695&r2=1044696&view=diff
==============================================================================
--- incubator/isis/trunk/applib/src/main/java/org/apache/isis/applib/annotation/Hidden.java
(original)
+++ incubator/isis/trunk/applib/src/main/java/org/apache/isis/applib/annotation/Hidden.java
Sat Dec 11 19:34:20 2010
@@ -34,7 +34,7 @@ import java.lang.annotation.Target;
  * For a repository action, is equivalent to {@link NotContributed} and also {@link NotInRepositoryMenu}.
  */
 @Inherited
-@Target( { ElementType.METHOD, ElementType.TYPE })
+@Target( { ElementType.METHOD })
 @Retention(RetentionPolicy.RUNTIME)
 public @interface Hidden {
     When value() default When.ALWAYS;



Mime
View raw message