public class ProfileEntryImpl extends NamedElementImpl implements ProfileEntry
FOLDER_TYPE, LINK_TYPE
Constructor and Description |
---|
ProfileEntryImpl(String name) |
ProfileEntryImpl(String name,
long profileId) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getDescription()
Retrieves the
ProfileEntry description, that can be used to describe the link of the containing folder it represents, according to its type. |
long |
getIndex()
Retrieves the order of the profile entry in its context (at root level or inside its parent profile entry).
|
String |
getPage()
Retrieves the unique name of the page referenced by this
ProfileEntry . |
long |
getParentId()
Retrieves the identifier of the parent
ProfileEntry . |
long |
getProfileId()
Retrieves the identifier of the related
Profile |
String |
getType()
Retrieves the
ProfileEntry type. |
int |
hashCode() |
boolean |
isCustom()
Determines if the referenced page is a custom
Page . |
void |
setCustom(boolean custom) |
void |
setDescription(String description) |
void |
setIndex(long index) |
void |
setPage(String page) |
void |
setParentId(long parentId) |
void |
setProfileId(long profileId) |
void |
setType(String type) |
String |
toString() |
getName, setName
getId, setId
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getName
getId
public ProfileEntryImpl(String name)
public ProfileEntryImpl(String name, long profileId)
public long getParentId()
ProfileEntry
ProfileEntry
.getParentId
in interface ProfileEntry
ProfileEntry
.public void setParentId(long parentId)
public long getProfileId()
ProfileEntry
Profile
getProfileId
in interface ProfileEntry
Profile
public void setProfileId(long profileId)
public long getIndex()
ProfileEntry
getIndex
in interface ProfileEntry
public void setIndex(long index)
public String getDescription()
ProfileEntry
ProfileEntry
description, that can be used to describe the link of the containing folder it represents, according to its type.getDescription
in interface ProfileEntry
ProfileEntry
descriptionpublic void setDescription(String description)
public String getType()
ProfileEntry
ProfileEntry
type. It can be container (folder), or link to a real page.getType
in interface ProfileEntry
ProfileEntry
typepublic void setType(String type)
public String getPage()
ProfileEntry
ProfileEntry
. It can be a portal page or a custom Page
.getPage
in interface ProfileEntry
ProfileEntry
Page.getName()
public void setPage(String page)
public boolean isCustom()
ProfileEntry
Page
.isCustom
in interface ProfileEntry
ProfileEntry
references a custom Page
; false if it references a portal page.Page
public void setCustom(boolean custom)
public int hashCode()
hashCode
in class NamedElementImpl
public boolean equals(Object obj)
equals
in class NamedElementImpl
public String toString()
toString
in class NamedElementImpl
Copyright © 2020 Bonitasoft S.A. All rights reserved.