Package de.xima.fc.gui.model.portal
Class UserPortalPersistResult
- java.lang.Object
-
- de.xima.fc.gui.model.portal.UserPortalPersistResult
-
public final class UserPortalPersistResult extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UserPortalPersistResult.EUserPortalPersistType
-
Constructor Summary
Constructors Constructor Description UserPortalPersistResult(UserPortal portal, UserPortalPersistResult.EUserPortalPersistType action)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserPortalPersistResult.EUserPortalPersistType
persistType()
Whether the user portal was newly created or an existing entity was updated.UserPortal
portal()
The user portal entity that was created or updated.boolean
wasCreated()
Whether the user portal was newly created.boolean
wasUpdated()
Whether the user portal was updated.
-
-
-
Constructor Detail
-
UserPortalPersistResult
public UserPortalPersistResult(UserPortal portal, UserPortalPersistResult.EUserPortalPersistType action)
-
-
Method Detail
-
persistType
public UserPortalPersistResult.EUserPortalPersistType persistType()
Whether the user portal was newly created or an existing entity was updated.- Returns:
- Whether the user portal was created or updated.
-
portal
public UserPortal portal()
The user portal entity that was created or updated.- Returns:
- The user portal entity.
-
wasCreated
public boolean wasCreated()
Whether the user portal was newly created.- Returns:
- Whether the user portal was created.
-
wasUpdated
public boolean wasUpdated()
Whether the user portal was updated.- Returns:
- Whether the user portal was updated.
-
-