Class MyReport

  • All Implemented Interfaces:
    java.io.Serializable

    public class MyReport
    extends java.lang.Object
    implements java.io.Serializable
    Author:
    Javier Paniza
    See Also:
    Serialized Form
    • Constructor Detail

      • MyReport

        public MyReport()
    • Method Detail

      • createEmpty

        public static MyReport createEmpty​(Tab tab)
      • find

        public static MyReport find​(Tab tab,
                                    java.lang.String name)
                             throws java.util.prefs.BackingStoreException
        Throws:
        java.util.prefs.BackingStoreException
      • getAllNamesCurrentUser

        public java.lang.String[] getAllNamesCurrentUser()
                                                  throws java.util.prefs.BackingStoreException
        The names of all the reports of the same Tab of the current one.
        Throws:
        java.util.prefs.BackingStoreException
      • getAllNamesSharedUser

        public java.lang.String[] getAllNamesSharedUser()
                                                 throws java.util.prefs.BackingStoreException
        The names of all the shared reports.
        Throws:
        java.util.prefs.BackingStoreException
      • getAllNames

        public java.lang.String[] getAllNames()
                                       throws java.util.prefs.BackingStoreException
        Returns:
        names of all the report: current user + shared
        Throws:
        java.util.prefs.BackingStoreException
      • getLastName

        public java.lang.String getLastName()
                                     throws java.util.prefs.BackingStoreException
        Throws:
        java.util.prefs.BackingStoreException
      • load

        public void load()
                  throws java.util.prefs.BackingStoreException
        Throws:
        java.util.prefs.BackingStoreException
      • save

        public void save()
                  throws java.util.prefs.BackingStoreException
        Throws:
        java.util.prefs.BackingStoreException
      • save

        public void save​(boolean sharedReport)
                  throws java.util.prefs.BackingStoreException
        Throws:
        java.util.prefs.BackingStoreException
      • remove

        public void remove()
                    throws java.util.prefs.BackingStoreException
        Throws:
        java.util.prefs.BackingStoreException
      • getName

        public java.lang.String getName()
      • setName

        public void setName​(java.lang.String name)
      • setColumns

        public void setColumns​(java.util.List<MyReportColumn> columns)
      • getMetaModel

        public MetaModel getMetaModel()
      • setMetaModel

        public void setMetaModel​(MetaModel metaModel)
      • isShared

        public boolean isShared()
      • setShared

        public void setShared​(boolean shared)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object