READ_WRITE,
/** The library is ready, but read-only. */
READ_ONLY,
- /** The library is invalid (not correctly set up). */
- INVALID,
/** You are not allowed to access this library. */
UNAUTHORIZED,
- /** The library is currently out of commission. */
+ /** The library is invalid, and will never work as is. */
+ INVALID,
+ /** The library is currently out of commission, but may work later. */
UNAVAILABLE;
/**
*
* @return the next luid
*/
- protected abstract int getNextId();
+ protected abstract String getNextId();
/**
* Delete the target {@link Story}.
pg.setName("Saving story");
if (luid == null || luid.isEmpty()) {
- meta.setLuid(String.format("%03d", getNextId()));
+ meta.setLuid(getNextId());
} else {
meta.setLuid(luid);
}