com . liferay . portlet . trash . model . TrashEntry function ( long arg0 , long arg1 , java . lang . String arg2 ) { return _trashEntryService . restoreEntry ( arg0 , arg1 , arg2 ) ; }
restores the trash entry to its original location . in order to handle a duplicate trash entry already existing at the original location , either pass in the primary key of the existing trash entry 's entity to overwrite or pass in a new name to give to the trash entry being restored . this method throws a trashpermissionexception if the user did nothave the permission to perform one of the necessary operations . the exception is created with a type specific to the operation : trashpermissionexception #restore - if the user did not havepermission to restore the trash entry trashpermissionexception #restore_overwrite - if the user did nothave permission to delete the existing trash entry trashpermissionexception #restore_rename - if the user did nothave permission to rename the trash entry concode_field_sep TrashEntryService _trashEntryService concode_field_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep void setWrappedService concode_elem_sep com.liferay.portlet.trash.model.TrashEntryList getEntries concode_elem_sep java.util.List<com.liferay.portlet.trash.model.TrashEntry> getEntries concode_elem_sep com.liferay.portlet.trash.model.TrashEntryList getEntries concode_elem_sep void deleteEntry concode_elem_sep void deleteEntry concode_elem_sep void deleteEntries concode_elem_sep void deleteEntries concode_elem_sep TrashEntryService getWrappedService concode_elem_sep void moveEntry