Package 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
Fields Modifier and Type Field Description static java.lang.String
PROP_ITEM_DESCRIPTION
Property name - current item's description.-
Fields inherited from interface com.im.df.api.support.DFNewTypeOptions
PROP_ERROR_MESSAGE, PROP_VALID
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<java.lang.String>
getAllUsers()
Get list of all users.DFNewTypeWellKnownOptions.UserItemDescription
getItemDescription()
java.util.List<? extends DFNewTypeWellKnownOptions.UserItemDescription>
getItemDescriptionsFor(java.lang.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, removePropertyChangeListener
-
-
-
-
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
-
getItemDescription
DFNewTypeWellKnownOptions.UserItemDescription getItemDescription()
- Returns:
- the current item description. Can return null.
-
-