Liferay 7.0-ce-m3

com.liferay.portlet.trash
Class RestoreEntryException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.liferay.portal.kernel.exception.NestableException
              extended by com.liferay.portal.kernel.exception.PortalException
                  extended by com.liferay.portlet.trash.RestoreEntryException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DuplicateEntryException

public class RestoreEntryException
extends PortalException

See Also:
Serialized Form

Field Summary
static int DUPLICATE
           
static int INVALID_CONTAINER
           
 
Constructor Summary
RestoreEntryException()
           
RestoreEntryException(int type)
           
RestoreEntryException(String msg)
           
RestoreEntryException(String msg, Throwable cause)
           
RestoreEntryException(Throwable cause)
           
 
Method Summary
 long getDuplicateEntryId()
           
 String getOldName()
           
 long getTrashEntryId()
           
 int getType()
           
 void setDuplicateEntryId(long duplicateEntryId)
           
 void setOldName(String oldName)
           
 void setTrashEntryId(long trashEntryId)
           
 void setType(int type)
           
 
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DUPLICATE

public static final int DUPLICATE
See Also:
Constant Field Values

INVALID_CONTAINER

public static final int INVALID_CONTAINER
See Also:
Constant Field Values
Constructor Detail

RestoreEntryException

public RestoreEntryException()

RestoreEntryException

public RestoreEntryException(int type)

RestoreEntryException

public RestoreEntryException(String msg)

RestoreEntryException

public RestoreEntryException(String msg,
                             Throwable cause)

RestoreEntryException

public RestoreEntryException(Throwable cause)
Method Detail

getDuplicateEntryId

public long getDuplicateEntryId()

getOldName

public String getOldName()

getTrashEntryId

public long getTrashEntryId()

getType

public int getType()

setDuplicateEntryId

public void setDuplicateEntryId(long duplicateEntryId)

setOldName

public void setOldName(String oldName)

setTrashEntryId

public void setTrashEntryId(long trashEntryId)

setType

public void setType(int type)

Liferay 7.0-ce-m3