001
014
015 package com.liferay.portlet.trash;
016
017 import com.liferay.portal.kernel.exception.PortalException;
018
019
022 public class DuplicateEntryException extends PortalException {
023
024 public DuplicateEntryException() {
025 super();
026 }
027
028 public DuplicateEntryException(String msg) {
029 super(msg);
030 }
031
032 public DuplicateEntryException(String msg, Throwable cause) {
033 super(msg, cause);
034 }
035
036 public DuplicateEntryException(Throwable cause) {
037 super(cause);
038 }
039
040 public long getDuplicateEntryId() {
041 return _duplicateEntryId;
042 }
043
044 public String getOldName() {
045 return _oldName;
046 }
047
048 public long getTrashEntryId() {
049 return _trashEntryId;
050 }
051
052 public void setDuplicateEntryId(long duplicateEntryId) {
053 _duplicateEntryId = duplicateEntryId;
054 }
055
056 public void setOldName(String oldName) {
057 _oldName = oldName;
058 }
059
060 public void setTrashEntryId(long trashEntryId) {
061 _trashEntryId = trashEntryId;
062 }
063
064 private long _duplicateEntryId;
065 private String _oldName;
066 private long _trashEntryId;
067
068 }