com.im.df.api 5.9

com.im.df.api.support
Interface DFNewTypeWellKnownOptions.ClonedUserItem

All Superinterfaces:
DFNewTypeOptions
All Known Subinterfaces:
DFNewTypeWellKnownOptions.ClonedList, DFNewTypeWellKnownOptions.ClonedQuery, DFNewTypeWellKnownOptions.ClonedScript, DFNewTypeWellKnownOptions.ClonedView
Enclosing interface:
DFNewTypeWellKnownOptions

public static interface DFNewTypeWellKnownOptions.ClonedUserItem
extends DFNewTypeOptions

Just abstract super-interface for all user specific CLONE type newtypes. Newtype well known options for copying views/queries/lists from another users extend this interface.


Field Summary
static String PROP_ITEM_DESCRIPTION
           
 
Fields inherited from interface com.im.df.api.support.DFNewTypeOptions
PROP_ERROR_MESSAGE, PROP_VALID
 
Method Summary
 List<String> getAllUsers()
          Get list of all users.
 DFNewTypeWellKnownOptions.UserItemDescription getItemDescription()
          Get the current item description.
 List<DFNewTypeWellKnownOptions.UserItemDescription> getItemDescriptionsFor(String user)
          Get items from the given user.
 void setItemDescription(DFNewTypeWellKnownOptions.UserItemDescription itemDescription)
          Set current item description.
 
Methods inherited from interface com.im.df.api.support.DFNewTypeOptions
addPropertyChangeListener, getErrorMessage, isValid, removeAllPropertyChangeListener, removePropertyChangeListener
 

Field Detail

PROP_ITEM_DESCRIPTION

static final String PROP_ITEM_DESCRIPTION
See Also:
Constant Field Values
Method Detail

getAllUsers

List<String> getAllUsers()
Get list of all users. Names are the same which are possible to obtain from IJCUserLoginService


getItemDescriptionsFor

List<DFNewTypeWellKnownOptions.UserItemDescription> getItemDescriptionsFor(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.


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.


getItemDescription

DFNewTypeWellKnownOptions.UserItemDescription getItemDescription()
Get the current item description. Can return null.


com.im.df.api 5.9