Changeset 4034
- Timestamp:
- Dec 5, 2007, 8:21:26 AM (16 years ago)
- Location:
- trunk/src
- Files:
-
- 44 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/clients/web/net/sf/basedb/clients/web/fileupload/FileUpload.java
r4020 r4034 433 433 by one thread and the progress display in another. This method is also called 434 434 if an exception occures internally in this object. 435 @param t The throwable object to set. 435 436 */ 436 437 public void setException(Throwable t) -
trunk/src/clients/web/net/sf/basedb/clients/web/taglib/table/TableColumn.java
r3679 r4034 165 165 166 166 /** 167 @return This table column's 168 {@link net.sf.basedb.core.Formula.AverageMethod} enum. 167 169 @since 2.4 168 170 */ … … 173 175 174 176 /** 175 @since 2.0.2 177 @return This column's {@link net.sf.basedb.util.formatter.Formatter} object 178 @since 2.0.2 176 179 */ 177 180 public Formatter<?> getFormatter() … … 181 184 182 185 /** 183 @since 2.0.2 186 @param formatter Formatter to be set. 187 @since 2.0.2 184 188 */ 185 189 public void setFormatter(Formatter<?> formatter) -
trunk/src/clients/web/net/sf/basedb/clients/web/util/HTML.java
r3679 r4034 350 350 Escape a string to make it safe for use in a JavaScript statement. 351 351 Replaces \ with \\, newline with \n, ' with \' and " with \". 352 @param in String to escape. 353 @return a String object, ready to be used in javaScripts. 352 354 */ 353 355 public static String javaScriptEncode(String in) -
trunk/src/core/net/sf/basedb/core/DisallowedValueException.java
r4026 r4034 1 1 2 /** 2 3 $Id$ -
trunk/src/core/net/sf/basedb/core/Feature.java
r3679 r4034 49 49 @param dc The <code>DbControl</code> which will be used for 50 50 permission checking and database access. 51 @param feature Feature to get array design block from. 51 52 @return An {@link ArrayDesignBlock} object. 52 53 @throws PermissionDeniedException If the logged in user doesn't … … 67 68 @param dc The <code>DbControl</code> which will be used for 68 69 permission checking and database access. 70 @param feature The feature to get well from. 69 71 @return A {@link Well} object or null if no well is connected 70 72 @throws PermissionDeniedException If the logged in user doesn't -
trunk/src/core/net/sf/basedb/core/FeatureBatcher.java
r3820 r4034 212 212 /** 213 213 Get the array design this batcher is used for. 214 @return An {@link net.sf.basedb.core.ArrayDesign} 214 215 */ 215 216 public ArrayDesign getArrayDesign() … … 220 221 /** 221 222 Create a new feature. 223 @param adb The array design of the feature. 224 @param well The well of the feature. Null is not allowed. The plate of the well must 225 have a position on the ArrayDesign of the current FeatureBatcher. 222 226 @return A feature data object 223 227 @throws BaseException If there is an error … … 236 240 /** 237 241 Create a new feature. 242 @param adb 243 @param reporter 238 244 @return A feature data object 239 245 @throws BaseException If there is an error -
trunk/src/core/net/sf/basedb/core/FeatureCoordinate.java
r3679 r4034 54 54 /** 55 55 Create new object with the specified row and column. 56 @param block Block number the feature belongs to. 57 @param metaRow Meta row number 58 @param metaColumn Meta column number 59 @param row Row number of the feature 60 @param column Column number of the feature. 56 61 */ 57 62 public FeatureCoordinate(Integer block, Integer metaRow, Integer metaColumn, Integer row, Integer column) -
trunk/src/core/net/sf/basedb/core/FileParameterType.java
r3679 r4034 48 48 /** 49 49 Create a new file parameter type. 50 @param defaultValue Default value of the parameter. Null is allowed 50 51 @param notNull FALSE if nulls values are allowed, TRUE otherwise 52 @param multiplicity How many values that can be tied to this 53 parameter. 0 is unlimited values and 1 is default. 51 54 */ 52 55 public FileParameterType(File defaultValue, boolean notNull, int multiplicity) -
trunk/src/core/net/sf/basedb/core/FileStoreUtil.java
r3820 r4034 49 49 {@link FileStoreEnabled} item's file set. Optionally, check if the 50 50 file has been validated as a valid file. 51 51 52 @param dc DbControl to use when accessing the database. 52 53 @param item The {@link FileStoreEnabled} item to check 53 54 @param dataFileType The external ID of the {@link DataFileType} to check for … … 88 89 Get the file of the given data file type in the 89 90 {@link FileStoreEnabled} item's file set. 90 91 92 @param dc DbControl used to access the database. 91 93 @param item The {@link FileStoreEnabled} item to check 92 94 @param dataFileType The external ID of the {@link DataFileType} to check for -
trunk/src/core/net/sf/basedb/core/FloatParameterType.java
r3679 r4034 65 65 @param lowerLimit The lowest allowed value, or null to have no limit 66 66 @param upperLimit The highest allowed value, or null to have no limit 67 @param defaultValue A value to use by default with the parameter. 67 68 @param notNull FALSE if nulls values are allowed, TRUE otherwise 68 69 */ -
trunk/src/core/net/sf/basedb/core/HibernateUtil.java
r3905 r4034 1623 1623 /** 1624 1624 Check if theta joins or ANSI joins are used by the database. 1625 @param queryType Query type to be checked. 1626 @return TRUE if theta joins are used, FALSE if ANSI joins are used. 1625 1627 */ 1626 1628 public static boolean useThetaJoin(QueryType queryType) -
trunk/src/core/net/sf/basedb/core/Install.java
r3979 r4034 157 157 required for BASE to work properly. Items that already exists 158 158 will not be modified. 159 159 160 @param update TRUE if the run is an update, FALSE otherwise. 160 161 @param progress An object implementing the {@link ProgressReporter} 161 162 interface 163 @param rootLogin The root user's login name. 164 @param rootPassword The root user's password. 162 165 @throws BaseException This exception is thrown if there is an error 163 166 */ -
trunk/src/core/net/sf/basedb/core/IntegerUtil.java
r3679 r4034 51 51 couldn't be parsed default value is returned. 52 52 @param value The <code>Integer</code> 53 @param defaultValue Default value to return if the parsing fails. 53 54 @return The value of the <code>Integer</code> or defaultValue if it is not parseable 54 55 */ -
trunk/src/core/net/sf/basedb/core/InvalidAnnotationException.java
r3679 r4034 54 54 Create a new <code>InvalidAnnotationException</code> object when 55 55 the annotation type cannot be used for the specified item type. 56 @param annotationType The annotation type used to annotate. 57 @param itemType Kind of item that couldn't be annotated. 56 58 */ 57 59 public InvalidAnnotationException(AnnotationType annotationType, Item itemType) -
trunk/src/core/net/sf/basedb/core/InvalidDataException.java
r3679 r4034 44 44 /** 45 45 Create a new <code>InvalidDataException</code> object. 46 @param cause Throwable object that caused this exception. 46 47 */ 47 48 public InvalidDataException(Throwable cause) … … 66 67 67 68 @param message The message to throw with the exception 69 @param cause Throwable object that caused this exception. 68 70 */ 69 71 public InvalidDataException(String message, Throwable cause) -
trunk/src/core/net/sf/basedb/core/InvalidRelationException.java
r3820 r4034 47 47 /** 48 48 Create a new <code>InvalidRelationException</code> object. 49 @param cause Throwable object that caused this exception to be thrown. 49 50 */ 50 51 public InvalidRelationException(Throwable cause) … … 69 70 70 71 @param message The message to throw with the exception 72 @param cause Throwable object that caused this exception to be thrown. 71 73 */ 72 74 public InvalidRelationException(String message, Throwable cause) -
trunk/src/core/net/sf/basedb/core/Item.java
r3820 r4034 733 733 /** 734 734 Get the <code>Item</code> object when you know the integer code. 735 @param value Integer code 736 @return an Item enumeration. 735 737 */ 736 738 public static Item fromValue(int value) … … 743 745 /** 744 746 Get the <code>Item</code> object when you know the item class. 747 @param itemClass Item class for which <code>Item</code> object should be returned 748 @return an Item enumeration. 745 749 */ 746 750 public static Item fromItemClass(Class<? extends BasicItem> itemClass) … … 753 757 /** 754 758 Get the <code>Item</code> object when you know the data class. 759 @param dataClass Data class for which the Item should be returned. 760 @return an Item enumeration. 755 761 */ 756 762 public static Item fromDataClass(Class<? extends BasicData> dataClass) … … 764 770 Get the <code>Item</code> object when you know either the item or 765 771 data class. 772 @param anyClass The class to get corresponding <code>Item</code> for. 766 773 @return The Item object, or null if no matching item is found 767 774 */ … … 784 791 Get the <code>Item</code> object when you have a data layer object. 785 792 This method takes Hibernate proxies into account. 793 @param data The data layer object for which corresponding 794 <code>Item</code> should be returned. 795 @return The Item object, or null if no matching item is found. 786 796 */ 787 797 @SuppressWarnings({"unchecked"}) -
trunk/src/core/net/sf/basedb/core/ItemContext.java
r4020 r4034 1304 1304 Same as {@link #getDynamicExpression(DbControl, String)} but generates 1305 1305 a select object instead. 1306 @param dc DbControl used to access the database 1307 @param propertyDef The string to use for creating the expression. 1308 @return An Expression object. 1306 1309 */ 1307 1310 public static Select getDynamicSelect(DbControl dc, String propertyDef) -
trunk/src/core/net/sf/basedb/core/ItemParameterType.java
r3679 r4034 45 45 Create a new item parameter type, allowing null values. 46 46 @param clazz The class object of the type of items that are accepted 47 @param items List of items to choose from. 47 48 */ 48 49 public ItemParameterType(Class<T> clazz, List<T> items) -
trunk/src/core/net/sf/basedb/core/Job.java
r4020 r4034 91 91 @param dc The <code>DbControl</code> which will be used for 92 92 permission checking and database access. 93 @param plugin The plugin this job should use. 93 94 @param config The plugin configuration this job should use 94 95 or null if the job is executed by an external program … … 432 433 /** 433 434 Set if a message should be sent to owner when the job finishes. 435 @param sendMessage TRUE if a message should be sent, FALSE otherwise. 434 436 @throws PermissionDeniedException If the logged in user doesn't have 435 437 write permission … … 443 445 444 446 /** 445 If the job should be deleted after it's done successfully 447 If the job should flagged for deletion after it's done successfully. 448 @return TRUE if job is flagged to be removed, FALSE otherwise 446 449 */ 447 450 public boolean getRemoveJobWhenFinished() … … 452 455 /** 453 456 Set if the job should be deleted after it has finished successfully. 457 @param removeJobWhenFinished TRUE if the job should be 458 flagged for deletion when finished, FALSE otherwise. 454 459 @throws PermissionDeniedException If the logged in user doesn't have 455 460 write permission … … 526 531 Set the priority of the job. The priority is a value between 1 and 10, 527 532 with 1 as the highest priority. 533 @param priority The priority to set. 528 534 @throws PermissionDeniedException If the logged in user doesn't have 529 535 write permission or the job's status isn't <code>WAITING</code> … … 789 795 is done. See {@link net.sf.basedb.core.PluginRequest} for more information. This method changes 790 796 the status of the job to {@link Status#WAITING}. 791 797 798 @param context GUI context from where the configuration is called. 792 799 @return A <code>PluginRequest</code> object 793 800 @throws PermissionDeniedException If the logged in user doesn't have -
trunk/src/core/net/sf/basedb/core/JobAgent.java
r3675 r4034 188 188 /** 189 189 Set the external id for the job agent. 190 @param externalId External id to be set. 190 191 @throws PermissionDeniedException If the logged in user doesn't have 191 192 write permission … … 331 332 @param plugin The plugin to the settings for, or null if none exists 332 333 and the <code>create</code> parameter is false 334 @param create TRUE if new settings should be created if no one was found, FALSE otherwise. 333 335 @return A <code>JobAgentSettings</code> object for the specified plugin 334 336 */ -
trunk/src/core/net/sf/basedb/core/LabeledExtract.java
r3679 r4034 235 235 of this labeled extract. 236 236 @param extract The new <code>Extract</code> item 237 @param usedQuantity Used quantity of the extract. 237 238 @throws PermissionDeniedException If the logged in user doesn't have 238 239 write permission for this labeled extract or use permission for the extract -
trunk/src/core/net/sf/basedb/core/LongParameterType.java
r3679 r4034 65 65 @param lowerLimit The lowest allowed value, or null to have no limit 66 66 @param upperLimit The highest allowed value, or null to have no limit 67 @param defaultValue Default value for the parameter. 67 68 @param notNull FALSE if nulls values are allowed, TRUE otherwise 68 69 */ -
trunk/src/core/net/sf/basedb/core/MeasuredBioMaterial.java
r4020 r4034 244 244 /** 245 245 Check if this biomaterial was created by pooling or not. 246 @return TRUE if pooled, FALSE otherwise. 246 247 */ 247 248 public boolean isPooled() … … 253 254 Specify if this biomaterial was created by pooling or not. Changing this property 254 255 also clears the parent biomaterial and the sources collection for the creation event. 256 @param pooled set to TRUE if pooled, FALSE otherwise. 255 257 @throws PermissionDeniedException If the logged in user doesn't have 256 258 write permission … … 273 275 /** 274 276 Create a new event for this biomaterial. 277 @return a {@link net.sf.basedb.core.BioMaterialEvent} object. 275 278 @throws PermissionDeniedException If the logged in user doesn't have 276 279 use permission for this biomaterial -
trunk/src/core/net/sf/basedb/core/RequestInformation.java
r3679 r4034 79 79 Get the title of the request. A client application can use this text as 80 80 a page header. 81 @return A String object or null if not specified. 81 82 */ 82 83 public String getTitle() … … 88 89 Get a description of the request. A client application can use this information 89 90 as a help text describing the current configuration page. 91 @return A String object or null if not specified. 90 92 */ 91 93 public String getDescription() … … 97 99 Get a list containing the information about the parameters 98 100 needed for the current request. 101 @return A {@link java.util.List} with {@link net.sf.basedb.core.PluginParameter}:s 99 102 */ 100 103 public List<PluginParameter<?>> getParameters() … … 105 108 /** 106 109 Get the plugin parameter with the specified name. 110 @param name Name of the plugin parameter. 107 111 @return The PluginParameter objec or null if no parameter with that name 108 112 exists -
trunk/src/core/net/sf/basedb/core/SessionControl.java
r3998 r4034 197 197 Get the time this object last was accessed. Used by the cleanup timer 198 198 in {@link Application#cleanSessionControlCache(boolean)} 199 @return A long object. 199 200 @since 2.4.5 200 201 */ … … 250 251 Get the id of the <code>Client</code> application in use. Use 251 252 {@link Client#getById(DbControl, int)} to get the {@link Client} object. 253 @return Client id as an int. 252 254 */ 253 255 public int getClientId() … … 259 261 /** 260 262 Get the external id of the <code>Client</code> application in use. 263 @return A java.lang.String object. 261 264 @see #getClientId() 262 265 */ … … 589 592 /** 590 593 Log in as the owner of the specified item. 594 @param item Login as the owner of this Item. Null is not allowed 595 @param comment A comment that will be placed in the {@link Session} information 596 @return A {@link net.sf.basedb.core.SessionControl} for the created session. 591 597 @see #impersonateLogin(int, String) 592 598 */ … … 728 734 Get the id of the logged in user, or 0 if no user is logged in. 729 735 Use {@link User#getById(DbControl, int)} to get the {@link User} object. 736 @return User id as an int. 730 737 @see #login(String, String, String, boolean) 731 738 @see #logout() … … 808 815 Get the id of the active project, or 0 if no project is active. 809 816 Use {@link Project#getById(DbControl, int)} to get the {@link Project} object. 817 @return An int. 810 818 @see #setActiveProject(Project) 811 819 */ … … 1088 1096 Get the id of all item keys where the logged in user has the 1089 1097 requested permission. 1098 @param permission Requested permissions. 1090 1099 @return A <code>Set</code> containing item key id:s 1091 1100 */ … … 1107 1116 Get the id of all project keys where the logged in user has the 1108 1117 requested permission. 1118 @param permission The requested permissions 1109 1119 @return A <code>Set</code> containing project key id:s 1110 1120 */ … … 1134 1144 /** 1135 1145 Same as: <code>getCurrentContext(item, "", defaultContext)</code>. 1146 @param item Type of item for which current context should be returned. 1147 @param defaultContext A default context to copy values from if a new context 1148 must be created 1149 @return A {@link net.sf.basedb.core.ItemContext} object. 1136 1150 @see #getCurrentContext(Item, String, ItemContext) 1137 1151 */ … … 1150 1164 1151 1165 @param item The type of item to get the context for 1166 @param subContext Current sub context. 1152 1167 @param defaultContext A default context to copy values from if a new context 1153 must be created 1168 must be created. 1169 @return A {@link net.sf.basedb.core.ItemContext} object. 1154 1170 @throws InvalidDataException If the item is null 1155 1171 @throws BaseException If there is another error … … 1255 1271 @param name The name of the context 1256 1272 @param overwrite If TRUE, an existing context with the same name is 1257 overwritte d, otherwise an exception is thrown1273 overwritten, otherwise an exception is thrown 1258 1274 @param isPublic If the saved context should be visible to everyone 1259 1275 or not (requires {@link Permission#SHARE_TO_EVERYONE} permission) 1276 @return Saved context's id as an int. 1260 1277 @throws PermissionDeniedException If no user is logged in, 1261 1278 or if the logged in user is a multi-user account or if the <code>isPublic</code> … … 1400 1417 Get a list with the names of all named contexts for a given item and 1401 1418 subcontext. 1419 @param item Item for which named contexts should be returned 1420 @param subContext Certain sub context to return contexts for. 1402 1421 @return A enumeration containing the id and names, the list will be empty if no user 1403 1422 is logged in or if no names contexts exists for the specified item type/subcontext -
trunk/src/core/net/sf/basedb/core/Setting.java
r3679 r4034 111 111 /** 112 112 Get the name of this setting. 113 @return A String object. 113 114 */ 114 115 public String getName() … … 118 119 /** 119 120 Set the name for this setting. 121 @param name Name to be set. 120 122 @throws PermissionDeniedException If the logged in user doesn't have 121 123 write permission … … 132 134 /** 133 135 Get the value of this setting. 136 @return A String object. 134 137 */ 135 138 public String getValue() … … 139 142 /** 140 143 Set the value for this setting. 144 @param value The string value to be set. Can not be longer then {@value #MAX_VALUE_LENGTH} 141 145 @throws PermissionDeniedException If the logged in user doesn't have 142 146 write permission -
trunk/src/core/net/sf/basedb/core/ShareableUtil.java
r3679 r4034 41 41 /** 42 42 Set the item key of a {@link ShareableData} object. 43 @param shareableData The data object to set the item key on. Null is not allowed. 44 @param itemKey Item key to be set. 43 45 */ 44 46 public static void setItemKey(ShareableData shareableData, ItemKey itemKey) … … 49 51 /** 50 52 Set the project key of a {@link ShareableData} object. 53 @param shareableData The data object to set project key to. Null is not allowed. 54 @param projectKey Project key to be set. 51 55 */ 52 56 public static void setProjectKey(ShareableData shareableData, ProjectKey projectKey) -
trunk/src/core/net/sf/basedb/core/UnsavedItemException.java
r3900 r4034 46 46 /** 47 47 Create a new <code>UnsavedItemException</code> object. 48 @param cause Throwable object that caused this exception. 48 49 */ 49 50 public UnsavedItemException(Throwable cause) … … 68 69 69 70 @param message The message to throw with the exception 71 @param cause A throwable exception that caused the exception. 70 72 */ 71 73 public UnsavedItemException(String message, Throwable cause) -
trunk/src/core/net/sf/basedb/core/User.java
r4023 r4034 124 124 Load the ID:s of all users that are direct members of 125 125 the specified groups. 126 @param dc DbControl used to access database. 126 127 @param groupIds The ID:s of the groups 127 128 @return The ID:s of all members … … 209 210 /** 210 211 Check if a login name already exists in the database 212 @param dc An open DbControl used to access the database. 211 213 @param login The login name to look for 212 214 @return TRUE if an user has the login. FALSE if the login is not in use. … … 229 231 /** 230 232 Check if an external ID already exists in the database 233 @param dc An open DbControl used to access the database. 231 234 @param externalId The externalID to look for 232 235 @return TRUE if an user has the external ID. FALSE if the externalID is not in use. … … 396 399 397 400 /** 398 Set the password. A null password is not allowed. 401 Set the password. 402 @param password Password to set. A null password is not allowed. 399 403 @throws PermissionDeniedException If the logged in user doesn't have 400 404 restricted_write permission … … 433 437 the user can't login. A null value indicates that the account will 434 438 never expire. 439 @return A {@link java.util.Date} object or null. 435 440 */ 436 441 public Date getExpirationDate() … … 441 446 Sets the expiration date of the account. A null value indicates that 442 447 the account will never expire. 443 448 449 @param expirationDate Date when the account should expire. 444 450 @throws PermissionDeniedException If the logged in user doesn't have 445 451 write permission … … 487 493 /** 488 494 Sets if the user account is multiuser account. 495 @param multiuserAccount Set to TRUE if it is, FALSE otherwise. 489 496 @throws PermissionDeniedException If the logged in user doesn't have 490 497 write permission … … 506 513 be used by external applications which need to synchronize data between 507 514 the BASE database and some external database. It is not used by the core. 515 @return A String object or null if not set. 508 516 */ 509 517 public String getExternalId() … … 513 521 /** 514 522 Set the external id for the user account. 523 @param externalId External id to be set, null is allowed. 515 524 @throws PermissionDeniedException If the logged in user doesn't have 516 525 write permission … … 533 542 /** 534 543 Get the login for the user account. 544 @return A String object. 535 545 */ 536 546 public String getLogin() … … 540 550 /** 541 551 Set the login for the user account. 552 @param login Login name to set. Null is not allowed. 542 553 @throws PermissionDeniedException If the logged in user doesn't have 543 554 write permission … … 559 570 /** 560 571 Get the organisation this user works for, or null if unknown. 572 @return A String object or null if not set. 561 573 */ 562 574 public String getOrganisation() … … 566 578 /** 567 579 Set the organisation this user works for, or null if unknown. 580 @param organisation Some kind of name or description of 581 the organisation to associate with the user. Not longer then {@value #MAX_ORGANISATION_LENGTH} 568 582 @throws PermissionDeniedException If the logged in user doesn't have 569 583 restricted write permission … … 585 599 /** 586 600 Get the address for the user, or null if unknown. 601 @return A String object, or null if not set. 587 602 */ 588 603 public String getAddress() … … 592 607 /** 593 608 Set the address for the user, or null if unknown. 609 @param address Address to be set. 594 610 @throws PermissionDeniedException If the logged in user doesn't have 595 611 write permission … … 611 627 /** 612 628 Get the phone number to the user, or null if unknown. 629 @return A String object or null if not set. 613 630 */ 614 631 public String getPhone() … … 618 635 /** 619 636 Set the phone number to the user, or null if unknown. 637 @param phone Phone number to set. 620 638 @throws PermissionDeniedException If the logged in user doesn't have 621 639 write permission … … 637 655 /** 638 656 Get the fax number to the user, or null if unknown. 657 @return A String object or null if not set. 639 658 */ 640 659 public String getFax() … … 644 663 /** 645 664 Set the fax number to the user, or null if unknown. 665 @param fax Fax number to be set. 646 666 @throws PermissionDeniedException If the logged in user doesn't have 647 667 write permission … … 662 682 public static final int MAX_EMAIL_LENGTH = UserData.MAX_EMAIL_LENGTH; 663 683 /** 664 Get the email address to the user, or null if unknown. 684 Get the email address to the user. 685 @return A java.lang.String object, or null if unknown. 665 686 */ 666 687 public String getEmail() … … 670 691 /** 671 692 Set the email address to the user, or null if unknown. 693 @param email Email to be set, null is allowed. 672 694 @throws PermissionDeniedException If the logged in user doesn't have 673 695 write permission … … 688 710 public static final int MAX_URL_LENGTH = UserData.MAX_URL_LENGTH; 689 711 /** 690 Get the URL to the user's homepage, or null if unknown. 712 Get the URL to the user's homepage. 713 @return A String object, or null if unknown. 691 714 */ 692 715 public String getUrl() … … 696 719 /** 697 720 Set the URL to the user's homepage, or null if unknown. 721 @param url URL to set. The String can be at maximum {@value #MAX_URL_LENGTH}. 698 722 @throws PermissionDeniedException If the logged in user doesn't have 699 723 write permission … … 912 936 member. The query excludes roles that the logged in user doesn't have 913 937 permission to read. 914 938 @return a restricted {@link net.sf.basedb.core.ItemQuery}. 915 939 @see Role#getQuery() 916 940 */ … … 932 956 member. The query excludes groups that the logged in user doesn't have 933 957 permission to read. 934 958 @return A restricted {@link net.sf.basedb.core.ItemQuery}. 935 959 @see Group#getQuery() 936 960 */ … … 953 977 permission to read. The query doesn't include projects where this user is 954 978 the owner. 979 @return A restricted {@link net.sf.basedb.core.ItemQuery} 955 980 @see Project#getQuery() 956 981 */ -
trunk/src/core/net/sf/basedb/core/plugin/GuiContext.java
r3679 r4034 44 44 45 45 /** 46 @param item Item the context holds. 47 @param type Type of context, 48 shows if it is a list or single view. 46 49 47 50 */ -
trunk/src/core/net/sf/basedb/core/query/Hql.java
r3900 r4034 71 71 72 72 @param entity The entity 73 @return an object implementing {@link net.sf.basedb.core.query.Expression} 73 74 @throws InvalidDataException If the entity is null or isn't saved to the database 74 75 @see #entity(BasicData) … … 436 437 437 438 /** 439 @param restrictionString A restriction as a string. 440 Null or empty string is not allowed. 441 @param prefix Prefix used in the restriction string. 442 The prefix will be replaced in the returned object by the query's root-alias. 443 Null is allowed. 444 @return a Restriction to use in a query. 438 445 @since 2.5 439 446 */ … … 446 453 447 454 /** 455 @param exprString An expression as a string. 456 Null or empty string is not allowed. 457 @param prefix Prefix used in the expression string. 458 The prefix will be replaced in the returned object by the query's root-alias. 459 Null is allowed. 460 @return an Object implementing {@link net.sf.basedb.core.query.Expression}. 448 461 @since 2.5 449 462 */ -
trunk/src/core/net/sf/basedb/core/query/QuerySection.java
r2290 r4034 88 88 /** 89 89 If the current database supports column aliases in that part of the query. 90 @param engine 91 @return TRUE if column alias is supported, FALSE otherwise. 90 92 */ 91 93 public abstract boolean supportsColumnAlias(DbEngine engine); -
trunk/src/core/net/sf/basedb/util/FileUtil.java
r3832 r4034 200 200 201 201 /** 202 Get the complete tree of subdirectories from a given directory. 202 Get the complete tree of sub-directories from a given directory. 203 @param dc DbControl used to access the database. 203 204 @param directory The directory to start with 204 205 @return A <code>Map</code> which maps a directory to a 205 list of it's sub directories. Directories without subdirectories206 list of it's sub-directories. Directories without sub-directories 206 207 are not included in the map. 207 208 @throws InvalidDataException If the directory is null -
trunk/src/core/net/sf/basedb/util/InputStreamSplitter.java
r3675 r4034 81 81 Create a new input stream splitter. Skipped bytes are not copied 82 82 and the remainder of the stream is not copied if closed. 83 @param in The input stream to read from 84 @param copyTo The output streams to copy data to 83 @param in The input stream to read from. Null is not allowed 84 @param copySkipped TRUE if skipped bytes should be copied, FALSE otherwise 85 @param readToEnd If the remainder of the input stream should be copied 86 if it is closed before the end 87 @param copyTo The output streams to copy data to. Null is not allowed 85 88 @since 2.4 86 89 */ -
trunk/src/core/net/sf/basedb/util/ShareableUtil.java
r3679 r4034 79 79 Gets a list with the projects, groups and users(in that order) that 80 80 an item is shared to. 81 @param item The item that is shared 81 @param dc DbControl to use when accessing the database. 82 @param item The item that is shared 82 83 @return A <code>List</code> with items implementing {@link net.sf.basedb.core.Nameable} 83 84 @since 2.4 -
trunk/src/core/net/sf/basedb/util/Values.java
r3973 r4034 441 441 is specified, the {@link Formatter#format(Object)} method is used, otherwise 442 442 {@link Object#toString()}. 443 @param values Collection to be converted. 444 @param formatter 445 @return A String array 443 446 */ 444 447 public static final <T> String[] toStrings(Collection<T> values, Formatter<T> formatter) … … 470 473 @param value The string to trim 471 474 @param maxLength 475 @return A string or null if value is null. 472 476 */ 473 477 public static final String trimString(String value, int maxLength) … … 712 716 @param fBytes The string containing the value to parse 713 717 @param defaultValue This value is returned if the string cannot be parsed 718 @return Bytes as a Long object. 714 719 */ 715 720 public static final Long parseBytes(String fBytes, Long defaultValue) … … 845 850 Trim a string to a maximum length. If the input string is longer than 846 851 maxLength the string is cut of at the end and ... is added to it. 852 @param s String to be trimmed. 853 @param maxLength The maximum length the string is allowed to be. 854 @return A string or null if s is null. 847 855 */ 848 856 public static String trim(String s, int maxLength) -
trunk/src/core/net/sf/basedb/util/jep/ExtraValueFunction.java
r4017 r4034 70 70 to dynamically evaluate expressions. It should only be used for converting 71 71 JEP formulas to {@link Expression}:s. 72 @param dc DbControl to use when accessing the database 73 @param bas Bioassay set for this extra value function. 72 74 @see Jep#formulaToExpression(String, JepFunction[]) 73 75 */ … … 81 83 Create a new instance of this function which can be used 82 84 to dynamically evaluate expressions. 85 @param dc DbControl to use when accessing the database 83 86 @param extraToIndex An map from extra value ID to column indexes in 84 87 the SqlResult -
trunk/src/core/net/sf/basedb/util/jep/InReporterListFunction.java
r3675 r4034 64 64 to dynamically evaluate expressions. It should only be used for converting 65 65 JEP formulas to {@link Restriction}:s. 66 @param dc DbControl used to access database. 66 67 @see Jep#formulaToRestriction(String, JepFunction[]) 67 68 */ -
trunk/src/core/net/sf/basedb/util/jep/ScoreFunction.java
r4023 r4034 67 67 to dynamically evaluate expressions. It should only be used for converting 68 68 JEP formulas to {@link Expression}:s. 69 @param dc DbControl to use when this ScoreFunction accessing the database. 69 70 @see Jep#formulaToExpression(String, JepFunction[]) 70 71 */ … … 77 78 Create a new instance of this function which can be used 78 79 to dynamically evaluate expressions. 80 @param dc DbControl to use when this ScoreFunction accessing the database. 79 81 @param scoreIndex The column index in the SqlResult that holds the score value 80 82 @see #setSqlResult(SqlResult) -
trunk/src/core/net/sf/basedb/util/overview/Failure.java
r3675 r4034 136 136 /** 137 137 Add a suggested fix to this failure. 138 @param fix The fix to add. 138 139 */ 139 140 public void addFix(Fix fix) -
trunk/src/info/net/sf/basedb/info/ToTransferable.java
r3974 r4034 2 2 $Id$ 3 3 4 Copyright (C) Authors contributing to this file.4 Copyright (C) 2007 Nicklas Nordborg 5 5 6 6 This file is part of BASE - BioArray Software Environment. … … 31 31 @author nicklas 32 32 @version 2.5 33 @param <T> A kind of object that implements {@link net.sf.basedb.info.ToTransferable} 33 34 @base.modified $Date$ 34 35 */ … … 39 40 The method should return the same object that is 40 41 passed in as an argument. 42 @param to The transferable object to use 43 @return The transferable object with values set. 41 44 */ 42 45 public T toTransferable(T to); -
trunk/src/install/net/sf/basedb/install/Webclient.java
r3900 r4034 63 63 The user must have enough permissions to create a new client 64 64 application and share it to everyone. 65 @param args a String array with user account and password. 65 66 */ 66 67 public static void main(String[] args) -
trunk/src/plugins/core/net/sf/basedb/plugins/LowessNormalization.java
r3887 r4034 310 310 @param iterations 311 311 @param blockGroupSize 312 @param progress Progress reporter used by the caller to keep track of the progress. Null is allowed 312 313 @return The normalized bioassayset 313 314 @since 2.5
Note: See TracChangeset
for help on using the changeset viewer.