public class Folder
extends java.lang.Object
keepBusinessObject().
Keeping references to objects may cause inconsistencies in the system, so
always remember to call releaseBusinessObject() as soon as you
are finished using them. | Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription()
Gets the description of the folder.
|
long |
getFolderId()
Gets the id of the folder.
|
java.lang.String |
getName()
Gets the name of the folder
|
long |
getParentFolderId()
Gets the id of the parent folder.
|
int |
getSubFolderCount()
Gets number of sub-folders in this folder.
|
ListItem[] |
getSubFolders()
Gets children, all folders in this group
|
int |
getSurveyCount()
Gets number of surveys in this folder.
|
ListItem[] |
getSurveys()
Gets all surveys in this group
|
User |
getUser()
Gets the user object
|
boolean |
hasBusinessObject()
Check if this question has reference to the business Survey object.
|
void |
keepBusinessObject()
Get and keep business object.
|
void |
releaseBusinessObject()
Release business object.
|
public java.lang.String getDescription()
throws SurveySystemException
SurveySystemException - If an error occurs in the systempublic long getFolderId()
public java.lang.String getName()
throws SurveySystemException
SurveySystemException - If an error occurs in the systempublic long getParentFolderId()
throws SurveySystemException
SurveySystemException - If an error occurs in the systempublic int getSubFolderCount()
throws SurveySystemException
SurveySystemException - If an error occurs in the systempublic ListItem[] getSubFolders() throws SurveySystemException
SurveySystemException - If an error occurs in the systempublic int getSurveyCount()
throws SurveySystemException
SurveySystemException - If an error occurs in the systempublic ListItem[] getSurveys() throws SurveySystemException
SurveySystemException - If an error occurs in the systempublic boolean hasBusinessObject()
public void keepBusinessObject()
throws SurveySystemException
SurveySystemException - If an error occurs in the system.public void releaseBusinessObject()
public User getUser()
Built on July 29 2025