[Anthill-pro] Reports
Yanko, Curtis
curt_yanko at uhc.com
Mon Jan 14 10:39:30 CST 2008
And while I'm in here. How come when I hit View (the magnifying glass)
for a report I get to a screen where I cannot edit and I have to hit
Done to leave?
Being able to copy a report would be nice also. Even if only to play
around on a copy.
===
-Curt
W: 860.702.9059
M: 860.881.2050
-----Original Message-----
From: anthill-pro-bounces at lists.urbancode.com
[mailto:anthill-pro-bounces at lists.urbancode.com] On Behalf Of Ryan Smith
Sent: Monday, January 14, 2008 11:33 AM
To: AnthillPro user and support list.
Cc: AnthillPro user and support list.
Subject: Re: [Anthill-pro] Reports
Curtis,
Unfortunately, that method requires the project id. I'm looking for one
that works across all projects but I'm not seeing one yet.
Ryan
Yanko, Curtis wrote:
> 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/urba
> ncode/anthill3/domain/persistent/PersistenceException.html>
>
> *Throws:*
> |PersistenceException
>
> <http://ahpstage.uhc.com/tools/remoting/anthill3-remoting/api/com/urba
> ncode/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/urba
> ncode/anthill3/domain/persistent/PersistenceException.html>
>
> *Throws:*
> |PersistenceException
>
> <http://ahpstage.uhc.com/tools/remoting/anthill3-remoting/api/com/urba
> ncode/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.
>
>
> ----------------------------------------------------------------------
> --
>
> _______________________________________________
> Anthill-pro mailing list
> Anthill-pro at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill-pro
--
===========================================================
Ryan Smith. 2044 Euclid Ave., Suite 600
Lead Developer Cleveland, Ohio 44115
Urbancode, Inc.
email: rws at urbancode.com
web: www.urbancode.com phone: 216-858-9000
web: www.anthillpro.com fax: 216-858-9602
===========================================================
_______________________________________________
Anthill-pro mailing list
Anthill-pro at lists.urbancode.com
http://lists.urbancode.com/mailman/listinfo/anthill-pro
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.
More information about the Anthill-pro
mailing list