You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2003/11/13 17:17:53 UTC

cvs commit: cocoon-lenya/src/webapp/lenya/pubs/blog/java/src/org/apache/lenya/cms/authoring NewBlogEntryCreator.java

andreas     2003/11/13 08:17:53

  Modified:    src/webapp/lenya/pubs/blog/java/src/org/apache/lenya/cms/authoring
                        NewBlogEntryCreator.java
  Log:
  refactoring access control package structure
  
  Revision  Changes    Path
  1.3       +3 -4      cocoon-lenya/src/webapp/lenya/pubs/blog/java/src/org/apache/lenya/cms/authoring/NewBlogEntryCreator.java
  
  Index: NewBlogEntryCreator.java
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/pubs/blog/java/src/org/apache/lenya/cms/authoring/NewBlogEntryCreator.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- NewBlogEntryCreator.java	11 Aug 2003 22:19:25 -0000	1.2
  +++ NewBlogEntryCreator.java	13 Nov 2003 16:17:53 -0000	1.3
  @@ -48,8 +48,7 @@
   
   import org.w3c.dom.Document;
   
  -import org.apache.lenya.cms.ac2.Identity;
  -import org.apache.lenya.cms.authoring.DefaultBranchCreator;
  +import org.apache.lenya.ac.Identity;
   import org.apache.lenya.xml.DOMUtil;
   import org.apache.lenya.util.DateUtil;
   
  @@ -108,7 +107,7 @@
           du.setElementValue(doc, "/echo:entry/echo:title", (String)parameters.get("title"));
   
           // Replace author
  -        Identity identity = (Identity)parameters.get("org.apache.lenya.cms.ac2.Identity");
  +        Identity identity = (Identity)parameters.get("org.apache.lenya.ac.Identity");
           du.setElementValue(doc, "/echo:entry/echo:author/echo:name", identity.getUser().getId());
   
           // Replace date created (and issued and modified, FIXME: issued should be set during first time publishing, modified should be set during re-publishing)
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org