[pal-cvs 3386] [1120] added timestamp.

svnno****@sourc***** svnno****@sourc*****
2008年 9月 5日 (金) 10:57:50 JST


Revision: 1120
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=1120
Author:   shinsuke
Date:     2008-09-05 10:57:50 +0900 (Fri, 05 Sep 2008)

Log Message:
-----------
added timestamp.

Modified Paths:
--------------
    pal-portal/branches/pal-portal-1.x/portal/jetspeed-2/components/portal/src/java/org/apache/jetspeed/velocity/JetspeedPowerToolImpl.java
    pal-portal/branches/pal-portal-1.x/portal/jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/layout/JetspeedPowerTool.java


-------------- next part --------------
Modified: pal-portal/branches/pal-portal-1.x/portal/jetspeed-2/components/portal/src/java/org/apache/jetspeed/velocity/JetspeedPowerToolImpl.java
===================================================================
--- pal-portal/branches/pal-portal-1.x/portal/jetspeed-2/components/portal/src/java/org/apache/jetspeed/velocity/JetspeedPowerToolImpl.java	2008-09-05 01:55:37 UTC (rev 1119)
+++ pal-portal/branches/pal-portal-1.x/portal/jetspeed-2/components/portal/src/java/org/apache/jetspeed/velocity/JetspeedPowerToolImpl.java	2008-09-05 01:57:50 UTC (rev 1120)
@@ -949,4 +949,9 @@
         return contentFragment.getRenderedContent();
     }
 
+    public long getTimestamp()
+    {
+        return System.currentTimeMillis();
+    }
+
 }

Modified: pal-portal/branches/pal-portal-1.x/portal/jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/layout/JetspeedPowerTool.java
===================================================================
--- pal-portal/branches/pal-portal-1.x/portal/jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/layout/JetspeedPowerTool.java	2008-09-05 01:55:37 UTC (rev 1119)
+++ pal-portal/branches/pal-portal-1.x/portal/jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/layout/JetspeedPowerTool.java	2008-09-05 01:57:50 UTC (rev 1120)
@@ -247,4 +247,6 @@
     String getPageBasePath();
 
     String renderPortletEntity(String entityId, String portletId);
+
+    long getTimestamp();
 }
\ No newline at end of file


pal-cvs メーリングリストの案内