Package com.tridion.user
Interface User
public interface User
A
User represents someone who accesses to the Presentation layer.-
Method Summary
Modifier and TypeMethodDescriptionintgetId()Returns the id for this instance.getLogin()Returns the login for this instance.intReturns the presentationId for this instance.booleanisValid()Returns whether this user is valid or not.voidsetId(int id) Sets the id property of this instance.voidSets the login property of this instance.voidsetPresentationId(int presentationId) Sets the presentationId property of this instance.
-
Method Details
-
setLogin
Sets the login property of this instance.- Parameters:
login- The new login value.
-
getLogin
String getLogin()Returns the login for this instance.- Returns:
- The login of this instance.
-
setPresentationId
void setPresentationId(int presentationId) Sets the presentationId property of this instance.- Parameters:
presentationId- The new presentationId value.
-
getPresentationId
int getPresentationId()Returns the presentationId for this instance.- Returns:
- The presentationId of this instance.
-
setId
void setId(int id) Sets the id property of this instance.- Parameters:
id- The new id value.
-
getId
int getId()Returns the id for this instance.- Returns:
- The id of this instance.
-
isValid
boolean isValid()Returns whether this user is valid or not.- Returns:
trueif the user is valid,falseotherwise.
-