Interface DFNewTypeWellKnownOptions.ClonedUserItem

    • Field Detail

      • PROP_ITEM_DESCRIPTION

        static final java.lang.String PROP_ITEM_DESCRIPTION
        Property name - current item's description.
        See Also:
        Constant Field Values
    • Method Detail

      • getAllUsers

        java.util.List<java.lang.String> getAllUsers()
        Get list of all users. Names are the same which are possible to obtain from IJCUserLoginService
        Returns:
        user list
      • getItemDescriptionsFor

        java.util.List<? extends DFNewTypeWellKnownOptions.UserItemDescription> getItemDescriptionsFor​(java.lang.String user)
        Get items from the given user. All items are obviously for the given parent DFItem (where this newtype was obtained from). For example views are only for the datatree where you asked for the new type.
        Parameters:
        user - the cloning user
        Returns:
        items
      • setItemDescription

        void setItemDescription​(DFNewTypeWellKnownOptions.UserItemDescription itemDescription)
        Set current item description. This description will be used if you call create method for this newtype. Note: this method doesn't update newdfitemname.
        Parameters:
        itemDescription - current item