Class ClonedQueryNTO

  • All Implemented Interfaces:
    com.im.df.api.support.DFNewTypeOptions, com.im.df.api.support.DFNewTypeWellKnownOptions.ClonedQuery, com.im.df.api.support.DFNewTypeWellKnownOptions.ClonedUserItem, com.im.df.api.support.DFNewTypeWellKnownOptions.SingleDFItem

    public class ClonedQueryNTO
    extends ClonedItemNTO<com.im.ijc.df.impl.db.queries.ClonedQueryNTO.QueryDescriptionImpl,​com.im.df.api.ddl.DFQuery>
    implements com.im.df.api.support.DFNewTypeWellKnownOptions.ClonedQuery
    Author:
    Petr Hamernik
    • Field Summary

      • Fields inherited from interface com.im.df.api.support.DFNewTypeOptions

        PROP_ERROR_MESSAGE, PROP_VALID
      • Fields inherited from interface com.im.df.api.support.DFNewTypeWellKnownOptions.ClonedUserItem

        PROP_ITEM_DESCRIPTION
      • Fields inherited from interface com.im.df.api.support.DFNewTypeWellKnownOptions.SingleDFItem

        PROP_DESCRIPTION, PROP_NEW_DFITEM_NAME
    • Constructor Summary

      Constructors 
      Constructor Description
      ClonedQueryNTO​(com.chemaxon.dif.db.api.query.QueriesContainer container, com.im.df.api.ddl.DFDataTree parentDataTree)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected List<com.im.ijc.df.impl.db.queries.ClonedQueryNTO.QueryDescriptionImpl> createUserItemsFor​(com.im.ijcs.api.util.DFUser user, com.im.df.api.ddl.DFItem parentItem, com.im.commons.progress.DFEnvironmentRO env)  
      protected String getErrorNoItemSelected()  
      • Methods inherited from class com.chemaxon.dif.db.api.item.newtype.SingleDFItemNTO

        getDescription, getNewDFItemName, getParentContainer, normalizeDFItemName, notifyNewDFItemNameChanged, setDescription, setNewDFItemName, setNewDFItemNameSafe
      • Methods inherited from class com.chemaxon.dif.db.api.item.newtype.AbstractNTOImpl

        addPropertyChangeListener, firePropertyChange, getErrorMessage, isValid, removePropertyChangeListener, setErrorMessage, setValid
      • Methods inherited from interface com.im.df.api.support.DFNewTypeOptions

        addPropertyChangeListener, getErrorMessage, isValid, removePropertyChangeListener
      • Methods inherited from interface com.im.df.api.support.DFNewTypeWellKnownOptions.ClonedUserItem

        getAllUsers, getItemDescription, getItemDescriptionsFor, setItemDescription
      • Methods inherited from interface com.im.df.api.support.DFNewTypeWellKnownOptions.SingleDFItem

        getDescription, getNewDFItemName, setDescription, setNewDFItemName, setNewDFItemNameSafe
    • Constructor Detail

      • ClonedQueryNTO

        public ClonedQueryNTO​(com.chemaxon.dif.db.api.query.QueriesContainer container,
                              com.im.df.api.ddl.DFDataTree parentDataTree)
    • Method Detail

      • createUserItemsFor

        protected List<com.im.ijc.df.impl.db.queries.ClonedQueryNTO.QueryDescriptionImpl> createUserItemsFor​(com.im.ijcs.api.util.DFUser user,
                                                                                                             com.im.df.api.ddl.DFItem parentItem,
                                                                                                             com.im.commons.progress.DFEnvironmentRO env)
        Specified by:
        createUserItemsFor in class ClonedItemNTO<com.im.ijc.df.impl.db.queries.ClonedQueryNTO.QueryDescriptionImpl,​com.im.df.api.ddl.DFQuery>
        Parameters:
        user - the user willing to copy
        parentItem - return only items under this one
        Returns:
        list of items the user can copy.
      • getErrorNoItemSelected

        protected String getErrorNoItemSelected()
        Specified by:
        getErrorNoItemSelected in class ClonedItemNTO<com.im.ijc.df.impl.db.queries.ClonedQueryNTO.QueryDescriptionImpl,​com.im.df.api.ddl.DFQuery>