[Anthill-pro] Reports
Yanko, Curtis
curt_yanko at uhc.com
Mon Jan 14 10:20:16 CST 2008
Tried this but no joy:
BuildLifeWorkflowCaseSummary[] summaries =
DashboardFactory.getInstance().getBuildLifeWorkflowSummaries(null, new
java.util.Date(2008, 1, 2), new java.util.Date(2008, 12, 31));
===
-Curt
W: 860.702.9059
M: 860.881.2050
________________________________
From: anthill-pro-bounces at lists.urbancode.com
[mailto:anthill-pro-bounces at lists.urbancode.com] On Behalf Of Yanko,
Curtis
Sent: Monday, January 14, 2008 11:09 AM
To: AnthillPro user and support list.; AnthillPro user and support list.
Subject: RE: [Anthill-pro] Reports
Ok, in remoting I see this:
getBuildLifeWorkflowSummaries
public BuildLifeWorkflowCaseSummary
<http://ahpstage.uhc.com/tools/remoting/anthill3-remoting/api/com/urbanc
ode/anthill3/dashboard/BuildLifeWorkflowCaseSummary.html> []
getBuildLifeWorkflowSummaries(java.lang.Long projectId,
java.lang.Integer start,
java.lang.Integer count)
throws
PersistenceException
<http://ahpstage.uhc.com/tools/remoting/anthill3-remoting/api/com/urbanc
ode/anthill3/domain/persistent/PersistenceException.html>
Throws:
PersistenceException
<http://ahpstage.uhc.com/tools/remoting/anthill3-remoting/api/com/urbanc
ode/anthill3/domain/persistent/PersistenceException.html>
________________________________
getBuildLifeWorkflowSummaries
public BuildLifeWorkflowCaseSummary
<http://ahpstage.uhc.com/tools/remoting/anthill3-remoting/api/com/urbanc
ode/anthill3/dashboard/BuildLifeWorkflowCaseSummary.html> []
getBuildLifeWorkflowSummaries(java.lang.Long projectId,
java.util.Date startDate,
java.util.Date endDate)
throws
PersistenceException
<http://ahpstage.uhc.com/tools/remoting/anthill3-remoting/api/com/urbanc
ode/anthill3/domain/persistent/PersistenceException.html>
Throws:
PersistenceException
<http://ahpstage.uhc.com/tools/remoting/anthill3-remoting/api/com/urbanc
ode/anthill3/domain/persistent/PersistenceException.html>
So I'm guessing that the Days-of-the-week script just gets the last 100
build lifes??? and I should use this second approach and set my dates
from Jan 1 to Dec 31 of 2008.
What's the synatax fpor that? Would I set in the Meta-data script?
===
-Curt
W: 860.702.9059
M: 860.881.2050
________________________________
From: anthill-pro-bounces at lists.urbancode.com
[mailto:anthill-pro-bounces at lists.urbancode.com] On Behalf Of Yanko,
Curtis
Sent: Monday, January 14, 2008 10:55 AM
To: AnthillPro user and support list.
Subject: RE: [Anthill-pro] Reports
Ok, first crack at Builds by Month:
It essentially works but I am only getting builds for January ( and
probably not all of it even).
I did a modify job on the Days-of-the-week report and this line is where
I think I'm running into trouble:
// Get workflows for the last 7 days for the right project
BuildLifeWorkflowCaseSummary[] summaries =
DashboardFactory.getInstance().getBuildLifeWorkflowSummaries(null, null,
new Integer(100));
I didn't modify it but the comment and that integer 100 are scaring me.
Now, ideally I'd like to limit this to 2008 and have a seperate report
for 2007 (which I'm willing to hard code into the script)
Thoughts on approach?
===
-Curt
W: 860.702.9059
M: 860.881.2050
This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity to
which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified
that any dissemination, distribution or copying of this e-mail is
prohibited. If you have received this e-mail in error, please notify the
sender by replying to this message and delete this e-mail immediately.
This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity to
which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified
that any dissemination, distribution or copying of this e-mail is
prohibited. If you have received this e-mail in error, please notify the
sender by replying to this message and delete this e-mail immediately.
This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity to
which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified
that any dissemination, distribution or copying of this e-mail is
prohibited. If you have received this e-mail in error, please notify the
sender by replying to this message and delete this e-mail immediately.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.urbancode.com/pipermail/anthill-pro/attachments/20080114/5cc34907/attachment-0003.htm
More information about the Anthill-pro
mailing list