|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.deltava.beans.fleet.LibraryEntry
org.deltava.beans.fleet.FleetEntry
org.deltava.beans.fleet.Manual
public class Manual
A bean to store information about Manuals.
| Field Summary |
|---|
| Fields inherited from class org.deltava.beans.fleet.LibraryEntry |
|---|
AUTH_ONLY, PUBLIC, SECURITY_LEVELS, STAFF_ONLY |
| Constructor Summary | |
|---|---|
Manual(String fName)
Creates a new Manual bean. |
|
| Method Summary | |
|---|---|
void |
addCertification(String cert)
Adds a Flight Academy Certification to this Manual. |
void |
addCertifications(Collection<String> certs)
Clears the list of Flight Academy Certifications and replaces it with a new list. |
Collection<String> |
getCertifications()
Returns all Certifications linked to this Manual. |
boolean |
getShowOnRegister()
Returns whether the Manual should be shown on the Registration page. |
String |
getVersion()
Returns this manual's version number. |
void |
setShowOnRegister(boolean show)
Marks this Manual as visible on the Registration page. |
void |
setVersion(int major)
Sets the manual version number. |
void |
setVersion(int major,
int minor,
int subVersion)
Updates the version number of this resource. |
| Methods inherited from class org.deltava.beans.fleet.FleetEntry |
|---|
getLastModified, getMajorVersion, getMinorVersion, getSubVersion, setLastModified |
| Methods inherited from class org.deltava.beans.fleet.LibraryEntry |
|---|
cacheKey, compareTo, file, getDescription, getDownloadCount, getFileName, getFullName, getName, getRowClassName, getSecurity, getSize, hashCode, setDescription, setDownloadCount, setName, setSecurity, setSize, validateParameter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Manual(String fName)
fName - the file name of the manual| Method Detail |
|---|
public String getVersion()
getVersion in class FleetEntryFleetEntry.getVersion()public boolean getShowOnRegister()
public Collection<String> getCertifications()
addCertification(String),
addCertifications(Collection)public void addCertification(String cert)
cert - the Certification nameaddCertifications(Collection),
getCertifications()public void addCertifications(Collection<String> certs)
certs - a Collection of Certification namesaddCertification(String),
getCertifications()public void setShowOnRegister(boolean show)
show - TRUE if the manual should be displayed, otherwise FALSEgetShowOnRegister()public final void setVersion(int major)
major - the version number
public final void setVersion(int major,
int minor,
int subVersion)
FleetEntry
setVersion in class FleetEntrymajor - the major version numberminor - the minor version numbersubVersion - the sub-minor version numberFleetEntry.getMajorVersion(),
FleetEntry.getMinorVersion(),
FleetEntry.getSubVersion()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||