Class CategoryDetail
- java.lang.Object
-
- org.silverpeas.core.mylinks.model.CategoryDetail
-
- All Implemented Interfaces:
Serializable
,Securable
public class CategoryDetail extends Object implements Serializable, Securable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CategoryDetail()
CategoryDetail(CategoryDetail other)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canBeAccessedBy(User user)
Checks the given user can access this resource.boolean
equals(Object o)
String
getDescription()
int
getId()
String
getName()
int
getPosition()
String
getUserId()
int
hashCode()
boolean
hasPosition()
void
setDescription(String description)
void
setHasPosition(boolean hasPosition)
void
setId(int id)
void
setName(String name)
void
setPosition(int position)
void
setUserId(String userId)
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.silverpeas.core.security.Securable
canBeDeletedBy, canBeFiledInBy, canBeModifiedBy
-
-
-
-
Constructor Detail
-
CategoryDetail
public CategoryDetail()
-
CategoryDetail
public CategoryDetail(CategoryDetail other)
-
-
Method Detail
-
getUserId
public String getUserId()
-
setUserId
public void setUserId(String userId)
-
getId
public int getId()
-
setId
public void setId(int id)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getPosition
public int getPosition()
-
setPosition
public void setPosition(int position)
-
hasPosition
public boolean hasPosition()
-
setHasPosition
public void setHasPosition(boolean hasPosition)
-
canBeAccessedBy
public boolean canBeAccessedBy(User user)
Description copied from interface:Securable
Checks the given user can access this resource.- Specified by:
canBeAccessedBy
in interfaceSecurable
- Parameters:
user
- a user in Silverpeas.- Returns:
- true if the user can access the data managed by this instance, false otherwise.
-
-