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 intstatic final intstatic final intstatic final int -
Constructor Summary
ConstructorsConstructorDescriptionGroupDetails(String path) Konstruktor z cesty, napr.GroupDetails(GroupDetails copyFrom) skopiruje do seba skupinu copyFrom -
Method Summary
Modifier and TypeMethodDescriptionvoidaddToUserGroup(int userGroupId) Prida adresar do zadanej skupiny pouzivatelov (s overenim, ci tam uz nie je)clone()static GroupDetailsgetById(int id) Vrati objekt hlavna stranka adresaraintGets the defaultDocId attribute of the GroupDetails objectGets the fullPath attribute of the GroupDetails objectintGets 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 objectintgetLng()intintintintgetMenuType(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)intintGets the parentGroupId attribute of the GroupDetails objectGets the passwordProtected attribute of the GroupDetails objectintgetShowInNavbar(javax.servlet.http.HttpSession session) Vrati sposob zobrazenia (GroupDetails.MENU_TYPE_XXX) navigacnej listy (automaticky detekuje, ci je prihlaseny pouzivatel, alebo nie)intgetShowInSitemap(javax.servlet.http.HttpServletRequest request) Vrati sposob zobrazenia (GroupDetails.MENU_TYPE_XXX) v mape stranok (automaticky detekuje, ci je prihlaseny pouzivatel, alebo nie)intgetShowInSitemap(javax.servlet.http.HttpSession session) Vrati sposob zobrazenia (GroupDetails.MENU_TYPE_XXX) v mape stranok (automaticky detekuje, ci je prihlaseny pouzivatel, alebo nie)intGets the sortPriority attribute of the GroupDetails objectintintintGets the tempId attribute of the GroupDetails objectVrati virtualnu cestu defaultnej stranky adresarabooleanisAvailableForUser(Identity user) booleanisAvailableForUserGroup(int userGroupId) booleanbooleanbooleanGets the internal attribute of the GroupDetails objectvoidsetDefaultDocId(int newDefaultDocId) Sets the defaultDocId attribute of the GroupDetails objectvoidsetDefaultDocIdNoNavbar(int defaultDocId) Toto potrebujem na skonstruovanie DocDB (aby sa mi nevolala rekurzivne getInstance())voidsetDomainName(String domainName) voidsetEditorFields(GroupEditorField editorFields) voidvoidvoidvoidvoidsetForceTheUseOfGroupTemplate(boolean forceTheUseOfGroupTemplate) voidsetFullPath(String fullPath) Cela cesta ku grupe, napr.voidsetGroupId(int newGroupId) Sets the groupId attribute of the GroupDetails objectvoidsetGroupId(Long id) Nastavenie ID podla long hodnoty, potrebne pre DT/duplikovanievoidsetGroupName(String newGroupName) Sets the groupName attribute of the GroupDetails objectvoidsetHiddenInAdmin(boolean hiddenInAdmin) voidsetHtmlHead(String htmlHead) voidsetInstallName(String installName) voidsetInternal(boolean newInternal) Sets the internal attribute of the GroupDetails objectvoidsetLinkGroupId(int linkGroupId) voidvoidsetLoggedMenuType(int loggedMenuType) voidsetLoggedShowInNavbar(Integer loggedShowInNavbar) voidsetLoggedShowInSitemap(Integer loggedShowInSitemap) voidsetLogonPageDocId(int logonPageDocId) voidsetMenuType(int menuType) voidSets the navbar attribute of the GroupDetails objectvoidsetNavbarName(String navbarName) voidsetNewPageDocIdTemplate(int newPageDocIdTemplate) voidsetParentGroupId(int newParentGroupId) Sets the parentGroupId attribute of the GroupDetails objectvoidsetPasswordProtected(String passwordProtected) Sets the passwordProtected attribute of the GroupDetails objectvoidsetShowInNavbar(Integer showInNavbar) voidsetShowInSitemap(Integer showInSitemap) voidsetSortPriority(int sortPriority) Sets the sortPriority attribute of the GroupDetails objectvoidsetSyncId(int syncId) voidsetSyncStatus(int syncStatus) voidsetTempId(int newTempId) Sets the tempId attribute of the GroupDetails objectvoidsetUrlDirName(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:
clonein 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:
-