Package com.liferay.trash.exception
Class RestoreEntryException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.liferay.portal.kernel.exception.NestableException
com.liferay.portal.kernel.exception.PortalException
com.liferay.trash.exception.RestoreEntryException
- All Implemented Interfaces:
Serializable
public class RestoreEntryException
extends com.liferay.portal.kernel.exception.PortalException
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final int -
Constructor Summary
ConstructorsConstructorDescriptionRestoreEntryException(int type) RestoreEntryException(int type, Throwable throwable) RestoreEntryException(String msg, Throwable throwable) RestoreEntryException(Throwable throwable) -
Method Summary
Modifier and TypeMethodDescriptionlonglongintgetType()booleanvoidsetDuplicateEntryId(long duplicateEntryId) voidsetErrorMessage(String errorMessage) voidsetOldName(String oldName) voidsetOverridable(boolean overridable) voidsetTrashEntryId(long trashEntryId) voidsetType(int type) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
DUPLICATE
public static final int DUPLICATE- See Also:
-
INVALID_CONTAINER
public static final int INVALID_CONTAINER- See Also:
-
INVALID_NAME
public static final int INVALID_NAME- See Also:
-
INVALID_STATUS
public static final int INVALID_STATUS- See Also:
-
NOT_RESTORABLE
public static final int NOT_RESTORABLE- See Also:
-
-
Constructor Details
-
RestoreEntryException
public RestoreEntryException() -
RestoreEntryException
public RestoreEntryException(int type) -
RestoreEntryException
-
RestoreEntryException
-
RestoreEntryException
-
RestoreEntryException
-
-
Method Details
-
getDuplicateEntryId
public long getDuplicateEntryId() -
getErrorMessage
-
getOldName
-
getTrashEntryId
public long getTrashEntryId() -
getType
public int getType() -
isOverridable
public boolean isOverridable() -
setDuplicateEntryId
public void setDuplicateEntryId(long duplicateEntryId) -
setErrorMessage
-
setOldName
-
setOverridable
public void setOverridable(boolean overridable) -
setTrashEntryId
public void setTrashEntryId(long trashEntryId) -
setType
public void setType(int type)
-