Package sk.iway.iwcm.doc
Class GroupDetails
java.lang.Object
sk.iway.iwcm.doc.GroupDetails
- All Implemented Interfaces:
Cloneable
,DocGroupInterface
- Direct Known Subclasses:
GroupSchedulerDetails
drzi zaznam z tabulky Groups
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
-
Constructor Summary
ConstructorsConstructorDescriptionGroupDetails
(String path) Konstruktor z cesty, napr.GroupDetails
(GroupDetails copyFrom) skopiruje do seba skupinu copyFrom -
Method Summary
Modifier and TypeMethodDescriptionvoid
addToUserGroup
(int userGroupId) Prida adresar do zadanej skupiny pouzivatelov (s overenim, ci tam uz nie je)clone()
static GroupDetails
getById
(int id) Vrati objekt hlavna stranka adresaraint
Gets the defaultDocId attribute of the GroupDetails objectGets the fullPath attribute of the GroupDetails objectint
Gets the groupId attribute of the GroupDetails objectVrati string s ID aj Menom grupy, prvych 15 znakov je ID, potom je menoGets the groupName attribute of the GroupDetails objectGets the groupNameShort attribute of the GroupDetails objectint
getLng()
int
int
int
int
getMenuType
(javax.servlet.http.HttpSession session) Vrati sposob zobrazenia (GroupDetails.MENU_TYPE_XXX) v navigacnom menu (automaticky detekuje, ci je prihlaseny pouzivatel, alebo nie)Gets the navbar attribute of the GroupDetails objectGets the navbarName attribute of the GroupDetails objectVrati navbarName bez APARAM atributu (al je zadane)int
int
Gets the parentGroupId attribute of the GroupDetails objectGets the passwordProtected attribute of the GroupDetails objectint
getShowInNavbar
(javax.servlet.http.HttpSession session) Vrati sposob zobrazenia (GroupDetails.MENU_TYPE_XXX) navigacnej listy (automaticky detekuje, ci je prihlaseny pouzivatel, alebo nie)int
getShowInSitemap
(javax.servlet.http.HttpServletRequest request) Vrati sposob zobrazenia (GroupDetails.MENU_TYPE_XXX) v mape stranok (automaticky detekuje, ci je prihlaseny pouzivatel, alebo nie)int
getShowInSitemap
(javax.servlet.http.HttpSession session) Vrati sposob zobrazenia (GroupDetails.MENU_TYPE_XXX) v mape stranok (automaticky detekuje, ci je prihlaseny pouzivatel, alebo nie)int
Gets the sortPriority attribute of the GroupDetails objectint
int
int
Gets the tempId attribute of the GroupDetails objectVrati virtualnu cestu defaultnej stranky adresaraboolean
isAvailableForUser
(Identity user) boolean
isAvailableForUserGroup
(int userGroupId) boolean
boolean
boolean
Gets the internal attribute of the GroupDetails objectvoid
setDefaultDocId
(int newDefaultDocId) Sets the defaultDocId attribute of the GroupDetails objectvoid
setDefaultDocIdNoNavbar
(int defaultDocId) Toto potrebujem na skonstruovanie DocDB (aby sa mi nevolala rekurzivne getInstance())void
setDomainName
(String domainName) void
setEditorFields
(GroupEditorField editorFields) void
void
void
void
void
setForceTheUseOfGroupTemplate
(boolean forceTheUseOfGroupTemplate) void
setFullPath
(String fullPath) Cela cesta ku grupe, napr.void
setGroupId
(int newGroupId) Sets the groupId attribute of the GroupDetails objectvoid
setGroupId
(Long id) Nastavenie ID podla long hodnoty, potrebne pre DT/duplikovanievoid
setGroupName
(String newGroupName) Sets the groupName attribute of the GroupDetails objectvoid
setHiddenInAdmin
(boolean hiddenInAdmin) void
setHtmlHead
(String htmlHead) void
setInstallName
(String installName) void
setInternal
(boolean newInternal) Sets the internal attribute of the GroupDetails objectvoid
setLinkGroupId
(int linkGroupId) void
void
setLoggedMenuType
(int loggedMenuType) void
setLoggedShowInNavbar
(Integer loggedShowInNavbar) void
setLoggedShowInSitemap
(Integer loggedShowInSitemap) void
setLogonPageDocId
(int logonPageDocId) void
setMenuType
(int menuType) void
Sets the navbar attribute of the GroupDetails objectvoid
setNavbarName
(String navbarName) void
setNewPageDocIdTemplate
(int newPageDocIdTemplate) void
setParentGroupId
(int newParentGroupId) Sets the parentGroupId attribute of the GroupDetails objectvoid
setPasswordProtected
(String passwordProtected) Sets the passwordProtected attribute of the GroupDetails objectvoid
setShowInNavbar
(Integer showInNavbar) void
setShowInSitemap
(Integer showInSitemap) void
setSortPriority
(int sortPriority) Sets the sortPriority attribute of the GroupDetails objectvoid
setSyncId
(int syncId) void
setSyncStatus
(int syncStatus) void
setTempId
(int newTempId) Sets the tempId attribute of the GroupDetails objectvoid
setUrlDirName
(String urlDirName) toString()
-
Field Details
-
MENU_TYPE_HIDDEN
public static final int MENU_TYPE_HIDDEN- See Also:
-
MENU_TYPE_NORMAL
public static final int MENU_TYPE_NORMAL- See Also:
-
MENU_TYPE_ONLYDEFAULT
public static final int MENU_TYPE_ONLYDEFAULT- See Also:
-
MENU_TYPE_NOSUB
public static final int MENU_TYPE_NOSUB- See Also:
-
-
Constructor Details
-
GroupDetails
public GroupDetails() -
GroupDetails
Konstruktor z cesty, napr. /Jet portal 4/Úvodná stránka Pouziva sa pri importe a inych operaciach kde dostaneme cestu k adresaru- Parameters:
path
-
-
GroupDetails
skopiruje do seba skupinu copyFrom- Parameters:
copyFrom
-
-
-
Method Details
-
isAvailableForUser
-
isAvailableForUserGroup
public boolean isAvailableForUserGroup(int userGroupId) -
getGroupId
public int getGroupId()Gets the groupId attribute of the GroupDetails object- Returns:
- The groupId value
-
setGroupId
public void setGroupId(int newGroupId) Sets the groupId attribute of the GroupDetails object- Parameters:
newGroupId
- The new groupId value
-
setGroupId
Nastavenie ID podla long hodnoty, potrebne pre DT/duplikovanie- Parameters:
id
-
-
setGroupName
Sets the groupName attribute of the GroupDetails object- Parameters:
newGroupName
- The new groupName value
-
getGroupName
Gets the groupName attribute of the GroupDetails object- Returns:
- The groupName value
-
getGroupNameShort
Gets the groupNameShort attribute of the GroupDetails object- Returns:
- The groupNameShort value
-
getGroupNameShortNoJS
-
getGroupNameJS
-
getGroupIdName
Vrati string s ID aj Menom grupy, prvych 15 znakov je ID, potom je meno- Returns:
- The groupIdName value
-
setInternal
public void setInternal(boolean newInternal) Sets the internal attribute of the GroupDetails object- Parameters:
newInternal
- The new internal value
-
isInternal
public boolean isInternal()Gets the internal attribute of the GroupDetails object- Returns:
- The internal value
-
setParentGroupId
public void setParentGroupId(int newParentGroupId) Sets the parentGroupId attribute of the GroupDetails object- Parameters:
newParentGroupId
- The new parentGroupId value
-
getParentGroupId
public int getParentGroupId()Gets the parentGroupId attribute of the GroupDetails object- Returns:
- The parentGroupId value
-
setDefaultDocId
public void setDefaultDocId(int newDefaultDocId) Sets the defaultDocId attribute of the GroupDetails object- Parameters:
newDefaultDocId
- The new defaultDocId value
-
getDefaultDocId
public int getDefaultDocId()Gets the defaultDocId attribute of the GroupDetails object- Returns:
- The defaultDocId value
-
getDefaultDoc
Vrati objekt hlavna stranka adresara- Returns:
-
getVirtualPath
Vrati virtualnu cestu defaultnej stranky adresara- Returns:
-
setTempId
public void setTempId(int newTempId) Sets the tempId attribute of the GroupDetails object- Parameters:
newTempId
- The new tempId value
-
getTempId
public int getTempId()Gets the tempId attribute of the GroupDetails object- Returns:
- The tempId value
-
setFullPath
Cela cesta ku grupe, napr. /iwcm/produkty/hlasove- Parameters:
fullPath
- The new fullPath value
-
getFullPath
Gets the fullPath attribute of the GroupDetails object- Returns:
- The fullPath value
-
getParentFullPath
-
setSortPriority
public void setSortPriority(int sortPriority) Sets the sortPriority attribute of the GroupDetails object- Parameters:
sortPriority
- The new sortPriority value
-
getSortPriority
public int getSortPriority()Gets the sortPriority attribute of the GroupDetails object- Returns:
- The sortPriority value
-
setPasswordProtected
Sets the passwordProtected attribute of the GroupDetails object- Parameters:
passwordProtected
- The new passwordProtected value
-
addToUserGroup
public void addToUserGroup(int userGroupId) Prida adresar do zadanej skupiny pouzivatelov (s overenim, ci tam uz nie je)- Parameters:
userGroupId
-
-
getPasswordProtected
Gets the passwordProtected attribute of the GroupDetails object- Returns:
- The passwordProtected value
-
getUrlDirName
-
setUrlDirName
-
getSyncId
public int getSyncId()- Returns:
- Returns the syncId.
-
setSyncId
public void setSyncId(int syncId) - Parameters:
syncId
- The syncId to set.
-
getSyncStatus
public int getSyncStatus()- Returns:
- Returns the syncStatus.
-
setSyncStatus
public void setSyncStatus(int syncStatus) - Parameters:
syncStatus
- The syncStatus to set.
-
getHtmlHead
- Returns:
- Returns the htmlHead.
-
setHtmlHead
- Parameters:
htmlHead
- The htmlHead to set.
-
getLogonPageDocId
public int getLogonPageDocId()- Returns:
- Returns the logonPageDocId.
-
setLogonPageDocId
public void setLogonPageDocId(int logonPageDocId) - Parameters:
logonPageDocId
- The logonPageDocId to set.
-
getDomainName
-
setDomainName
-
getFieldA
-
setFieldA
-
getFieldB
-
setFieldB
-
getFieldC
-
setFieldC
-
getFieldD
-
setFieldD
-
getInstallName
-
setInstallName
-
getNewPageDocIdTemplate
public int getNewPageDocIdTemplate() -
setNewPageDocIdTemplate
public void setNewPageDocIdTemplate(int newPageDocIdTemplate) -
getLinkGroupId
public int getLinkGroupId() -
setLinkGroupId
public void setLinkGroupId(int linkGroupId) -
getLng
-
setLng
-
isHiddenInAdmin
public boolean isHiddenInAdmin() -
setHiddenInAdmin
public void setHiddenInAdmin(boolean hiddenInAdmin) -
getDocuments
-
getById
-
clone
- Overrides:
clone
in classObject
- Throws:
CloneNotSupportedException
-
toString
-
isForceTheUseOfGroupTemplate
public boolean isForceTheUseOfGroupTemplate() -
setForceTheUseOfGroupTemplate
public void setForceTheUseOfGroupTemplate(boolean forceTheUseOfGroupTemplate) -
getEditorFields
-
setEditorFields
-
getMenuType
public int getMenuType() -
setMenuType
public void setMenuType(int menuType) -
getShowInSitemap
-
setShowInSitemap
-
getLoggedMenuType
public int getLoggedMenuType() -
setLoggedMenuType
public void setLoggedMenuType(int loggedMenuType) -
getLoggedShowInSitemap
-
setLoggedShowInSitemap
-
getMenuType
public int getMenuType(javax.servlet.http.HttpSession session) Vrati sposob zobrazenia (GroupDetails.MENU_TYPE_XXX) v navigacnom menu (automaticky detekuje, ci je prihlaseny pouzivatel, alebo nie)- Parameters:
session
-- Returns:
-
getShowInSitemap
public int getShowInSitemap(javax.servlet.http.HttpServletRequest request) Vrati sposob zobrazenia (GroupDetails.MENU_TYPE_XXX) v mape stranok (automaticky detekuje, ci je prihlaseny pouzivatel, alebo nie)- Parameters:
request
-- Returns:
-
getShowInSitemap
public int getShowInSitemap(javax.servlet.http.HttpSession session) Vrati sposob zobrazenia (GroupDetails.MENU_TYPE_XXX) v mape stranok (automaticky detekuje, ci je prihlaseny pouzivatel, alebo nie)- Parameters:
session
-- Returns:
-